00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGMACROEXECUTE_H
00011 #define UI_DLGMACROEXECUTE_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QDialog>
00018 #include <QtGui/QGridLayout>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHeaderView>
00021 #include <QtGui/QLineEdit>
00022 #include <QtGui/QPushButton>
00023 #include <QtGui/QSpacerItem>
00024 #include <QtGui/QTreeWidget>
00025 #include <QtGui/QVBoxLayout>
00026 #include "Gui/FileDialog.h"
00027
00028 namespace Gui {
00029 namespace Dialog {
00030
00031 class Ui_DlgMacroExecute
00032 {
00033 public:
00034 QGridLayout *gridLayout;
00035 QGridLayout *gridLayout1;
00036 QGroupBox *MacroNameGroup;
00037 QGridLayout *gridLayout2;
00038 QTreeWidget *macroListBox;
00039 QLineEdit *LineEditMacroName;
00040 QGroupBox *DestinationGroup;
00041 QGridLayout *gridLayout3;
00042 Gui::FileChooser *fileChooser;
00043 QVBoxLayout *vboxLayout;
00044 QPushButton *executeButton;
00045 QPushButton *closeButton;
00046 QSpacerItem *spacerItem;
00047 QPushButton *createButton;
00048 QPushButton *deleteButton;
00049 QPushButton *editButton;
00050 QSpacerItem *spacerItem1;
00051
00052 void setupUi(QDialog *Gui__Dialog__DlgMacroExecute)
00053 {
00054 if (Gui__Dialog__DlgMacroExecute->objectName().isEmpty())
00055 Gui__Dialog__DlgMacroExecute->setObjectName(QString::fromUtf8("Gui__Dialog__DlgMacroExecute"));
00056 Gui__Dialog__DlgMacroExecute->resize(344, 346);
00057 Gui__Dialog__DlgMacroExecute->setModal(true);
00058 gridLayout = new QGridLayout(Gui__Dialog__DlgMacroExecute);
00059 gridLayout->setSpacing(6);
00060 gridLayout->setMargin(9);
00061 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00062 gridLayout1 = new QGridLayout();
00063 gridLayout1->setSpacing(6);
00064 gridLayout1->setMargin(0);
00065 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00066 MacroNameGroup = new QGroupBox(Gui__Dialog__DlgMacroExecute);
00067 MacroNameGroup->setObjectName(QString::fromUtf8("MacroNameGroup"));
00068 gridLayout2 = new QGridLayout(MacroNameGroup);
00069 gridLayout2->setSpacing(6);
00070 gridLayout2->setMargin(9);
00071 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00072 macroListBox = new QTreeWidget(MacroNameGroup);
00073 macroListBox->setObjectName(QString::fromUtf8("macroListBox"));
00074 macroListBox->setRootIsDecorated(false);
00075
00076 gridLayout2->addWidget(macroListBox, 1, 0, 1, 1);
00077
00078 LineEditMacroName = new QLineEdit(MacroNameGroup);
00079 LineEditMacroName->setObjectName(QString::fromUtf8("LineEditMacroName"));
00080 LineEditMacroName->setEnabled(false);
00081
00082 gridLayout2->addWidget(LineEditMacroName, 0, 0, 1, 1);
00083
00084
00085 gridLayout1->addWidget(MacroNameGroup, 0, 0, 1, 1);
00086
00087 DestinationGroup = new QGroupBox(Gui__Dialog__DlgMacroExecute);
00088 DestinationGroup->setObjectName(QString::fromUtf8("DestinationGroup"));
00089 gridLayout3 = new QGridLayout(DestinationGroup);
00090 gridLayout3->setSpacing(6);
00091 gridLayout3->setMargin(9);
00092 gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
00093 fileChooser = new Gui::FileChooser(DestinationGroup);
00094 fileChooser->setObjectName(QString::fromUtf8("fileChooser"));
00095 fileChooser->setFocusPolicy(Qt::StrongFocus);
00096 fileChooser->setMode(Gui::FileChooser::Directory);
00097
00098 gridLayout3->addWidget(fileChooser, 0, 0, 1, 1);
00099
00100
00101 gridLayout1->addWidget(DestinationGroup, 1, 0, 1, 1);
00102
00103 vboxLayout = new QVBoxLayout();
00104 vboxLayout->setSpacing(6);
00105 vboxLayout->setMargin(0);
00106 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00107 executeButton = new QPushButton(Gui__Dialog__DlgMacroExecute);
00108 executeButton->setObjectName(QString::fromUtf8("executeButton"));
00109 executeButton->setEnabled(false);
00110
00111 vboxLayout->addWidget(executeButton);
00112
00113 closeButton = new QPushButton(Gui__Dialog__DlgMacroExecute);
00114 closeButton->setObjectName(QString::fromUtf8("closeButton"));
00115
00116 vboxLayout->addWidget(closeButton);
00117
00118 spacerItem = new QSpacerItem(77, 34, QSizePolicy::Minimum, QSizePolicy::Expanding);
00119
00120 vboxLayout->addItem(spacerItem);
00121
00122 createButton = new QPushButton(Gui__Dialog__DlgMacroExecute);
00123 createButton->setObjectName(QString::fromUtf8("createButton"));
00124 createButton->setEnabled(true);
00125
00126 vboxLayout->addWidget(createButton);
00127
00128 deleteButton = new QPushButton(Gui__Dialog__DlgMacroExecute);
00129 deleteButton->setObjectName(QString::fromUtf8("deleteButton"));
00130 deleteButton->setEnabled(false);
00131
00132 vboxLayout->addWidget(deleteButton);
00133
00134 editButton = new QPushButton(Gui__Dialog__DlgMacroExecute);
00135 editButton->setObjectName(QString::fromUtf8("editButton"));
00136 editButton->setEnabled(false);
00137
00138 vboxLayout->addWidget(editButton);
00139
00140 spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00141
00142 vboxLayout->addItem(spacerItem1);
00143
00144
00145 gridLayout1->addLayout(vboxLayout, 0, 1, 1, 1);
00146
00147
00148 gridLayout->addLayout(gridLayout1, 0, 0, 1, 1);
00149
00150 QWidget::setTabOrder(LineEditMacroName, macroListBox);
00151 QWidget::setTabOrder(macroListBox, executeButton);
00152 QWidget::setTabOrder(executeButton, closeButton);
00153 QWidget::setTabOrder(closeButton, createButton);
00154 QWidget::setTabOrder(createButton, deleteButton);
00155 QWidget::setTabOrder(deleteButton, editButton);
00156 QWidget::setTabOrder(editButton, fileChooser);
00157
00158 retranslateUi(Gui__Dialog__DlgMacroExecute);
00159 QObject::connect(closeButton, SIGNAL(clicked()), Gui__Dialog__DlgMacroExecute, SLOT(reject()));
00160 QObject::connect(macroListBox, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), Gui__Dialog__DlgMacroExecute, SLOT(accept()));
00161 QObject::connect(executeButton, SIGNAL(clicked()), Gui__Dialog__DlgMacroExecute, SLOT(accept()));
00162
00163 QMetaObject::connectSlotsByName(Gui__Dialog__DlgMacroExecute);
00164 }
00165
00166 void retranslateUi(QDialog *Gui__Dialog__DlgMacroExecute)
00167 {
00168 Gui__Dialog__DlgMacroExecute->setWindowTitle(QApplication::translate("Gui::Dialog::DlgMacroExecute", "Execute macro", 0, QApplication::UnicodeUTF8));
00169 MacroNameGroup->setTitle(QApplication::translate("Gui::Dialog::DlgMacroExecute", "Macro name:", 0, QApplication::UnicodeUTF8));
00170 DestinationGroup->setTitle(QApplication::translate("Gui::Dialog::DlgMacroExecute", "Macro destination:", 0, QApplication::UnicodeUTF8));
00171 executeButton->setText(QApplication::translate("Gui::Dialog::DlgMacroExecute", "Execute", 0, QApplication::UnicodeUTF8));
00172 closeButton->setText(QApplication::translate("Gui::Dialog::DlgMacroExecute", "Close", 0, QApplication::UnicodeUTF8));
00173 createButton->setText(QApplication::translate("Gui::Dialog::DlgMacroExecute", "Create", 0, QApplication::UnicodeUTF8));
00174 deleteButton->setText(QApplication::translate("Gui::Dialog::DlgMacroExecute", "Delete", 0, QApplication::UnicodeUTF8));
00175 editButton->setText(QApplication::translate("Gui::Dialog::DlgMacroExecute", "Edit", 0, QApplication::UnicodeUTF8));
00176 Q_UNUSED(Gui__Dialog__DlgMacroExecute);
00177 }
00178
00179 };
00180
00181 }
00182 }
00183
00184 namespace Gui {
00185 namespace Dialog {
00186 namespace Ui {
00187 class DlgMacroExecute: public Ui_DlgMacroExecute {};
00188 }
00189 }
00190 }
00191
00192 #endif // UI_DLGMACROEXECUTE_H