1 #ifndef FINGERMANAGERWINDOW_H_
2 #define FINGERMANAGERWINDOW_H_
11 #include <QButtonGroup>
13 #include <QHBoxLayout>
14 #include <QVBoxLayout>
17 #include "FMDbusConn.h"
19 #define MAX_FINGERS 10
26 class FingerManagerWindow
: public KDialog
{
31 void fingerSelected(int finger
);
32 void addDevices(int idx
);
33 void deviceChanged(int idx
);
34 void processFingers(int idx
);
36 //QSvgWidget handsImage;
41 QCheckBox
*fingers
[MAX_FINGERS
];
44 QVBoxLayout
*mainPanelLayout
;
45 QHBoxLayout
*devicesLayout
;
47 KSeparator
*separator
;
51 QCheckBox
* createCheckBox(int idx
, int x
, int y
);
52 void initComponents();
53 void load(KConfig
*config
);
55 FingerManagerWindow(QWidget
*parent
= NULL
, Qt::WindowFlags wflags
= Qt::Dialog
);
56 ~FingerManagerWindow();
59 #endif /*FINGERMANAGERWINDOW_H_*/