summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qtoptionspage.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-01-17 19:15:51 +0100
committerKai Koehne <kai.koehne@nokia.com>2011-01-21 16:18:40 +0100
commit48bfd1c93414db0d39075b4ddbcfa2bc9650d91a (patch)
tree0efe2346fe142633d390566b79f6115dc61022f8 /src/plugins/qt4projectmanager/qtoptionspage.h
parent33703a4687acc95d41d3376ea97494f0aabff145 (diff)
downloadqt-creator-48bfd1c93414db0d39075b4ddbcfa2bc9650d91a.tar.gz
Qt4ProjectManager: Revamp of Qt Versions dialog
The versions dialog now uses Utils::DetailsWidget to show the general version information and (debugging) helper information. The 'Helper Tools' can now be expanded to see each tools status & recompile them selectively.
Diffstat (limited to 'src/plugins/qt4projectmanager/qtoptionspage.h')
-rw-r--r--src/plugins/qt4projectmanager/qtoptionspage.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/plugins/qt4projectmanager/qtoptionspage.h b/src/plugins/qt4projectmanager/qtoptionspage.h
index 7aa2e60961..cf65cc05c1 100644
--- a/src/plugins/qt4projectmanager/qtoptionspage.h
+++ b/src/plugins/qt4projectmanager/qtoptionspage.h
@@ -41,6 +41,8 @@
#include <QtGui/QWidget>
+#include "debugginghelperbuildtask.h"
+
QT_BEGIN_NAMESPACE
class QTreeWidgetItem;
QT_END_NAMESPACE
@@ -53,6 +55,8 @@ typedef QSharedPointer<QtVersion> QSharedPointerQtVersion;
namespace Internal {
namespace Ui {
class QtVersionManager;
+class QtVersionInfo;
+class DebuggingHelper;
}
class QtOptionsPageWidget : public QWidget
@@ -75,20 +79,13 @@ private:
QTreeWidgetItem *treeItemForIndex(int index) const;
QtVersion *currentVersion() const;
int currentIndex() const;
- void updateDebuggingHelperStateLabel(const QtVersion *version = 0);
- QIcon debuggerHelperIconForQtVersion(const QtVersion *version);
- QPixmap debuggerHelperPixmapForQtVersion(const QtVersion *version);
-
- const QPixmap m_debuggingHelperOkPixmap;
- const QPixmap m_debuggingHelperErrorPixmap;
- const QPixmap m_debuggingHelperIntermediatePixmap;
- const QIcon m_debuggingHelperOkIcon;
- const QIcon m_debuggingHelperErrorIcon;
- const QIcon m_debuggingHelperIntermediateIcon;
+
const QString m_specifyNameString;
const QString m_specifyPathString;
Internal::Ui::QtVersionManager *m_ui;
+ Internal::Ui::QtVersionInfo *m_versionUi;
+ Internal::Ui::DebuggingHelper *m_debuggingHelperUi;
QList<QSharedPointerQtVersion> m_versions; // Passed on to the helper build task, so, use QSharedPointerQtVersion
int m_defaultVersion;
@@ -100,7 +97,6 @@ private slots:
void makeMingwVisible(bool visible);
void makeMSVCVisible(bool visible);
void makeS60Visible(bool visible);
- void makeDebuggingHelperVisible(bool visible);
void onQtBrowsed();
void onMingwBrowsed();
void updateCurrentQtName();
@@ -110,8 +106,13 @@ private slots:
void updateCurrentS60SDKDirectory();
void updateCurrentGcceDirectory();
void updateCurrentSbsV2Directory();
+ void updateDebuggingHelperInfo(const QtVersion *version = 0);
void msvcVersionChanged();
- void buildDebuggingHelper();
+ void buildDebuggingHelper(DebuggingHelperBuildTask::Tools tools
+ = DebuggingHelperBuildTask::AllTools);
+ void buildGdbHelper();
+ void buildQmlDump();
+ void buildQmlObserver();
void slotShowDebuggingBuildLog();
void debuggingHelperBuildFinished(int qtVersionId, const QString &output);