blob: 06c291417481812e934a41926dae2b8400bab925 (
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
|
#ifndef QMLPROFILERSTATEWIDGET_H
#define QMLPROFILERSTATEWIDGET_H
#include <QWidget>
#include "qmlprofilerstatemanager.h"
#include "qmlprofilerdatamodel.h"
namespace QmlProfiler {
namespace Internal {
class QmlProfilerStateWidget : public QWidget
{
Q_OBJECT
public:
explicit QmlProfilerStateWidget(QmlProfilerStateManager *stateManager,
QmlProfilerDataModel *dataModel, QWidget *parent = 0);
~QmlProfilerStateWidget();
private slots:
void updateDisplay();
void dataStateChanged();
void profilerStateChanged();
void reposition();
protected:
void paintEvent(QPaintEvent *event);
private:
class QmlProfilerStateWidgetPrivate;
QmlProfilerStateWidgetPrivate *d;
};
}
}
#endif // QMLPROFILERSTATEWIDGET_H
|