forked from qt-creator/qt-creator
QmlProfiler: Track requested, recorded, and displayed features
This way we can have a central filter menu to hide and show features in any connected views. Change-Id: I8142da0062a23f8166555016de6c7cb38060f725 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -76,6 +76,7 @@ public slots:
|
||||
void serverRecordingChanged();
|
||||
void clientsDisconnected();
|
||||
void setAvailableFeatures(quint64 features);
|
||||
void setRecordedFeatures(quint64 features);
|
||||
|
||||
void recordingButtonChanged(bool recording);
|
||||
void setRecording(bool recording);
|
||||
@@ -95,14 +96,16 @@ private slots:
|
||||
void showLoadDialog();
|
||||
void onLoadSaveFinished();
|
||||
|
||||
void toggleRecordingFeature(QAction *action);
|
||||
void toggleRequestedFeature(QAction *action);
|
||||
void toggleVisibleFeature(QAction *action);
|
||||
|
||||
private:
|
||||
void clearDisplay();
|
||||
void populateFileFinder(QString projectDirectory = QString(), QString activeSysroot = QString());
|
||||
template<QmlDebug::ProfileFeature feature>
|
||||
void updateFeaturesMenu(quint64 features);
|
||||
void updateFeatures(quint64 features);
|
||||
bool checkForUnsavedNotes();
|
||||
void restoreFeatureVisibility();
|
||||
|
||||
class QmlProfilerToolPrivate;
|
||||
QmlProfilerToolPrivate *d;
|
||||
|
Reference in New Issue
Block a user