blob: bc405e9ea5c4071bb4324d319390fa673adba7fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef FSWIDGET_H
#define FSWIDGET_H
#include <QWidget>
class QComboBox;
class QTreeView;
class FSWidget : public QWidget {
Q_OBJECT
public:
explicit FSWidget(QWidget *parent = nullptr);
~FSWidget();
public slots:
void readSettings();
void writeSettings();
private slots:
void insertItem(QComboBox *cb, const QString &text);
void removeItem(QComboBox *cb);
private:
void setupWidget();
QComboBox *mDirCB;
QComboBox *mFilterCB;
QTreeView *mFileView;
};
#endif // FSWIDGET_H
|