#ifndef DATAFILESPAGE_H #define DATAFILESPAGE_H #include #include class QTableWidget; class QTableView; class QComboBox; class QStandardItemModel; class QItemSelection; class QItemSelectionModel; class QStringListModel; class DataFilesPage : public QWidget { Q_OBJECT public: DataFilesPage(QWidget *parent = 0); QComboBox *mProfileComboBox; QStringListModel *mProfileModel; public slots: void masterSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected); void setCheckstate(QModelIndex index); void resizeRows(); private: QTableWidget *mMastersWidget; QTableView *mPluginsTable; QStandardItemModel *mDataFilesModel; QStandardItemModel *mPluginsModel; QItemSelectionModel *mPluginsSelectModel; void setupDataFiles(); void addPlugins(const QModelIndex &index); void removePlugins(const QModelIndex &index); }; #endif