equal
deleted
inserted
replaced
46 QLabel* statusName = new QLabel(this); |
46 QLabel* statusName = new QLabel(this); |
47 QProgressBar* statusBattery = new QProgressBar(this); |
47 QProgressBar* statusBattery = new QProgressBar(this); |
48 |
48 |
49 QCheckBox* configureSmartScrolling = new QCheckBox("smart scrolling (free wheel)", this); |
49 QCheckBox* configureSmartScrolling = new QCheckBox("smart scrolling (free wheel)", this); |
50 QCheckBox* configureLiftOffDetection = new QCheckBox("lift-off detection", this); |
50 QCheckBox* configureLiftOffDetection = new QCheckBox("lift-off detection", this); |
|
51 QCheckBox* configureRemapWheelPressed = new QCheckBox("remap wheel button: from 2 (same as middle) to 10", this); |
|
52 QCheckBox* configureRemapGestureButton = new QCheckBox("remap gesture button: from none to 11", this); |
51 QRadioButton* configureFrequency125 = new QRadioButton("125 Hz", this); |
53 QRadioButton* configureFrequency125 = new QRadioButton("125 Hz", this); |
52 QRadioButton* configureFrequency250 = new QRadioButton("250 Hz", this); |
54 QRadioButton* configureFrequency250 = new QRadioButton("250 Hz", this); |
53 QRadioButton* configureFrequency500 = new QRadioButton("500 Hz", this); |
55 QRadioButton* configureFrequency500 = new QRadioButton("500 Hz", this); |
54 QRadioButton* configureFrequency1000 = new QRadioButton("1000 Hz", this); |
56 QRadioButton* configureFrequency1000 = new QRadioButton("1000 Hz", this); |
55 |
57 |
60 OrgFreedesktopUPowerInterface* upowerProxy; |
62 OrgFreedesktopUPowerInterface* upowerProxy; |
61 |
63 |
62 void initStatusPanel(); |
64 void initStatusPanel(); |
63 void initConfigurationPanel(); |
65 void initConfigurationPanel(); |
64 void initAboutPanel(); |
66 void initAboutPanel(); |
65 |
67 |
66 void appendAboutLine(QFormLayout* layout, const QString& label, const QString& value, QWidget* parent); |
68 void appendAboutLine(QFormLayout* layout, const QString& label, const QString& value, QWidget* parent); |
67 |
69 |
68 int getBatteryLevel(); |
70 int getBatteryLevel(); |
69 |
71 |
70 private slots: |
72 private slots: |
71 void refresh(); |
73 void refresh(); |
72 void configure(); |
74 void configure(); |