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

scdviewer.h

Go to the documentation of this file.
00001 #ifndef PROJECTTREE_H
00002 #define PROJECTTREE_H
00003 
00004 #include <QTableView>
00005 
00009 class DataPreView : public QTableView
00010 {
00011 public:
00012     DataPreView(QWidget *parent = 0);
00013 };
00014 
00015 #include <QWidget>
00016 
00017 class SqlQueryModel;
00018 class ProjectTreeView;
00019 class QSqlQuery;
00020 class QCheckBox;
00021 class QSplitter;
00022 
00066 class ProjectTree : public QWidget
00067 {
00068     Q_OBJECT
00069 public:
00070     ProjectTree(QWidget *parent = 0);
00071     ~ProjectTree(){};
00072 
00073     void expandAll();
00074 
00075 public slots:
00076     void pipe_queryResult(QSqlQuery* result);
00077 
00078 private slots:
00079     void onTreeViewSelectionChange(const QItemSelection selection, const QItemSelection) const;
00080     void onEnableDescriptionsToggle(const bool &enable);
00081     void onEnablePreviewToggle(const bool &enable);
00082     void onGlobalTimeConstraintChange();
00083 
00084 private:
00085     bool previewEnabled;
00086         //Models
00087     SqlQueryModel *previewModel;
00088         //Views
00089     ProjectTreeView *treeView;
00090     DataPreView *dataView;
00091         //Custom
00092     QCheckBox *enableDataPreview;
00093     QCheckBox *enableDescriptions;
00094     QSplitter *splitter;
00095 };
00096 
00097 #endif // PROJECTTREE_H

Generated on Tue Aug 24 2010 15:58:55 for Smartlet by  doxygen 1.7.1