aboutsummaryrefslogtreecommitdiff
path: root/lumina-search/ConfigUI.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-02-18 15:24:31 -0500
committerKen Moore <ken@pcbsd.org>2015-02-18 15:24:31 -0500
commit0ab15db734b5c45bdefa960c54209d0d7472ec50 (patch)
treea95a0035307359a883d9979203f34dcbe9df5e90 /lumina-search/ConfigUI.h
parentUpdate the Lumina-default theme file a bit more. (diff)
downloadlumina-0ab15db734b5c45bdefa960c54209d0d7472ec50.tar.gz
lumina-0ab15db734b5c45bdefa960c54209d0d7472ec50.tar.bz2
lumina-0ab15db734b5c45bdefa960c54209d0d7472ec50.zip
Add a new configuration dialog to lumina-search so that users can specify/save the starting point for file searches, as well as setup any directories to exclude from the search routine.
Diffstat (limited to 'lumina-search/ConfigUI.h')
-rw-r--r--lumina-search/ConfigUI.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/lumina-search/ConfigUI.h b/lumina-search/ConfigUI.h
new file mode 100644
index 00000000..0ee385c5
--- /dev/null
+++ b/lumina-search/ConfigUI.h
@@ -0,0 +1,37 @@
+// Copyright (c) 2015, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#ifndef _LUMINA_SEARCH_CONFIGURATION_DIALOG_H
+#define _LUMINA_SEARCH_CONFIGURATION_DIALOG_H
+
+#include <QDialog>
+
+namespace Ui{
+ class ConfigUI;
+};
+
+class ConfigUI : public QDialog{
+ Q_OBJECT
+public:
+ ConfigUI(QWidget *parent = 0);
+ ~ConfigUI();
+
+ void loadInitialValues(QString startdir, QStringList skipdirs);
+
+ QString newStartDir;
+ QStringList newSkipDirs;
+
+private:
+ Ui::ConfigUI *ui;
+
+private slots:
+ void on_tool_getStartDir_clicked();
+ void on_tool_adddirs_clicked();
+ void on_tool_rmdir_clicked();
+ void on_list_excludes_itemSelectionChanged();
+ void on_buttonBox_accepted();
+ void on_buttonBox_rejected();
+};
+
+#endif
bgstack15