blob: 955dc12d47637975362068b68d3886d4cd8ca405 (
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
|
#ifndef METRICSWIDGET_H
#define METRICSWIDGET_H
#include <QtGui>
class QKineticScroller;
class MetricsWidget : public QWidget
{
Q_OBJECT
public:
MetricsWidget(QKineticScroller *scroller);
private slots:
void enabledChanged(bool on);
void dpiChanged(int dpi);
void overshootPolicyChanged(int index);
void scrollTo();
private:
QGridLayout *createControlGrid();
QKineticScroller *m_scroller;
QSpinBox *m_scrollx, *m_scrolly, *m_scrolltime;
QComboBox *m_ospolicy;
};
#endif
|