example/DemoGUI/FriendView.h
author cgandhi
Thu, 05 Aug 2010 16:35:33 +0530
changeset 16 b78fa4cdbf2b
permissions -rw-r--r--
pushing the demo application
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     1
#ifndef FRIENDVIEW_H
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     2
#define FRIENDVIEW_H
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     3
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     4
#include <qmainwindow.h>
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     5
#include <WidgetConstants.h>
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     6
#include "customListwidget.h"
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     7
#include "GridView.h"
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     8
#include <qtablewidget.h>
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     9
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    10
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    11
class FriendView : public QMainWindow
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    12
{
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    13
    Q_OBJECT
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    14
public:
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    15
    FriendView(QString aHeadName);
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    16
    void SetupUI();
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    17
    ~FriendView();
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    18
private:
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    19
    QString iHeadName;
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    20
private slots:
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    21
    void Navigated2OtherTab(int tabIndex);
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    22
private:
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    23
    QMainWindow *iMainwindow;
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    24
    QTabWidget* TabWidget;
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    25
    GridView* AlbumView;
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    26
    CustomListWidget* iPostsListWidget;
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    27
};
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    28
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    29
#endif // FRIENDVIEW_H