#ifndef DATAFILESPAGE_H #define DATAFILESPAGE_H #include #include #include "combobox.hpp" class QTableWidget; class QTableView; class ComboBox; class QStandardItemModel; class QItemSelection; class QItemSelectionModel; class QStringListModel; class DataFilesPage : public QWidget { Q_OBJECT public: DataFilesPage(QWidget *parent = 0); ComboBox *mProfileComboBox; QStringListModel *mProfileModel; const QStringList checkedPlugins(); void writeConfig(); public slots: void masterSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected); void setCheckstate(QModelIndex index); void resizeRows(); <<<<<<< HEAD void profileChanged(const QString ¤t, const QString &previous); ======= void profileChanged(const QString &profile); >>>>>>> 766e3f6... Added combobox slot for changing the profile private: QTableWidget *mMastersWidget; QTableView *mPluginsTable; QStandardItemModel *mDataFilesModel; QStandardItemModel *mPluginsModel; QItemSelectionModel *mPluginsSelectModel; void setupDataFiles(); void addPlugins(const QModelIndex &index); void removePlugins(const QModelIndex &index); void uncheckPlugins(); }; #endif