aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/helpwindow.h
diff options
context:
space:
mode:
authorGravatar Fabio Bas2010-09-19 16:37:19 +0000
committerGravatar Fabio Bas2010-09-19 16:37:19 +0000
commitc4d955d4020712843ce724625f9bf49dde57d218 (patch)
tree8cb5093869df206385b3f19cc4a3fad448b87d6e /src/modules/help/helpwindow.h
parentremoved logviewer progress dialog; added inline progressbar; fixes #968 (diff)
downloadKVIrc-c4d955d4020712843ce724625f9bf49dde57d218.tar.gz
KVIrc-c4d955d4020712843ce724625f9bf49dde57d218.tar.bz2
KVIrc-c4d955d4020712843ce724625f9bf49dde57d218.zip
module help: removed modal progress dialog, implemented inline progress bar
module logviewer: reworked a bit the progressbar git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5022 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/help/helpwindow.h')
-rw-r--r--src/modules/help/helpwindow.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/modules/help/helpwindow.h b/src/modules/help/helpwindow.h
index 2bcad355a..38fd895a5 100644
--- a/src/modules/help/helpwindow.h
+++ b/src/modules/help/helpwindow.h
@@ -32,6 +32,8 @@
#include <QTabWidget>
#include <QLineEdit>
+class QProgressBar;
+class QPushButton;
class QTextBrowser;
class KviHelpWidget;
@@ -47,6 +49,9 @@ protected:
QTabWidget * m_pTabWidget;
KviTalVBox * m_pIndexTab;
KviTalVBox * m_pSearchTab;
+ KviTalHBox * m_pBottomLayout;
+ QPushButton * m_pCancelButton;
+ QProgressBar * m_pProgressBar;
KviTalListWidget* m_pIndexListWidget;
QLineEdit * m_pIndexSearch;
@@ -54,6 +59,7 @@ protected:
QStringList m_terms;
KviTalListWidget* m_pResultBox;
QLineEdit * m_pTermsEdit;
+ QPushButton * m_pBtnRefreshIndex;
public:
KviHelpWidget * helpWidget(){ return m_pHelpWidget; };
protected:
@@ -71,6 +77,11 @@ public slots:
void startSearch();
void searchSelected ( QListWidgetItem * );
void refreshIndex();
+
+ void initialSetup();
+ void indexingStart( int iNum );
+ void indexingProgress( int iNum );
+ void indexingEnd();
};
#endif //_KVI_HELPWINDOW_H_