blob: aa275aa72536aa2a598860794adc26fd936711c6 (
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
|
#ifndef CANVASFRAMERATE_H
#define CANVASFRAMERATE_H
#include <QWidget>
QT_BEGIN_NAMESPACE
class QmlDebugConnection;
class QTabWidget;
class QSpinBox;
class CanvasFrameRate : public QWidget
{
Q_OBJECT
public:
CanvasFrameRate(QmlDebugConnection *, QWidget *parent = 0);
void setSizeHint(const QSize &);
virtual QSize sizeHint() const;
private slots:
void newTab();
void stateChanged(int);
private:
QTabWidget *m_tabs;
QSpinBox *m_spin;
QObject *m_plugin;
QSize m_sizeHint;
};
QT_END_NAMESPACE
#endif // CANVASFRAMERATE_H
|