00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGACTIONS_H
00011 #define UI_DLGACTIONS_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/QGroupBox>
00020 #include <QtGui/QHeaderView>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QLineEdit>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QSpacerItem>
00025 #include <QtGui/QToolButton>
00026 #include <QtGui/QTreeWidget>
00027 #include <QtGui/QWidget>
00028 #include "Gui/Widgets.h"
00029
00030 namespace Gui {
00031 namespace Dialog {
00032
00033 class Ui_DlgCustomActions
00034 {
00035 public:
00036 QGridLayout *gridLayout;
00037 QGroupBox *GroupBox7;
00038 QGridLayout *gridLayout1;
00039 QTreeWidget *actionListWidget;
00040 QLabel *TextLabel1_3;
00041 QSpacerItem *spacerItem;
00042 QToolButton *buttonChoosePixmap;
00043 QLabel *TextLabel5_2;
00044 Gui::AccelLineEdit *actionAccel;
00045 QLabel *TextLabel1;
00046 QLineEdit *actionWhatsThis;
00047 QLabel *TextLabel2;
00048 QLineEdit *actionStatus;
00049 QLabel *TextLabel3_2;
00050 QLineEdit *actionToolTip;
00051 QLabel *TextLabel2_2;
00052 QLineEdit *actionMenu;
00053 QLabel *TextLabel3;
00054 QComboBox *actionMacros;
00055 QLabel *pixmapLabel;
00056 QSpacerItem *spacerItem1;
00057 QSpacerItem *spacerItem2;
00058 QPushButton *buttonAddAction;
00059 QPushButton *buttonRemoveAction;
00060 QPushButton *buttonReplaceAction;
00061
00062 void setupUi(QWidget *Gui__Dialog__DlgCustomActions)
00063 {
00064 if (Gui__Dialog__DlgCustomActions->objectName().isEmpty())
00065 Gui__Dialog__DlgCustomActions->setObjectName(QString::fromUtf8("Gui__Dialog__DlgCustomActions"));
00066 Gui__Dialog__DlgCustomActions->resize(523, 383);
00067 gridLayout = new QGridLayout(Gui__Dialog__DlgCustomActions);
00068 gridLayout->setSpacing(6);
00069 gridLayout->setMargin(9);
00070 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00071 GroupBox7 = new QGroupBox(Gui__Dialog__DlgCustomActions);
00072 GroupBox7->setObjectName(QString::fromUtf8("GroupBox7"));
00073 gridLayout1 = new QGridLayout(GroupBox7);
00074 gridLayout1->setSpacing(6);
00075 gridLayout1->setMargin(9);
00076 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00077 actionListWidget = new QTreeWidget(GroupBox7);
00078 actionListWidget->setObjectName(QString::fromUtf8("actionListWidget"));
00079 actionListWidget->setMaximumSize(QSize(150, 16777215));
00080 actionListWidget->setRootIsDecorated(false);
00081
00082 gridLayout1->addWidget(actionListWidget, 0, 0, 9, 1);
00083
00084 TextLabel1_3 = new QLabel(GroupBox7);
00085 TextLabel1_3->setObjectName(QString::fromUtf8("TextLabel1_3"));
00086
00087 gridLayout1->addWidget(TextLabel1_3, 0, 1, 1, 1);
00088
00089 spacerItem = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00090
00091 gridLayout1->addItem(spacerItem, 6, 4, 1, 2);
00092
00093 buttonChoosePixmap = new QToolButton(GroupBox7);
00094 buttonChoosePixmap->setObjectName(QString::fromUtf8("buttonChoosePixmap"));
00095 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00096 sizePolicy.setHorizontalStretch(0);
00097 sizePolicy.setVerticalStretch(0);
00098 sizePolicy.setHeightForWidth(buttonChoosePixmap->sizePolicy().hasHeightForWidth());
00099 buttonChoosePixmap->setSizePolicy(sizePolicy);
00100 buttonChoosePixmap->setMinimumSize(QSize(40, 30));
00101 buttonChoosePixmap->setMaximumSize(QSize(40, 30));
00102
00103 gridLayout1->addWidget(buttonChoosePixmap, 6, 2, 1, 1);
00104
00105 TextLabel5_2 = new QLabel(GroupBox7);
00106 TextLabel5_2->setObjectName(QString::fromUtf8("TextLabel5_2"));
00107
00108 gridLayout1->addWidget(TextLabel5_2, 6, 1, 1, 1);
00109
00110 actionAccel = new Gui::AccelLineEdit(GroupBox7);
00111 actionAccel->setObjectName(QString::fromUtf8("actionAccel"));
00112
00113 gridLayout1->addWidget(actionAccel, 5, 2, 1, 4);
00114
00115 TextLabel1 = new QLabel(GroupBox7);
00116 TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));
00117
00118 gridLayout1->addWidget(TextLabel1, 5, 1, 1, 1);
00119
00120 actionWhatsThis = new QLineEdit(GroupBox7);
00121 actionWhatsThis->setObjectName(QString::fromUtf8("actionWhatsThis"));
00122
00123 gridLayout1->addWidget(actionWhatsThis, 4, 2, 1, 4);
00124
00125 TextLabel2 = new QLabel(GroupBox7);
00126 TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
00127
00128 gridLayout1->addWidget(TextLabel2, 4, 1, 1, 1);
00129
00130 actionStatus = new QLineEdit(GroupBox7);
00131 actionStatus->setObjectName(QString::fromUtf8("actionStatus"));
00132
00133 gridLayout1->addWidget(actionStatus, 3, 2, 1, 4);
00134
00135 TextLabel3_2 = new QLabel(GroupBox7);
00136 TextLabel3_2->setObjectName(QString::fromUtf8("TextLabel3_2"));
00137
00138 gridLayout1->addWidget(TextLabel3_2, 3, 1, 1, 1);
00139
00140 actionToolTip = new QLineEdit(GroupBox7);
00141 actionToolTip->setObjectName(QString::fromUtf8("actionToolTip"));
00142 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
00143 sizePolicy1.setHorizontalStretch(0);
00144 sizePolicy1.setVerticalStretch(0);
00145 sizePolicy1.setHeightForWidth(actionToolTip->sizePolicy().hasHeightForWidth());
00146 actionToolTip->setSizePolicy(sizePolicy1);
00147
00148 gridLayout1->addWidget(actionToolTip, 2, 2, 1, 4);
00149
00150 TextLabel2_2 = new QLabel(GroupBox7);
00151 TextLabel2_2->setObjectName(QString::fromUtf8("TextLabel2_2"));
00152
00153 gridLayout1->addWidget(TextLabel2_2, 2, 1, 1, 1);
00154
00155 actionMenu = new QLineEdit(GroupBox7);
00156 actionMenu->setObjectName(QString::fromUtf8("actionMenu"));
00157
00158 gridLayout1->addWidget(actionMenu, 1, 2, 1, 4);
00159
00160 TextLabel3 = new QLabel(GroupBox7);
00161 TextLabel3->setObjectName(QString::fromUtf8("TextLabel3"));
00162
00163 gridLayout1->addWidget(TextLabel3, 1, 1, 1, 1);
00164
00165 actionMacros = new QComboBox(GroupBox7);
00166 actionMacros->setObjectName(QString::fromUtf8("actionMacros"));
00167
00168 gridLayout1->addWidget(actionMacros, 0, 2, 1, 4);
00169
00170 pixmapLabel = new QLabel(GroupBox7);
00171 pixmapLabel->setObjectName(QString::fromUtf8("pixmapLabel"));
00172 pixmapLabel->setMinimumSize(QSize(40, 40));
00173 pixmapLabel->setMaximumSize(QSize(40, 40));
00174 pixmapLabel->setScaledContents(true);
00175
00176 gridLayout1->addWidget(pixmapLabel, 6, 3, 1, 1);
00177
00178 spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);
00179
00180 gridLayout1->addItem(spacerItem1, 7, 1, 1, 1);
00181
00182 spacerItem2 = new QSpacerItem(41, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00183
00184 gridLayout1->addItem(spacerItem2, 8, 5, 1, 1);
00185
00186 buttonAddAction = new QPushButton(GroupBox7);
00187 buttonAddAction->setObjectName(QString::fromUtf8("buttonAddAction"));
00188
00189 gridLayout1->addWidget(buttonAddAction, 8, 1, 1, 1);
00190
00191 buttonRemoveAction = new QPushButton(GroupBox7);
00192 buttonRemoveAction->setObjectName(QString::fromUtf8("buttonRemoveAction"));
00193
00194 gridLayout1->addWidget(buttonRemoveAction, 8, 2, 1, 2);
00195
00196 buttonReplaceAction = new QPushButton(GroupBox7);
00197 buttonReplaceAction->setObjectName(QString::fromUtf8("buttonReplaceAction"));
00198
00199 gridLayout1->addWidget(buttonReplaceAction, 8, 4, 1, 1);
00200
00201
00202 gridLayout->addWidget(GroupBox7, 0, 0, 1, 1);
00203
00204 QWidget::setTabOrder(actionMacros, actionMenu);
00205 QWidget::setTabOrder(actionMenu, actionToolTip);
00206 QWidget::setTabOrder(actionToolTip, actionStatus);
00207 QWidget::setTabOrder(actionStatus, actionWhatsThis);
00208 QWidget::setTabOrder(actionWhatsThis, actionAccel);
00209 QWidget::setTabOrder(actionAccel, buttonAddAction);
00210 QWidget::setTabOrder(buttonAddAction, buttonRemoveAction);
00211
00212 retranslateUi(Gui__Dialog__DlgCustomActions);
00213
00214 QMetaObject::connectSlotsByName(Gui__Dialog__DlgCustomActions);
00215 }
00216
00217 void retranslateUi(QWidget *Gui__Dialog__DlgCustomActions)
00218 {
00219 Gui__Dialog__DlgCustomActions->setWindowTitle(QApplication::translate("Gui::Dialog::DlgCustomActions", "Macros", 0, QApplication::UnicodeUTF8));
00220 GroupBox7->setTitle(QApplication::translate("Gui::Dialog::DlgCustomActions", "Setup Custom Macros", 0, QApplication::UnicodeUTF8));
00221 TextLabel1_3->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "Macro:", 0, QApplication::UnicodeUTF8));
00222 buttonChoosePixmap->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "...", 0, QApplication::UnicodeUTF8));
00223 TextLabel5_2->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "Pixmap", 0, QApplication::UnicodeUTF8));
00224 TextLabel1->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "Accelerator:", 0, QApplication::UnicodeUTF8));
00225 TextLabel2->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "What's this:", 0, QApplication::UnicodeUTF8));
00226 TextLabel3_2->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "Status text:", 0, QApplication::UnicodeUTF8));
00227 TextLabel2_2->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "Tool tip:", 0, QApplication::UnicodeUTF8));
00228 TextLabel3->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "Menu text:", 0, QApplication::UnicodeUTF8));
00229 buttonAddAction->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "Add", 0, QApplication::UnicodeUTF8));
00230 buttonRemoveAction->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "Remove", 0, QApplication::UnicodeUTF8));
00231 buttonReplaceAction->setText(QApplication::translate("Gui::Dialog::DlgCustomActions", "Replace", 0, QApplication::UnicodeUTF8));
00232 Q_UNUSED(Gui__Dialog__DlgCustomActions);
00233 }
00234
00235 };
00236
00237 }
00238 }
00239
00240 namespace Gui {
00241 namespace Dialog {
00242 namespace Ui {
00243 class DlgCustomActions: public Ui_DlgCustomActions {};
00244 }
00245 }
00246 }
00247
00248 #endif // UI_DLGACTIONS_H