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:
@@ -56,7 +56,8 @@ public:
|
||||
QmlProfilerState currentState();
|
||||
bool clientRecording();
|
||||
bool serverRecording();
|
||||
quint64 recordingFeatures() const;
|
||||
quint64 requestedFeatures() const;
|
||||
quint64 recordedFeatures() const;
|
||||
|
||||
QString currentStateAsString();
|
||||
|
||||
@@ -64,13 +65,15 @@ signals:
|
||||
void stateChanged();
|
||||
void clientRecordingChanged();
|
||||
void serverRecordingChanged();
|
||||
void recordingFeaturesChanged(quint64);
|
||||
void requestedFeaturesChanged(quint64);
|
||||
void recordedFeaturesChanged(quint64);
|
||||
|
||||
public slots:
|
||||
void setCurrentState(QmlProfilerState newState);
|
||||
void setClientRecording(bool recording);
|
||||
void setServerRecording(bool recording);
|
||||
void setRecordingFeatures(quint64 features);
|
||||
void setRequestedFeatures(quint64 features);
|
||||
void setRecordedFeatures(quint64 features);
|
||||
|
||||
private:
|
||||
class QmlProfilerStateManagerPrivate;
|
||||
|
||||
Reference in New Issue
Block a user