1 ////////////////////////////////////////
3 ////////////////////////////////////////
9 #include "datamodels.h"
10 #include "ui_configwin.h"
13 class JrugrConfigForm
: public QDialog
{
17 JrugrConfigForm (const QString
&optFileName
, QWidget
*parent
=0);
20 void getHotKeys (XEvent
*event
);
24 void closeEvent (QCloseEvent
*event
);
32 void srcClick (QModelIndex index
);
34 void comboModelCh (int index
);
35 void comboVariantCh (int index
);
36 void statSelect (bool check
);
42 void updateOptionsCommand ();
43 void xkbOptionsChanged (const QModelIndex
&topLeft
, const QModelIndex
&bottomRight
);
44 void statSwitching (bool checked
);
51 int getSelectedDstLayout ();
58 QStringList mModelList
;
60 SrcLayoutModel
*mSrcLayoutModel
;
61 DstLayoutModel
*mDstLayoutModel
;
62 XkbOptionsModel
*mXkbOptionsModel
;
64 QList
<XkbVariant
> mVariants
;