00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef EDITSINGLESHORTCUTDATA_H
00011 #define EDITSINGLESHORTCUTDATA_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QDialogButtonBox>
00018 #include <QtGui/QHBoxLayout>
00019 #include <QtGui/QLabel>
00020 #include <QtGui/QRadioButton>
00021 #include <QtGui/QSpacerItem>
00022 #include <QtGui/QVBoxLayout>
00023 #include <QtGui/QWidget>
00024
00025 QT_BEGIN_NAMESPACE
00026
00027 class Ui_EditSingleShortcutData
00028 {
00029 public:
00030 QHBoxLayout *horizontalLayout_3;
00031 QVBoxLayout *verticalLayout;
00032 QHBoxLayout *horizontalLayout_2;
00033 QRadioButton *customize_button;
00034 QLabel *new_shortcut_label;
00035 QHBoxLayout *horizontalLayout;
00036 QRadioButton *none_button;
00037 QLabel *error_label;
00038 QSpacerItem *horizontalSpacer;
00039 QDialogButtonBox *buttonBox;
00040
00041 void setupUi(QWidget *EditSingleShortcutData)
00042 {
00043 if (EditSingleShortcutData->objectName().isEmpty())
00044 EditSingleShortcutData->setObjectName(QString::fromUtf8("EditSingleShortcutData"));
00045 EditSingleShortcutData->resize(460, 75);
00046 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
00047 sizePolicy.setHorizontalStretch(0);
00048 sizePolicy.setVerticalStretch(0);
00049 sizePolicy.setHeightForWidth(EditSingleShortcutData->sizePolicy().hasHeightForWidth());
00050 EditSingleShortcutData->setSizePolicy(sizePolicy);
00051 EditSingleShortcutData->setMinimumSize(QSize(460, 75));
00052 EditSingleShortcutData->setFocusPolicy(Qt::NoFocus);
00053 horizontalLayout_3 = new QHBoxLayout(EditSingleShortcutData);
00054 horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
00055 horizontalLayout_3->setSizeConstraint(QLayout::SetNoConstraint);
00056 verticalLayout = new QVBoxLayout();
00057 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
00058 horizontalLayout_2 = new QHBoxLayout();
00059 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
00060 customize_button = new QRadioButton(EditSingleShortcutData);
00061 customize_button->setObjectName(QString::fromUtf8("customize_button"));
00062 customize_button->setMinimumSize(QSize(130, 25));
00063 customize_button->setChecked(true);
00064
00065 horizontalLayout_2->addWidget(customize_button);
00066
00067 new_shortcut_label = new QLabel(EditSingleShortcutData);
00068 new_shortcut_label->setObjectName(QString::fromUtf8("new_shortcut_label"));
00069 new_shortcut_label->setMinimumSize(QSize(180, 25));
00070
00071 horizontalLayout_2->addWidget(new_shortcut_label);
00072
00073
00074 verticalLayout->addLayout(horizontalLayout_2);
00075
00076 horizontalLayout = new QHBoxLayout();
00077 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
00078 none_button = new QRadioButton(EditSingleShortcutData);
00079 none_button->setObjectName(QString::fromUtf8("none_button"));
00080 none_button->setMinimumSize(QSize(25, 25));
00081
00082 horizontalLayout->addWidget(none_button);
00083
00084 error_label = new QLabel(EditSingleShortcutData);
00085 error_label->setObjectName(QString::fromUtf8("error_label"));
00086 error_label->setMinimumSize(QSize(180, 25));
00087 QFont font;
00088 font.setBold(true);
00089 font.setWeight(75);
00090 error_label->setFont(font);
00091
00092 horizontalLayout->addWidget(error_label);
00093
00094
00095 verticalLayout->addLayout(horizontalLayout);
00096
00097
00098 horizontalLayout_3->addLayout(verticalLayout);
00099
00100 horizontalSpacer = new QSpacerItem(53, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00101
00102 horizontalLayout_3->addItem(horizontalSpacer);
00103
00104 buttonBox = new QDialogButtonBox(EditSingleShortcutData);
00105 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
00106 buttonBox->setOrientation(Qt::Vertical);
00107 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
00108
00109 horizontalLayout_3->addWidget(buttonBox);
00110
00111 QWidget::setTabOrder(buttonBox, customize_button);
00112 QWidget::setTabOrder(customize_button, none_button);
00113
00114 retranslateUi(EditSingleShortcutData);
00115
00116 QMetaObject::connectSlotsByName(EditSingleShortcutData);
00117 }
00118
00119 void retranslateUi(QWidget *EditSingleShortcutData)
00120 {
00121 EditSingleShortcutData->setWindowTitle(QApplication::translate("EditSingleShortcutData", "Customize shortcut", 0, QApplication::UnicodeUTF8));
00122 customize_button->setText(QApplication::translate("EditSingleShortcutData", "Custom Shortcut", 0, QApplication::UnicodeUTF8));
00123
00124 #ifndef QT_NO_TOOLTIP
00125 new_shortcut_label->setToolTip(QApplication::translate("EditSingleShortcutData", "Define a customized shortcut by pressing the correspoding keys", 0, QApplication::UnicodeUTF8));
00126 #endif // QT_NO_TOOLTIP
00127
00128
00129 #ifndef QT_NO_STATUSTIP
00130 new_shortcut_label->setStatusTip(QApplication::translate("EditSingleShortcutData", "Define a customized shortcut by pressing the correspoding keys", 0, QApplication::UnicodeUTF8));
00131 #endif // QT_NO_STATUSTIP
00132
00133
00134 #ifndef QT_NO_WHATSTHIS
00135 new_shortcut_label->setWhatsThis(QApplication::translate("EditSingleShortcutData", "Dialog for defining customized shortcuts.", 0, QApplication::UnicodeUTF8));
00136 #endif // QT_NO_WHATSTHIS
00137
00138 new_shortcut_label->setText(QApplication::translate("EditSingleShortcutData", "Please type a key sequence!", 0, QApplication::UnicodeUTF8));
00139 none_button->setText(QApplication::translate("EditSingleShortcutData", "None", 0, QApplication::UnicodeUTF8));
00140
00141 #ifndef QT_NO_TOOLTIP
00142 error_label->setToolTip(QString());
00143 #endif // QT_NO_TOOLTIP
00144
00145
00146 #ifndef QT_NO_STATUSTIP
00147 error_label->setStatusTip(QString());
00148 #endif // QT_NO_STATUSTIP
00149
00150
00151 #ifndef QT_NO_WHATSTHIS
00152 error_label->setWhatsThis(QString());
00153 #endif // QT_NO_WHATSTHIS
00154
00155 Q_UNUSED(EditSingleShortcutData);
00156 }
00157
00158 };
00159
00160 namespace Ui {
00161 class EditSingleShortcutData: public Ui_EditSingleShortcutData {};
00162 }
00163
00164 QT_END_NAMESPACE
00165
00166 #endif // EDITSINGLESHORTCUTDATA_H