forked from qt-creator/qt-creator
Display progress indicator on navigation view...
...if parsing takes longer. Change-Id: Ib311c031ae0af72b2f923d93578099687d9af91a Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QAction;
|
||||
class QMenu;
|
||||
class QTimer;
|
||||
class QToolButton;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
@@ -33,6 +34,10 @@ namespace Core {
|
||||
class IContext;
|
||||
}
|
||||
|
||||
namespace Utils {
|
||||
class ProgressIndicator;
|
||||
}
|
||||
|
||||
namespace Autotest {
|
||||
namespace Internal {
|
||||
|
||||
@@ -60,6 +65,8 @@ private slots:
|
||||
void onRunSelectedTriggered();
|
||||
void onSortClicked();
|
||||
void onFilterMenuTriggered(QAction *action);
|
||||
void onParsingStarted();
|
||||
void onParsingFinished();
|
||||
|
||||
private:
|
||||
void initializeFilterMenu();
|
||||
@@ -71,7 +78,8 @@ private:
|
||||
QToolButton *m_filterButton;
|
||||
QMenu *m_filterMenu;
|
||||
bool m_sortAlphabetically;
|
||||
|
||||
Utils::ProgressIndicator *m_progressIndicator;
|
||||
QTimer *m_progressTimer;
|
||||
};
|
||||
|
||||
class TestNavigationWidgetFactory : public Core::INavigationWidgetFactory
|
||||
|
||||
Reference in New Issue
Block a user