aboutsummaryrefslogtreecommitdiff
path: root/lumina-search/MainUI.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-04-27 10:33:15 -0400
committerKen Moore <ken@pcbsd.org>2015-04-27 10:33:15 -0400
commitf4943623c0af7e28f22c1da09bbb31ee593ea00a (patch)
tree14dd17ef4e9c77c0892b7c68009cb557c6881012 /lumina-search/MainUI.h
parentAdd support for system-defined default non-mime applications in the luminaDes... (diff)
downloadlumina-f4943623c0af7e28f22c1da09bbb31ee593ea00a.tar.gz
lumina-f4943623c0af7e28f22c1da09bbb31ee593ea00a.tar.bz2
lumina-f4943623c0af7e28f22c1da09bbb31ee593ea00a.zip
Add new variability for lumina-search:
1) New CLI Usage Flags: lumina-search [-no-excludes] [-dir [<path>]] [-search <term>] These flags allow for a ton of variability with the utility: such as intantly setting the search dir/parameters, or starting a search for an app/dir/file right away. 2) Also put a new checkbox on the config UI to determine whether to save setttings as the new defaults or to use them temporarily. This allows for temporary setting of the search dir/excludes. 3) Make sure to list the current search dir and whether there are any excluded dirs ("Smart" mode) within the status bar when a file search is selected.
Diffstat (limited to 'lumina-search/MainUI.h')
-rw-r--r--lumina-search/MainUI.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lumina-search/MainUI.h b/lumina-search/MainUI.h
index cd4a1db7..0a9f4acb 100644
--- a/lumina-search/MainUI.h
+++ b/lumina-search/MainUI.h
@@ -29,8 +29,13 @@ public:
MainUI();
~MainUI();
+ void disableExcludes();
+ void setSearchDirectory(QString path);
+ void setSearchTerm(QString text);
+
public slots:
void setupIcons();
+ void startSearch(); //emit the proper signal for the worker
private:
Ui::MainUI *ui;
@@ -39,6 +44,8 @@ private:
Worker *searcher;
QSettings *settings;
+ void updateDefaultStatusTip();
+
private slots:
//Button Slots
void closeApplication(){
@@ -52,7 +59,7 @@ private slots:
void searchChanged(); //for active searching while typing
//Worker Interaction
- void startSearch(); //emit the proper signal for the worker
+ //void startSearch(); //Moved to a public slot
void foundSearchItem(QString path); //To get the worker's results
void stopSearch();
void searchMessage(QString);
bgstack15