1 ////////////////////////////////////////
3 // Written by: disels@gmail.com //
5 ////////////////////////////////////////
11 #include "datamodels.h"
12 #include "ui_kswconfig.h"
15 class QXKBconf
: public QDialog
{
19 QXKBconf (QWidget
*parent
=0);
22 void getHotKeys (XEvent
*event
);
26 void closeEvent (QCloseEvent
*event
);
34 void srcClick (QModelIndex index
);
36 void comboModelCh (int index
);
37 void comboVariantCh (int index
);
38 void statSelect (bool check
);
44 void updateOptionsCommand ();
45 void xkbOptionsChanged (const QModelIndex
&topLeft
, const QModelIndex
&bottomRight
);
46 void xkbShortcutPressed ();
47 void xkbShortcut3dPressed ();
48 void statSwitching (bool chek
);
58 int getSelectedDstLayout ();
62 QStringList listModels
;
64 SrcLayoutModel
*srcLayoutModel
;
65 DstLayoutModel
*dstLayoutModel
;
66 XkbOptionsModel
*xkbOptionsModel
;
68 QList
<XkbVariant
> variants
;