diff options
author | Ken Moore <ken@pcbsd.org> | 2015-02-18 15:24:31 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-02-18 15:24:31 -0500 |
commit | 0ab15db734b5c45bdefa960c54209d0d7472ec50 (patch) | |
tree | a95a0035307359a883d9979203f34dcbe9df5e90 /lumina-search/ConfigUI.h | |
parent | Update the Lumina-default theme file a bit more. (diff) | |
download | lumina-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.h | 37 |
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 |