summaryrefslogtreecommitdiffstats
path: root/searchdialog.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-11-24 07:54:01 +0100
committerArno <arno@disconnect.de>2018-11-24 07:54:01 +0100
commit838f8d1760b8c7f72680ab0c57fd813c29940b86 (patch)
treece656bc192a08d8f1b2b622a5096fec879e6fbcd /searchdialog.h
parent935dae7c9de9e5d2df49f406f2acdc109df8e51f (diff)
downloadSheMov-838f8d1760b8c7f72680ab0c57fd813c29940b86.tar.gz
SheMov-838f8d1760b8c7f72680ab0c57fd813c29940b86.tar.bz2
SheMov-838f8d1760b8c7f72680ab0c57fd813c29940b86.zip
Resurrect search dialog
Add it to the global menu and make it accessible by CTRL+f when the focus is on the main window.
Diffstat (limited to 'searchdialog.h')
-rw-r--r--searchdialog.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/searchdialog.h b/searchdialog.h
index b5106fb..c2f8047 100644
--- a/searchdialog.h
+++ b/searchdialog.h
@@ -16,6 +16,7 @@ class QPushButton;
class SmTreeView;
class SmTreeModel;
class SmTreeItem;
+class QTreeView;
class QSortFilterProxyModel;
class SearchDialog : public QDialog {
@@ -31,20 +32,16 @@ class SearchDialog : public QDialog {
private slots:
void search();
- void disableSearch();
- void searchDoubleclicked();
+ void writeSettings();
+ void readSettings();
private:
void appendChild(QVariant id, QVariant subject, QVariant name, QVariant sub, SmTreeItem *parent);
void appendEmpty(SmTreeItem *parent);
QLineEdit *mSearch;
- QCheckBox *mExFilenames;
- QCheckBox *mExMeta;
- SmTreeView *mResult;
+ QTreeView *mResult;
SmTreeModel *mModel;
QSortFilterProxyModel *mProxy;
- QPushButton *mDoSearch;
- QPushButton *mClose;
};
#endif // SEARCHDIALOG_H