blob: 471105565f53a4084a8ce80d46d48452d41e0d9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#ifndef CANVASFRAMERATE_H
#define CANVASFRAMERATE_H
#include <QtCore/qpointer.h>
#include <QtGui/qwidget.h>
#include <private/qmldebugclient_p.h>
QT_BEGIN_NAMESPACE
class QTabWidget;
class QSpinBox;
class QCheckBox;
class CanvasFrameRatePlugin;
class CanvasFrameRate : public QWidget
{
Q_OBJECT
public:
CanvasFrameRate(QWidget *parent = 0);
void reset(QmlDebugConnection *conn);
void setSizeHint(const QSize &);
virtual QSize sizeHint() const;
private slots:
void newTab();
void enabledStateChanged(int);
void connectionStateChanged(QAbstractSocket::SocketState state);
private:
void handleConnected(QmlDebugConnection *conn);
QTabWidget *m_tabs;
QSpinBox *m_spin;
CanvasFrameRatePlugin *m_plugin;
QSize m_sizeHint;
QCheckBox *m_enabledCheckBox;
};
QT_END_NAMESPACE
#endif // CANVASFRAMERATE_H
|