forked from qt-creator/qt-creator
QmlProfiler: Make the views accessible from the view manager
And then, drop some methods we don't need anymore. Change-Id: I057bdc012072abddca2df83918ee9a0460f78611 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilerstatisticsview.h"
|
||||
#include "qmlprofilertraceview.h"
|
||||
#include "flamegraphview.h"
|
||||
#include <QObject>
|
||||
|
||||
namespace QmlProfiler {
|
||||
@@ -46,15 +49,9 @@ public:
|
||||
|
||||
void createViews();
|
||||
|
||||
// used by the options "limit events to range"
|
||||
bool hasValidSelection() const;
|
||||
qint64 selectionStart() const;
|
||||
qint64 selectionEnd() const;
|
||||
bool isEventsRestrictedToRange() const;
|
||||
void restrictEventsToRange(qint64 rangeStart, qint64 rangeEnd);
|
||||
|
||||
bool isTimelineUsable() const;
|
||||
void raiseTimeline();
|
||||
QmlProfilerTraceView *traceView() const;
|
||||
QmlProfilerStatisticsView *statisticsView() const;
|
||||
FlameGraphView *flameGraphView() const;
|
||||
|
||||
public slots:
|
||||
void clear();
|
||||
|
||||
Reference in New Issue
Block a user