diff options
author | Arno <arno@disconnect.de> | 2018-03-30 22:25:08 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-03-30 22:25:08 +0200 |
commit | 0b4639bd7267cc0c2641b0b75a3b72e9ae765e5f (patch) | |
tree | 5cf0138dbe1211b589ff116f445bfcaf5109dc88 /fswidget.h | |
parent | c0f459c0afdca4fc4c5327cda63796b3c84db961 (diff) | |
download | SheMov-0b4639bd7267cc0c2641b0b75a3b72e9ae765e5f.tar.gz SheMov-0b4639bd7267cc0c2641b0b75a3b72e9ae765e5f.tar.bz2 SheMov-0b4639bd7267cc0c2641b0b75a3b72e9ae765e5f.zip |
Actually make FSWidget show some data
Not pretty, but we're getting there.
Diffstat (limited to 'fswidget.h')
-rw-r--r-- | fswidget.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,6 +5,8 @@ class QComboBox; class QTreeView; +class QStandardItemModel; +class QSortFilterProxyModel; class FSWidget : public QWidget { Q_OBJECT @@ -19,12 +21,15 @@ class FSWidget : public QWidget { private slots: void insertItem(QComboBox *cb, const QString &text); void removeItem(QComboBox *cb); + void gatherData(const QString &curDir); private: void setupWidget(); QComboBox *mDirCB; QComboBox *mFilterCB; QTreeView *mFileView; + QStandardItemModel *mModel; + QSortFilterProxyModel *mProxy; }; #endif // FSWIDGET_H |