• Main Page
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

C:/Users/David/Documents/QtProjects/visualsc/scformview/stateselectionwindow.h

Go to the documentation of this file.
00001 #ifndef STATESELECTIONWINDOW_H
00002 #define STATESELECTIONWINDOW_H
00003 
00004 
00005 #include <QMainWindow>
00006 class SCDataModel;
00007 class SCState;
00008 class QVBoxLayout;
00009 class QHBoxLayout;
00010 class QLabel;
00011 class QPushButton;
00012 
00013 
00014 class QTreeWidget;
00015 class CustomTreeWidgetItem;
00016 class QTreeWidgetItem;
00017 #include <QList>
00018 
00024 class StateSelectionWindow  : public QMainWindow
00025 {
00026     Q_OBJECT
00027 
00028 public:
00029     StateSelectionWindow(QWidget *parent = 0, SCDataModel * dm=0);
00030 
00031 signals:
00032     void stateSelected(SCState *state, QString name);
00033 
00034 private: // methods
00035 
00036     void loadTree ( CustomTreeWidgetItem * parentItem , QList<SCState*> & states);
00037 
00038 private slots:
00039 
00040     void handleTreeViewItemClicked(QTreeWidgetItem*,int);
00041     void handleDoneButtonPushed();
00042 
00043 private : //data
00044 
00045     SCDataModel * _dm;
00046     QTreeWidget * _targetStateSelectionTree;
00047     QVBoxLayout * _baseLayout;
00048     QHBoxLayout * _row0;
00049     QHBoxLayout * _row1;
00050     QHBoxLayout * _row2;
00051     QLabel      * _TargetLabelLabel;
00052     QLabel      * _TargetLabel;
00053     QWidget     * _centralWidget;
00054     QPushButton * _doneButton;
00055     QObject     * _currentlySelected;
00056 
00057 };
00058 
00059 #endif // STATESELECTIONWINDOW_H

Generated on Mon Sep 26 2011 06:59:25 for visualsc by  doxygen 1.7.1