forked from qt-creator/qt-creator
QmlProfiler: Remove ScrollableQuickView
As the timeline can scroll by itself now we don't need an external scrolling helper anymore. Change-Id: I831eaf2302ced7649b4746e5c7d10121d83a4794 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
@@ -45,17 +45,6 @@ namespace Internal {
|
||||
class QmlProfilerStateManager;
|
||||
class QmlProfilerViewManager;
|
||||
|
||||
// capture mouse wheel events
|
||||
class MouseWheelResizer : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
MouseWheelResizer(QObject *parent=0):QObject(parent){}
|
||||
protected:
|
||||
bool eventFilter(QObject *obj, QEvent *event);
|
||||
signals:
|
||||
void mouseWheelMoved(int x, int y, int delta);
|
||||
};
|
||||
|
||||
// centralized zoom control
|
||||
class ZoomControl : public QObject {
|
||||
Q_OBJECT
|
||||
@@ -75,17 +64,6 @@ private:
|
||||
qint64 m_endTime;
|
||||
};
|
||||
|
||||
class ScrollableQuickView : public QQuickView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ScrollableQuickView(QQuickView *parent = 0);
|
||||
~ScrollableQuickView();
|
||||
protected:
|
||||
void scrollContentsBy(int dx, int dy);
|
||||
};
|
||||
|
||||
|
||||
class QmlProfilerTraceView : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -113,7 +91,6 @@ private slots:
|
||||
void updateLockButton();
|
||||
|
||||
void updateRange();
|
||||
void mouseWheelMoved(int mouseX, int mouseY, int wheelDelta);
|
||||
|
||||
void updateToolTip(const QString &text);
|
||||
void profilerDataModelStateChanged();
|
||||
|
||||
Reference in New Issue
Block a user