cadMousePro-gui/src/MouseMainWindow.h
branchv_0
changeset 20 cfb5f62ea048
parent 18 7323a89c15e9
child 21 642f32f76c9d
equal deleted inserted replaced
19:048a7d391e05 20:cfb5f62ea048
    22 #include <QFormLayout>
    22 #include <QFormLayout>
    23 #include <QCheckBox>
    23 #include <QCheckBox>
    24 #include <QRadioButton>
    24 #include <QRadioButton>
    25 #include <QButtonGroup>
    25 #include <QButtonGroup>
    26 #include <QLineEdit>
    26 #include <QLineEdit>
       
    27 #include <QLabel>
    27 #include <QtDBus/QDBusConnection>
    28 #include <QtDBus/QDBusConnection>
    28 
    29 
    29 #include "generated-sources/Proxy.h"
    30 #include "generated-sources/Proxy.h"
    30 
    31 
    31 class MouseMainWindow : public QMainWindow {
    32 class MouseMainWindow : public QMainWindow {
    39 private:
    40 private:
    40 	QTabWidget* tabs = new QTabWidget(this);
    41 	QTabWidget* tabs = new QTabWidget(this);
    41 	QCheckBox* statusProxy = new QCheckBox("connected to Daemon", this);
    42 	QCheckBox* statusProxy = new QCheckBox("connected to Daemon", this);
    42 	QCheckBox* statusUPower = new QCheckBox("connected to UPower", this);
    43 	QCheckBox* statusUPower = new QCheckBox("connected to UPower", this);
    43 	QCheckBox* statusDevice = new QCheckBox("mouse found", this);
    44 	QCheckBox* statusDevice = new QCheckBox("mouse found", this);
       
    45 	QLabel* statusName = new QLabel(this);
    44 
    46 
    45 	QCheckBox* configureSmartScrolling = new QCheckBox("smart scrolling (free wheel)", this);
    47 	QCheckBox* configureSmartScrolling = new QCheckBox("smart scrolling (free wheel)", this);
    46 	QCheckBox* configureLiftOffDetection = new QCheckBox("lift-off detection", this);
    48 	QCheckBox* configureLiftOffDetection = new QCheckBox("lift-off detection", this);
    47 	QRadioButton* configureFrequency125 = new QRadioButton("125 Hz", this);
    49 	QRadioButton* configureFrequency125 = new QRadioButton("125 Hz", this);
    48 	QRadioButton* configureFrequency250 = new QRadioButton("250 Hz", this);
    50 	QRadioButton* configureFrequency250 = new QRadioButton("250 Hz", this);