00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGKEYBOARD_H
00011 #define UI_DLGKEYBOARD_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/QGridLayout>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QPushButton>
00022 #include <QtGui/QSpacerItem>
00023 #include <QtGui/QTreeWidget>
00024 #include <QtGui/QVBoxLayout>
00025 #include <QtGui/QWidget>
00026 #include "Gui/Widgets.h"
00027
00028 namespace Gui {
00029 namespace Dialog {
00030
00031 class Ui_DlgCustomKeyboard
00032 {
00033 public:
00034 QGridLayout *gridLayout;
00035 QVBoxLayout *vboxLayout;
00036 QLabel *textLabelDescriptionHeader;
00037 QLabel *textLabelDescription;
00038 QSpacerItem *spacerItem;
00039 QVBoxLayout *vboxLayout1;
00040 QLabel *TextLabelCategory;
00041 QComboBox *categoryBox;
00042 QLabel *TextLabelCommands;
00043 QTreeWidget *commandTreeWidget;
00044 QVBoxLayout *vboxLayout2;
00045 QLabel *textLabelShortcut;
00046 Gui::AccelLineEdit *accelLineEditShortcut;
00047 QLabel *textLabelNewShortcut;
00048 Gui::AccelLineEdit *editShortcut;
00049 QLabel *textLabelAssigned;
00050 QTreeWidget *assignedTreeWidget;
00051 QVBoxLayout *vboxLayout3;
00052 QPushButton *buttonAssign;
00053 QPushButton *buttonReset;
00054 QPushButton *buttonResetAll;
00055 QSpacerItem *spacerItem1;
00056
00057 void setupUi(QWidget *Gui__Dialog__DlgCustomKeyboard)
00058 {
00059 if (Gui__Dialog__DlgCustomKeyboard->objectName().isEmpty())
00060 Gui__Dialog__DlgCustomKeyboard->setObjectName(QString::fromUtf8("Gui__Dialog__DlgCustomKeyboard"));
00061 Gui__Dialog__DlgCustomKeyboard->resize(578, 344);
00062 gridLayout = new QGridLayout(Gui__Dialog__DlgCustomKeyboard);
00063 gridLayout->setSpacing(6);
00064 gridLayout->setMargin(9);
00065 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00066 vboxLayout = new QVBoxLayout();
00067 vboxLayout->setSpacing(6);
00068 vboxLayout->setMargin(0);
00069 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00070 textLabelDescriptionHeader = new QLabel(Gui__Dialog__DlgCustomKeyboard);
00071 textLabelDescriptionHeader->setObjectName(QString::fromUtf8("textLabelDescriptionHeader"));
00072
00073 vboxLayout->addWidget(textLabelDescriptionHeader);
00074
00075 textLabelDescription = new QLabel(Gui__Dialog__DlgCustomKeyboard);
00076 textLabelDescription->setObjectName(QString::fromUtf8("textLabelDescription"));
00077
00078 vboxLayout->addWidget(textLabelDescription);
00079
00080
00081 gridLayout->addLayout(vboxLayout, 1, 0, 1, 4);
00082
00083 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Preferred, QSizePolicy::Minimum);
00084
00085 gridLayout->addItem(spacerItem, 0, 2, 1, 1);
00086
00087 vboxLayout1 = new QVBoxLayout();
00088 vboxLayout1->setSpacing(6);
00089 vboxLayout1->setMargin(0);
00090 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00091 TextLabelCategory = new QLabel(Gui__Dialog__DlgCustomKeyboard);
00092 TextLabelCategory->setObjectName(QString::fromUtf8("TextLabelCategory"));
00093
00094 vboxLayout1->addWidget(TextLabelCategory);
00095
00096 categoryBox = new QComboBox(Gui__Dialog__DlgCustomKeyboard);
00097 categoryBox->setObjectName(QString::fromUtf8("categoryBox"));
00098
00099 vboxLayout1->addWidget(categoryBox);
00100
00101 TextLabelCommands = new QLabel(Gui__Dialog__DlgCustomKeyboard);
00102 TextLabelCommands->setObjectName(QString::fromUtf8("TextLabelCommands"));
00103
00104 vboxLayout1->addWidget(TextLabelCommands);
00105
00106 commandTreeWidget = new QTreeWidget(Gui__Dialog__DlgCustomKeyboard);
00107 QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
00108 __qtreewidgetitem->setText(0, QString::fromUtf8("1"));
00109 commandTreeWidget->setHeaderItem(__qtreewidgetitem);
00110 commandTreeWidget->setObjectName(QString::fromUtf8("commandTreeWidget"));
00111 commandTreeWidget->setMinimumSize(QSize(220, 0));
00112 commandTreeWidget->setRootIsDecorated(false);
00113
00114 vboxLayout1->addWidget(commandTreeWidget);
00115
00116
00117 gridLayout->addLayout(vboxLayout1, 0, 0, 1, 1);
00118
00119 vboxLayout2 = new QVBoxLayout();
00120 vboxLayout2->setSpacing(6);
00121 vboxLayout2->setMargin(0);
00122 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00123 textLabelShortcut = new QLabel(Gui__Dialog__DlgCustomKeyboard);
00124 textLabelShortcut->setObjectName(QString::fromUtf8("textLabelShortcut"));
00125
00126 vboxLayout2->addWidget(textLabelShortcut);
00127
00128 accelLineEditShortcut = new Gui::AccelLineEdit(Gui__Dialog__DlgCustomKeyboard);
00129 accelLineEditShortcut->setObjectName(QString::fromUtf8("accelLineEditShortcut"));
00130 accelLineEditShortcut->setEnabled(false);
00131
00132 vboxLayout2->addWidget(accelLineEditShortcut);
00133
00134 textLabelNewShortcut = new QLabel(Gui__Dialog__DlgCustomKeyboard);
00135 textLabelNewShortcut->setObjectName(QString::fromUtf8("textLabelNewShortcut"));
00136
00137 vboxLayout2->addWidget(textLabelNewShortcut);
00138
00139 editShortcut = new Gui::AccelLineEdit(Gui__Dialog__DlgCustomKeyboard);
00140 editShortcut->setObjectName(QString::fromUtf8("editShortcut"));
00141
00142 vboxLayout2->addWidget(editShortcut);
00143
00144 textLabelAssigned = new QLabel(Gui__Dialog__DlgCustomKeyboard);
00145 textLabelAssigned->setObjectName(QString::fromUtf8("textLabelAssigned"));
00146
00147 vboxLayout2->addWidget(textLabelAssigned);
00148
00149 assignedTreeWidget = new QTreeWidget(Gui__Dialog__DlgCustomKeyboard);
00150 QTreeWidgetItem *__qtreewidgetitem1 = new QTreeWidgetItem();
00151 __qtreewidgetitem1->setText(0, QString::fromUtf8("1"));
00152 assignedTreeWidget->setHeaderItem(__qtreewidgetitem1);
00153 assignedTreeWidget->setObjectName(QString::fromUtf8("assignedTreeWidget"));
00154 assignedTreeWidget->setEnabled(false);
00155 assignedTreeWidget->setMinimumSize(QSize(220, 0));
00156 assignedTreeWidget->setRootIsDecorated(false);
00157
00158 vboxLayout2->addWidget(assignedTreeWidget);
00159
00160
00161 gridLayout->addLayout(vboxLayout2, 0, 1, 1, 1);
00162
00163 vboxLayout3 = new QVBoxLayout();
00164 vboxLayout3->setSpacing(6);
00165 vboxLayout3->setMargin(0);
00166 vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
00167 buttonAssign = new QPushButton(Gui__Dialog__DlgCustomKeyboard);
00168 buttonAssign->setObjectName(QString::fromUtf8("buttonAssign"));
00169
00170 vboxLayout3->addWidget(buttonAssign);
00171
00172 buttonReset = new QPushButton(Gui__Dialog__DlgCustomKeyboard);
00173 buttonReset->setObjectName(QString::fromUtf8("buttonReset"));
00174
00175 vboxLayout3->addWidget(buttonReset);
00176
00177 buttonResetAll = new QPushButton(Gui__Dialog__DlgCustomKeyboard);
00178 buttonResetAll->setObjectName(QString::fromUtf8("buttonResetAll"));
00179
00180 vboxLayout3->addWidget(buttonResetAll);
00181
00182 spacerItem1 = new QSpacerItem(41, 150, QSizePolicy::Minimum, QSizePolicy::Expanding);
00183
00184 vboxLayout3->addItem(spacerItem1);
00185
00186
00187 gridLayout->addLayout(vboxLayout3, 0, 3, 1, 1);
00188
00189 #ifndef QT_NO_SHORTCUT
00190 TextLabelCategory->setBuddy(categoryBox);
00191 TextLabelCommands->setBuddy(commandTreeWidget);
00192 textLabelNewShortcut->setBuddy(editShortcut);
00193 #endif // QT_NO_SHORTCUT
00194 QWidget::setTabOrder(categoryBox, commandTreeWidget);
00195 QWidget::setTabOrder(commandTreeWidget, accelLineEditShortcut);
00196 QWidget::setTabOrder(accelLineEditShortcut, buttonAssign);
00197 QWidget::setTabOrder(buttonAssign, buttonReset);
00198 QWidget::setTabOrder(buttonReset, buttonResetAll);
00199
00200 retranslateUi(Gui__Dialog__DlgCustomKeyboard);
00201
00202 QMetaObject::connectSlotsByName(Gui__Dialog__DlgCustomKeyboard);
00203 }
00204
00205 void retranslateUi(QWidget *Gui__Dialog__DlgCustomKeyboard)
00206 {
00207 Gui__Dialog__DlgCustomKeyboard->setWindowTitle(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "Keyboard", 0, QApplication::UnicodeUTF8));
00208 textLabelDescriptionHeader->setText(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "Description:", 0, QApplication::UnicodeUTF8));
00209 textLabelDescription->setText(QString());
00210 TextLabelCategory->setText(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "&Category:", 0, QApplication::UnicodeUTF8));
00211 TextLabelCommands->setText(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "C&ommands:", 0, QApplication::UnicodeUTF8));
00212 textLabelShortcut->setText(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "Current shortcut:", 0, QApplication::UnicodeUTF8));
00213 textLabelNewShortcut->setText(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "Press &new shortcut:", 0, QApplication::UnicodeUTF8));
00214 textLabelAssigned->setText(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "Currently assigned to:", 0, QApplication::UnicodeUTF8));
00215 buttonAssign->setText(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "&Assign", 0, QApplication::UnicodeUTF8));
00216 buttonAssign->setShortcut(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "Alt+A", 0, QApplication::UnicodeUTF8));
00217 buttonReset->setText(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "&Reset", 0, QApplication::UnicodeUTF8));
00218 buttonReset->setShortcut(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "Alt+R", 0, QApplication::UnicodeUTF8));
00219 buttonResetAll->setText(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "Re&set All", 0, QApplication::UnicodeUTF8));
00220 buttonResetAll->setShortcut(QApplication::translate("Gui::Dialog::DlgCustomKeyboard", "Alt+S", 0, QApplication::UnicodeUTF8));
00221 Q_UNUSED(Gui__Dialog__DlgCustomKeyboard);
00222 }
00223
00224 };
00225
00226 }
00227 }
00228
00229 namespace Gui {
00230 namespace Dialog {
00231 namespace Ui {
00232 class DlgCustomKeyboard: public Ui_DlgCustomKeyboard {};
00233 }
00234 }
00235 }
00236
00237 #endif // UI_DLGKEYBOARD_H