]> vaikene.ee Git - evaf/blobdiff - src/apps/FileFinder/GUI/gui.h
* Added auto-completor to the directory field
[evaf] / src / apps / FileFinder / GUI / gui.h
index 809dab1f39449499fa7d1f727add7f9c5a0fad53..e4c0c8e885c2a7cda45c9058ce69f47ab66a7309 100644 (file)
@@ -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