X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=blobdiff_plain;f=src%2Fapps%2FFileFinder%2FGUI%2Fgui.h;h=e4c0c8e885c2a7cda45c9058ce69f47ab66a7309;hb=7eca3433b1db8f2bcc61fa8db60bc7546f5cb578;hp=809dab1f39449499fa7d1f727add7f9c5a0fad53;hpb=5fe70cdf799cf7063df26fea9036c560cfa20ff4;p=evaf diff --git a/src/apps/FileFinder/GUI/gui.h b/src/apps/FileFinder/GUI/gui.h index 809dab1..e4c0c8e 100644 --- a/src/apps/FileFinder/GUI/gui.h +++ b/src/apps/FileFinder/GUI/gui.h @@ -33,6 +33,7 @@ class QComboBox; class QPushButton; class QListWidget; class QAction; +class QFileSystemModel; namespace eVaf { namespace SdiWindow { @@ -113,6 +114,9 @@ private slots: private: // Members + /// Max number of items in each field that we save + static int const MaxHistoryItems; + /// Flag indicating that the module is ready bool mReady; @@ -126,6 +130,7 @@ private: // Members /// Widgets on the screen Internal::MainWidget * wMain; QComboBox * wDirectory; + QPushButton * wBrowse; QCheckBox * wRecursive; QComboBox * wIncludeNames; QComboBox * wExcludeNames; @@ -134,6 +139,9 @@ private: // Members QListWidget * wResults; QPushButton * wFind; + /// File system auto-completion model for the directory field + QFileSystemModel * mDirModel; + private: // Methods