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:
Aurindam Jana
2013-09-03 14:06:31 +02:00
parent a3535e667e
commit 9d38b866f9
2 changed files with 2 additions and 70 deletions

View File

@@ -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();