00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGPROJECTUTILITY_H
00011 #define UI_DLGPROJECTUTILITY_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QCheckBox>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QDialogButtonBox>
00020 #include <QtGui/QGridLayout>
00021 #include <QtGui/QGroupBox>
00022 #include <QtGui/QHeaderView>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QPushButton>
00025 #include <QtGui/QSpacerItem>
00026 #include "Gui/FileDialog.h"
00027
00028 namespace Gui {
00029 namespace Dialog {
00030
00031 class Ui_DlgProjectUtility
00032 {
00033 public:
00034 QGridLayout *gridLayout_4;
00035 QGridLayout *gridLayout_3;
00036 QGroupBox *groupBox;
00037 QGridLayout *gridLayout;
00038 QLabel *label;
00039 Gui::FileChooser *extractSource;
00040 QLabel *label_2;
00041 Gui::FileChooser *extractDest;
00042 QPushButton *extractButton;
00043 QGroupBox *groupBox_2;
00044 QGridLayout *gridLayout_2;
00045 QLabel *label_3;
00046 Gui::FileChooser *createSource;
00047 QLabel *label_4;
00048 Gui::FileChooser *createDest;
00049 QPushButton *createButton;
00050 QSpacerItem *verticalSpacer;
00051 QCheckBox *checkLoadProject;
00052 QDialogButtonBox *buttonBox;
00053
00054 void setupUi(QDialog *Gui__Dialog__DlgProjectUtility)
00055 {
00056 if (Gui__Dialog__DlgProjectUtility->objectName().isEmpty())
00057 Gui__Dialog__DlgProjectUtility->setObjectName(QString::fromUtf8("Gui__Dialog__DlgProjectUtility"));
00058 Gui__Dialog__DlgProjectUtility->resize(445, 262);
00059 gridLayout_4 = new QGridLayout(Gui__Dialog__DlgProjectUtility);
00060 gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
00061 gridLayout_3 = new QGridLayout();
00062 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
00063 groupBox = new QGroupBox(Gui__Dialog__DlgProjectUtility);
00064 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00065 gridLayout = new QGridLayout(groupBox);
00066 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00067 label = new QLabel(groupBox);
00068 label->setObjectName(QString::fromUtf8("label"));
00069
00070 gridLayout->addWidget(label, 0, 0, 1, 1);
00071
00072 extractSource = new Gui::FileChooser(groupBox);
00073 extractSource->setObjectName(QString::fromUtf8("extractSource"));
00074
00075 gridLayout->addWidget(extractSource, 0, 1, 1, 1);
00076
00077 label_2 = new QLabel(groupBox);
00078 label_2->setObjectName(QString::fromUtf8("label_2"));
00079
00080 gridLayout->addWidget(label_2, 1, 0, 1, 1);
00081
00082 extractDest = new Gui::FileChooser(groupBox);
00083 extractDest->setObjectName(QString::fromUtf8("extractDest"));
00084 extractDest->setMode(Gui::FileChooser::Directory);
00085
00086 gridLayout->addWidget(extractDest, 1, 1, 1, 1);
00087
00088
00089 gridLayout_3->addWidget(groupBox, 0, 0, 1, 1);
00090
00091 extractButton = new QPushButton(Gui__Dialog__DlgProjectUtility);
00092 extractButton->setObjectName(QString::fromUtf8("extractButton"));
00093 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
00094 sizePolicy.setHorizontalStretch(0);
00095 sizePolicy.setVerticalStretch(0);
00096 sizePolicy.setHeightForWidth(extractButton->sizePolicy().hasHeightForWidth());
00097 extractButton->setSizePolicy(sizePolicy);
00098
00099 gridLayout_3->addWidget(extractButton, 0, 1, 1, 1);
00100
00101 groupBox_2 = new QGroupBox(Gui__Dialog__DlgProjectUtility);
00102 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00103 gridLayout_2 = new QGridLayout(groupBox_2);
00104 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
00105 label_3 = new QLabel(groupBox_2);
00106 label_3->setObjectName(QString::fromUtf8("label_3"));
00107
00108 gridLayout_2->addWidget(label_3, 0, 0, 1, 1);
00109
00110 createSource = new Gui::FileChooser(groupBox_2);
00111 createSource->setObjectName(QString::fromUtf8("createSource"));
00112
00113 gridLayout_2->addWidget(createSource, 0, 1, 1, 1);
00114
00115 label_4 = new QLabel(groupBox_2);
00116 label_4->setObjectName(QString::fromUtf8("label_4"));
00117
00118 gridLayout_2->addWidget(label_4, 1, 0, 1, 1);
00119
00120 createDest = new Gui::FileChooser(groupBox_2);
00121 createDest->setObjectName(QString::fromUtf8("createDest"));
00122 createDest->setMode(Gui::FileChooser::Directory);
00123
00124 gridLayout_2->addWidget(createDest, 1, 1, 1, 1);
00125
00126
00127 gridLayout_3->addWidget(groupBox_2, 1, 0, 1, 1);
00128
00129 createButton = new QPushButton(Gui__Dialog__DlgProjectUtility);
00130 createButton->setObjectName(QString::fromUtf8("createButton"));
00131 sizePolicy.setHeightForWidth(createButton->sizePolicy().hasHeightForWidth());
00132 createButton->setSizePolicy(sizePolicy);
00133
00134 gridLayout_3->addWidget(createButton, 1, 1, 1, 1);
00135
00136
00137 gridLayout_4->addLayout(gridLayout_3, 0, 0, 1, 2);
00138
00139 verticalSpacer = new QSpacerItem(20, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);
00140
00141 gridLayout_4->addItem(verticalSpacer, 1, 0, 1, 1);
00142
00143 checkLoadProject = new QCheckBox(Gui__Dialog__DlgProjectUtility);
00144 checkLoadProject->setObjectName(QString::fromUtf8("checkLoadProject"));
00145
00146 gridLayout_4->addWidget(checkLoadProject, 2, 0, 1, 1);
00147
00148 buttonBox = new QDialogButtonBox(Gui__Dialog__DlgProjectUtility);
00149 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
00150 buttonBox->setOrientation(Qt::Horizontal);
00151 buttonBox->setStandardButtons(QDialogButtonBox::Close);
00152
00153 gridLayout_4->addWidget(buttonBox, 2, 1, 1, 1);
00154
00155
00156 retranslateUi(Gui__Dialog__DlgProjectUtility);
00157 QObject::connect(buttonBox, SIGNAL(accepted()), Gui__Dialog__DlgProjectUtility, SLOT(accept()));
00158 QObject::connect(buttonBox, SIGNAL(rejected()), Gui__Dialog__DlgProjectUtility, SLOT(reject()));
00159
00160 QMetaObject::connectSlotsByName(Gui__Dialog__DlgProjectUtility);
00161 }
00162
00163 void retranslateUi(QDialog *Gui__Dialog__DlgProjectUtility)
00164 {
00165 Gui__Dialog__DlgProjectUtility->setWindowTitle(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Project utility", 0, QApplication::UnicodeUTF8));
00166 groupBox->setTitle(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Extract project", 0, QApplication::UnicodeUTF8));
00167 label->setText(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Source", 0, QApplication::UnicodeUTF8));
00168 extractSource->setFilter(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Project file (*.fcstd)", 0, QApplication::UnicodeUTF8));
00169 label_2->setText(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Destination", 0, QApplication::UnicodeUTF8));
00170 extractButton->setText(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Extract", 0, QApplication::UnicodeUTF8));
00171 groupBox_2->setTitle(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Create project", 0, QApplication::UnicodeUTF8));
00172 label_3->setText(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Source", 0, QApplication::UnicodeUTF8));
00173 createSource->setFilter(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Document.xml", 0, QApplication::UnicodeUTF8));
00174 label_4->setText(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Destination", 0, QApplication::UnicodeUTF8));
00175 createButton->setText(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Create", 0, QApplication::UnicodeUTF8));
00176 checkLoadProject->setText(QApplication::translate("Gui::Dialog::DlgProjectUtility", "Load project file after creation", 0, QApplication::UnicodeUTF8));
00177 Q_UNUSED(Gui__Dialog__DlgProjectUtility);
00178 }
00179
00180 };
00181
00182 }
00183 }
00184
00185 namespace Gui {
00186 namespace Dialog {
00187 namespace Ui {
00188 class DlgProjectUtility: public Ui_DlgProjectUtility {};
00189 }
00190 }
00191 }
00192
00193 #endif // UI_DLGPROJECTUTILITY_H