diff options
author | Ulf Hermann <ulf.hermann@digia.com> | 2014-09-09 18:22:58 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@digia.com> | 2014-09-15 09:15:24 +0200 |
commit | 6d58de0bad462ab4599428bb18d64d0cb0c7828d (patch) | |
tree | 7c274b60e0d69640019df2a3f4ebf4a03d409540 /src/plugins/qmlprofiler/qmlprofilertool.h | |
parent | 7290c43da14c1f416c8de0654d8f335a3b271989 (diff) | |
download | qt-creator-6d58de0bad462ab4599428bb18d64d0cb0c7828d.tar.gz |
QmlProfiler: Allow preselection of events to be recorded
This allows us to reduce the amount of data we need to handle
if the user isn't interested in certain categories.
Task-number: QTBUG-41118
Change-Id: Ieaac12fb1dec29d6035642f433bc1a1d49e545c2
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertool.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertool.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertool.h b/src/plugins/qmlprofiler/qmlprofilertool.h index 9c87a53054..2ba237a477 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.h +++ b/src/plugins/qmlprofiler/qmlprofilertool.h @@ -32,6 +32,7 @@ #include <analyzerbase/ianalyzertool.h> #include <analyzerbase/analyzerruncontrol.h> +#include "qmldebug/qmlprofilereventtypes.h" QT_BEGIN_NAMESPACE class QMessageBox; @@ -68,6 +69,7 @@ public slots: void clientRecordingChanged(); void serverRecordingChanged(); void clientsDisconnected(); + void setAvailableFeatures(quint64 features); void recordingButtonChanged(bool recording); void setRecording(bool recording); @@ -84,9 +86,13 @@ private slots: void showSaveDialog(); void showLoadDialog(); + void toggleRecordingFeature(QAction *action); + private: void clearDisplay(); void populateFileFinder(QString projectDirectory = QString(), QString activeSysroot = QString()); + template<QmlDebug::ProfileFeature feature> + void updateFeaturesMenu(quint64 features); class QmlProfilerToolPrivate; QmlProfilerToolPrivate *d; |