00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_KEYBOARDCONFIGPAGE_H
00011 #define UI_KEYBOARDCONFIGPAGE_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QComboBox>
00018 #include <QtGui/QGroupBox>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QHeaderView>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QPushButton>
00023 #include <QtGui/QSpacerItem>
00024 #include <QtGui/QSpinBox>
00025 #include <QtGui/QTextEdit>
00026 #include <QtGui/QVBoxLayout>
00027 #include <QtGui/QWidget>
00028
00029 QT_BEGIN_NAMESPACE
00030
00031 class Ui_KeyboardConfigPage
00032 {
00033 public:
00034 QVBoxLayout *vboxLayout;
00035 QGroupBox *groupBox;
00036 QVBoxLayout *vboxLayout1;
00037 QHBoxLayout *hboxLayout;
00038 QLabel *label;
00039 QSpinBox *doubleFactTimeoutSpinBox;
00040 QHBoxLayout *hboxLayout1;
00041 QLabel *label_3;
00042 QSpinBox *holdTimeoutSpinBox;
00043 QGroupBox *groupBox_2;
00044 QVBoxLayout *vboxLayout2;
00045 QHBoxLayout *hboxLayout2;
00046 QLabel *label_2;
00047 QComboBox *keymapComboBox;
00048 QTextEdit *descriptionTextEdit;
00049 QHBoxLayout *hboxLayout3;
00050 QSpacerItem *spacerItem;
00051 QPushButton *exportButton;
00052 QPushButton *printButton;
00053 QSpacerItem *spacerItem1;
00054
00055 void setupUi(QWidget *KeyboardConfigPage)
00056 {
00057 if (KeyboardConfigPage->objectName().isEmpty())
00058 KeyboardConfigPage->setObjectName(QString::fromUtf8("KeyboardConfigPage"));
00059 KeyboardConfigPage->resize(290, 293);
00060 vboxLayout = new QVBoxLayout(KeyboardConfigPage);
00061 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00062 groupBox = new QGroupBox(KeyboardConfigPage);
00063 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00064 vboxLayout1 = new QVBoxLayout(groupBox);
00065 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00066 hboxLayout = new QHBoxLayout();
00067 #ifndef Q_OS_MAC
00068 hboxLayout->setSpacing(6);
00069 #endif
00070 #ifndef Q_OS_MAC
00071 hboxLayout->setMargin(0);
00072 #endif
00073 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00074 label = new QLabel(groupBox);
00075 label->setObjectName(QString::fromUtf8("label"));
00076
00077 hboxLayout->addWidget(label);
00078
00079 doubleFactTimeoutSpinBox = new QSpinBox(groupBox);
00080 doubleFactTimeoutSpinBox->setObjectName(QString::fromUtf8("doubleFactTimeoutSpinBox"));
00081 doubleFactTimeoutSpinBox->setMaximumSize(QSize(100, 16777215));
00082 doubleFactTimeoutSpinBox->setMinimum(100);
00083 doubleFactTimeoutSpinBox->setMaximum(300);
00084 doubleFactTimeoutSpinBox->setValue(200);
00085
00086 hboxLayout->addWidget(doubleFactTimeoutSpinBox);
00087
00088
00089 vboxLayout1->addLayout(hboxLayout);
00090
00091 hboxLayout1 = new QHBoxLayout();
00092 #ifndef Q_OS_MAC
00093 hboxLayout1->setSpacing(6);
00094 #endif
00095 hboxLayout1->setMargin(0);
00096 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00097 label_3 = new QLabel(groupBox);
00098 label_3->setObjectName(QString::fromUtf8("label_3"));
00099
00100 hboxLayout1->addWidget(label_3);
00101
00102 holdTimeoutSpinBox = new QSpinBox(groupBox);
00103 holdTimeoutSpinBox->setObjectName(QString::fromUtf8("holdTimeoutSpinBox"));
00104 holdTimeoutSpinBox->setMaximumSize(QSize(100, 16777215));
00105 holdTimeoutSpinBox->setMinimum(100);
00106 holdTimeoutSpinBox->setMaximum(300);
00107 holdTimeoutSpinBox->setValue(200);
00108
00109 hboxLayout1->addWidget(holdTimeoutSpinBox);
00110
00111
00112 vboxLayout1->addLayout(hboxLayout1);
00113
00114
00115 vboxLayout->addWidget(groupBox);
00116
00117 groupBox_2 = new QGroupBox(KeyboardConfigPage);
00118 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00119 vboxLayout2 = new QVBoxLayout(groupBox_2);
00120 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00121 hboxLayout2 = new QHBoxLayout();
00122 #ifndef Q_OS_MAC
00123 hboxLayout2->setSpacing(6);
00124 #endif
00125 #ifndef Q_OS_MAC
00126 hboxLayout2->setMargin(0);
00127 #endif
00128 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00129 label_2 = new QLabel(groupBox_2);
00130 label_2->setObjectName(QString::fromUtf8("label_2"));
00131
00132 hboxLayout2->addWidget(label_2);
00133
00134 keymapComboBox = new QComboBox(groupBox_2);
00135 keymapComboBox->setObjectName(QString::fromUtf8("keymapComboBox"));
00136
00137 hboxLayout2->addWidget(keymapComboBox);
00138
00139
00140 vboxLayout2->addLayout(hboxLayout2);
00141
00142 descriptionTextEdit = new QTextEdit(groupBox_2);
00143 descriptionTextEdit->setObjectName(QString::fromUtf8("descriptionTextEdit"));
00144 descriptionTextEdit->setEnabled(false);
00145 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
00146 sizePolicy.setHorizontalStretch(0);
00147 sizePolicy.setVerticalStretch(0);
00148 sizePolicy.setHeightForWidth(descriptionTextEdit->sizePolicy().hasHeightForWidth());
00149 descriptionTextEdit->setSizePolicy(sizePolicy);
00150 descriptionTextEdit->setAcceptDrops(false);
00151 descriptionTextEdit->setFrameShape(QFrame::NoFrame);
00152 descriptionTextEdit->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
00153 descriptionTextEdit->setUndoRedoEnabled(false);
00154 descriptionTextEdit->setTextInteractionFlags(Qt::NoTextInteraction);
00155
00156 vboxLayout2->addWidget(descriptionTextEdit);
00157
00158 hboxLayout3 = new QHBoxLayout();
00159 #ifndef Q_OS_MAC
00160 hboxLayout3->setSpacing(6);
00161 #endif
00162 hboxLayout3->setMargin(0);
00163 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00164 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00165
00166 hboxLayout3->addItem(spacerItem);
00167
00168 exportButton = new QPushButton(groupBox_2);
00169 exportButton->setObjectName(QString::fromUtf8("exportButton"));
00170
00171 hboxLayout3->addWidget(exportButton);
00172
00173 printButton = new QPushButton(groupBox_2);
00174 printButton->setObjectName(QString::fromUtf8("printButton"));
00175
00176 hboxLayout3->addWidget(printButton);
00177
00178
00179 vboxLayout2->addLayout(hboxLayout3);
00180
00181
00182 vboxLayout->addWidget(groupBox_2);
00183
00184 spacerItem1 = new QSpacerItem(236, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);
00185
00186 vboxLayout->addItem(spacerItem1);
00187
00188
00189 retranslateUi(KeyboardConfigPage);
00190
00191 QMetaObject::connectSlotsByName(KeyboardConfigPage);
00192 }
00193
00194 void retranslateUi(QWidget *KeyboardConfigPage)
00195 {
00196 KeyboardConfigPage->setWindowTitle(QApplication::translate("KeyboardConfigPage", "Form", 0, QApplication::UnicodeUTF8));
00197 groupBox->setTitle(QApplication::translate("KeyboardConfigPage", "Configure Keyboard", 0, QApplication::UnicodeUTF8));
00198 #ifndef QT_NO_TOOLTIP
00199 label->setToolTip(QApplication::translate("KeyboardConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00200 "p, li { white-space: pre-wrap; }\n"
00201 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00202 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Double fact timeout:</span></p>\n"
00203 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">The maximum time in miliseconds between 2 key presses </p>\n"
00204 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">to determine if the 2 key presses are a double fact ( << K >> or << KK >>)</p>\n"
00205 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> or 2 individual key presses ( a < K > "
00206 "and < K > action, </p>\n"
00207 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">or < KK > and < KK > action for example).</p>\n"
00208 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00209 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Experienced users can set this value as low as 150 ms, </p>\n"
00210 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">if you don't have much experience yet, please leave the default of 180 ms.</p>\n"
00211 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00212 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-ind"
00213 "ent:0px;\">For more information, see chapter 7: Key Actions. of the User Manual</p></body></html>", 0, QApplication::UnicodeUTF8));
00214 #endif // QT_NO_TOOLTIP
00215 label->setText(QApplication::translate("KeyboardConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:Bitstream Vera Sans; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Double fact timeout (ms)</p></body></html>", 0, QApplication::UnicodeUTF8));
00216 #ifndef QT_NO_TOOLTIP
00217 label_3->setToolTip(QApplication::translate("KeyboardConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00218 "p, li { white-space: pre-wrap; }\n"
00219 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00220 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Hold timeout:</span></p>\n"
00221 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">The maximum time to consider a pressed key a hold key fact, </p>\n"
00222 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">like [ K ] or [ KK ].</p>\n"
00223 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00224 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-blo"
00225 "ck-indent:0; text-indent:0px;\">The shorter this time, the sooner a pressed key will be </p>\n"
00226 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">detected as a hold action. </p>\n"
00227 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00228 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Experienced users can set this value as low as 110 ms, </p>\n"
00229 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">if you don't have much experience yet, please leave the default of 150 ms.</p>\n"
00230 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00231 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-r"
00232 "ight:0px; -qt-block-indent:0; text-indent:0px;\">For more information, see chapter 7: \"Key Actions\" of the User Manual.</p></body></html>", 0, QApplication::UnicodeUTF8));
00233 #endif // QT_NO_TOOLTIP
00234 label_3->setText(QApplication::translate("KeyboardConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:Bitstream Vera Sans; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Hold timeout (ms)</p></body></html>", 0, QApplication::UnicodeUTF8));
00235 groupBox_2->setTitle(QApplication::translate("KeyboardConfigPage", "Keymap", 0, QApplication::UnicodeUTF8));
00236 label_2->setText(QApplication::translate("KeyboardConfigPage", "Select keymap", 0, QApplication::UnicodeUTF8));
00237 exportButton->setText(QApplication::translate("KeyboardConfigPage", "Export Keymap", 0, QApplication::UnicodeUTF8));
00238 printButton->setText(QApplication::translate("KeyboardConfigPage", "Print Keymap", 0, QApplication::UnicodeUTF8));
00239 Q_UNUSED(KeyboardConfigPage);
00240 }
00241
00242 };
00243
00244 namespace Ui {
00245 class KeyboardConfigPage: public Ui_KeyboardConfigPage {};
00246 }
00247
00248 QT_END_NAMESPACE
00249
00250 #endif // UI_KEYBOARDCONFIGPAGE_H