00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_SHEETMANAGERDIALOG_H
00011 #define UI_SHEETMANAGERDIALOG_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/QDialogButtonBox>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QLineEdit>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QSpacerItem>
00025 #include <QtGui/QTabWidget>
00026 #include <QtGui/QTreeWidget>
00027 #include <QtGui/QVBoxLayout>
00028 #include <QtGui/QWidget>
00029
00030 QT_BEGIN_NAMESPACE
00031
00032 class Ui_ProjectManagerDialog
00033 {
00034 public:
00035 QVBoxLayout *vboxLayout;
00036 QTabWidget *tabWidget;
00037 QWidget *tab_4;
00038 QWidget *tab;
00039 QHBoxLayout *hboxLayout;
00040 QTreeWidget *treeSheetWidget;
00041 QVBoxLayout *vboxLayout1;
00042 QGroupBox *groupBox_4;
00043 QVBoxLayout *vboxLayout2;
00044 QLineEdit *selectedSheetName;
00045 QHBoxLayout *hboxLayout1;
00046 QPushButton *deleteSheetButton;
00047 QSpacerItem *spacerItem;
00048 QPushButton *renameSheetButton;
00049 QGroupBox *groupBox_2;
00050 QHBoxLayout *hboxLayout2;
00051 QHBoxLayout *hboxLayout3;
00052 QPushButton *createSheetButton;
00053 QSpacerItem *spacerItem1;
00054 QHBoxLayout *hboxLayout4;
00055 QHBoxLayout *hboxLayout5;
00056 QPushButton *undoPushButton;
00057 QPushButton *redoPushButton;
00058 QDialogButtonBox *buttonBox;
00059
00060 void setupUi(QDialog *ProjectManagerDialog)
00061 {
00062 if (ProjectManagerDialog->objectName().isEmpty())
00063 ProjectManagerDialog->setObjectName(QString::fromUtf8("ProjectManagerDialog"));
00064 ProjectManagerDialog->resize(600, 309);
00065 ProjectManagerDialog->setMaximumSize(QSize(600, 500));
00066 vboxLayout = new QVBoxLayout(ProjectManagerDialog);
00067 #ifndef Q_OS_MAC
00068 vboxLayout->setSpacing(6);
00069 #endif
00070 #ifndef Q_OS_MAC
00071 vboxLayout->setMargin(9);
00072 #endif
00073 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00074 tabWidget = new QTabWidget(ProjectManagerDialog);
00075 tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
00076 tab_4 = new QWidget();
00077 tab_4->setObjectName(QString::fromUtf8("tab_4"));
00078 tabWidget->addTab(tab_4, QString());
00079 tab = new QWidget();
00080 tab->setObjectName(QString::fromUtf8("tab"));
00081 hboxLayout = new QHBoxLayout(tab);
00082 #ifndef Q_OS_MAC
00083 hboxLayout->setSpacing(6);
00084 #endif
00085 #ifndef Q_OS_MAC
00086 hboxLayout->setMargin(9);
00087 #endif
00088 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00089 treeSheetWidget = new QTreeWidget(tab);
00090 treeSheetWidget->setObjectName(QString::fromUtf8("treeSheetWidget"));
00091 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(7));
00092 sizePolicy.setHorizontalStretch(10);
00093 sizePolicy.setVerticalStretch(5);
00094 sizePolicy.setHeightForWidth(treeSheetWidget->sizePolicy().hasHeightForWidth());
00095 treeSheetWidget->setSizePolicy(sizePolicy);
00096 treeSheetWidget->setMinimumSize(QSize(250, 120));
00097
00098 hboxLayout->addWidget(treeSheetWidget);
00099
00100 vboxLayout1 = new QVBoxLayout();
00101 #ifndef Q_OS_MAC
00102 vboxLayout1->setSpacing(6);
00103 #endif
00104 vboxLayout1->setMargin(0);
00105 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00106 groupBox_4 = new QGroupBox(tab);
00107 groupBox_4->setObjectName(QString::fromUtf8("groupBox_4"));
00108 vboxLayout2 = new QVBoxLayout(groupBox_4);
00109 #ifndef Q_OS_MAC
00110 vboxLayout2->setSpacing(6);
00111 #endif
00112 #ifndef Q_OS_MAC
00113 vboxLayout2->setMargin(9);
00114 #endif
00115 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00116 selectedSheetName = new QLineEdit(groupBox_4);
00117 selectedSheetName->setObjectName(QString::fromUtf8("selectedSheetName"));
00118 selectedSheetName->setMinimumSize(QSize(0, 0));
00119
00120 vboxLayout2->addWidget(selectedSheetName);
00121
00122 hboxLayout1 = new QHBoxLayout();
00123 #ifndef Q_OS_MAC
00124 hboxLayout1->setSpacing(6);
00125 #endif
00126 hboxLayout1->setMargin(0);
00127 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00128 deleteSheetButton = new QPushButton(groupBox_4);
00129 deleteSheetButton->setObjectName(QString::fromUtf8("deleteSheetButton"));
00130 deleteSheetButton->setAutoDefault(false);
00131
00132 hboxLayout1->addWidget(deleteSheetButton);
00133
00134 spacerItem = new QSpacerItem(10, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
00135
00136 hboxLayout1->addItem(spacerItem);
00137
00138 renameSheetButton = new QPushButton(groupBox_4);
00139 renameSheetButton->setObjectName(QString::fromUtf8("renameSheetButton"));
00140
00141 hboxLayout1->addWidget(renameSheetButton);
00142
00143
00144 vboxLayout2->addLayout(hboxLayout1);
00145
00146
00147 vboxLayout1->addWidget(groupBox_4);
00148
00149 groupBox_2 = new QGroupBox(tab);
00150 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00151 hboxLayout2 = new QHBoxLayout(groupBox_2);
00152 #ifndef Q_OS_MAC
00153 hboxLayout2->setSpacing(6);
00154 #endif
00155 #ifndef Q_OS_MAC
00156 hboxLayout2->setMargin(9);
00157 #endif
00158 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00159 hboxLayout3 = new QHBoxLayout();
00160 #ifndef Q_OS_MAC
00161 hboxLayout3->setSpacing(6);
00162 #endif
00163 #ifndef Q_OS_MAC
00164 hboxLayout3->setMargin(0);
00165 #endif
00166 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00167 createSheetButton = new QPushButton(groupBox_2);
00168 createSheetButton->setObjectName(QString::fromUtf8("createSheetButton"));
00169
00170 hboxLayout3->addWidget(createSheetButton);
00171
00172
00173 hboxLayout2->addLayout(hboxLayout3);
00174
00175
00176 vboxLayout1->addWidget(groupBox_2);
00177
00178 spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00179
00180 vboxLayout1->addItem(spacerItem1);
00181
00182
00183 hboxLayout->addLayout(vboxLayout1);
00184
00185 tabWidget->addTab(tab, QString());
00186
00187 vboxLayout->addWidget(tabWidget);
00188
00189 hboxLayout4 = new QHBoxLayout();
00190 #ifndef Q_OS_MAC
00191 hboxLayout4->setSpacing(6);
00192 #endif
00193 hboxLayout4->setMargin(0);
00194 hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
00195 hboxLayout5 = new QHBoxLayout();
00196 #ifndef Q_OS_MAC
00197 hboxLayout5->setSpacing(6);
00198 #endif
00199 #ifndef Q_OS_MAC
00200 hboxLayout5->setMargin(0);
00201 #endif
00202 hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5"));
00203 undoPushButton = new QPushButton(ProjectManagerDialog);
00204 undoPushButton->setObjectName(QString::fromUtf8("undoPushButton"));
00205 undoPushButton->setMaximumSize(QSize(16777215, 22));
00206
00207 hboxLayout5->addWidget(undoPushButton);
00208
00209 redoPushButton = new QPushButton(ProjectManagerDialog);
00210 redoPushButton->setObjectName(QString::fromUtf8("redoPushButton"));
00211 redoPushButton->setMaximumSize(QSize(16777215, 22));
00212
00213 hboxLayout5->addWidget(redoPushButton);
00214
00215
00216 hboxLayout4->addLayout(hboxLayout5);
00217
00218 buttonBox = new QDialogButtonBox(ProjectManagerDialog);
00219 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
00220 buttonBox->setOrientation(Qt::Horizontal);
00221 buttonBox->setStandardButtons(QDialogButtonBox::Close);
00222
00223 hboxLayout4->addWidget(buttonBox);
00224
00225
00226 vboxLayout->addLayout(hboxLayout4);
00227
00228
00229 retranslateUi(ProjectManagerDialog);
00230 QObject::connect(buttonBox, SIGNAL(clicked(QAbstractButton*)), ProjectManagerDialog, SLOT(accept()));
00231 QObject::connect(selectedSheetName, SIGNAL(returnPressed()), renameSheetButton, SLOT(animateClick()));
00232
00233 tabWidget->setCurrentIndex(1);
00234
00235
00236 QMetaObject::connectSlotsByName(ProjectManagerDialog);
00237 }
00238
00239 void retranslateUi(QDialog *ProjectManagerDialog)
00240 {
00241 ProjectManagerDialog->setWindowTitle(QApplication::translate("ProjectManagerDialog", "Dialog", 0, QApplication::UnicodeUTF8));
00242 tabWidget->setTabText(tabWidget->indexOf(tab_4), QApplication::translate("ProjectManagerDialog", "Project", 0, QApplication::UnicodeUTF8));
00243 groupBox_4->setTitle(QApplication::translate("ProjectManagerDialog", "Selected Sheet", 0, QApplication::UnicodeUTF8));
00244 deleteSheetButton->setText(QApplication::translate("ProjectManagerDialog", "Delete", 0, QApplication::UnicodeUTF8));
00245 renameSheetButton->setText(QApplication::translate("ProjectManagerDialog", "Rename", 0, QApplication::UnicodeUTF8));
00246 groupBox_2->setTitle(QApplication::translate("ProjectManagerDialog", "New Sheet", 0, QApplication::UnicodeUTF8));
00247 createSheetButton->setText(QApplication::translate("ProjectManagerDialog", "Create new Sheet", 0, QApplication::UnicodeUTF8));
00248 tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate("ProjectManagerDialog", "Sheets", 0, QApplication::UnicodeUTF8));
00249 undoPushButton->setText(QApplication::translate("ProjectManagerDialog", "undotext", 0, QApplication::UnicodeUTF8));
00250 redoPushButton->setText(QApplication::translate("ProjectManagerDialog", "redotext", 0, QApplication::UnicodeUTF8));
00251 Q_UNUSED(ProjectManagerDialog);
00252 }
00253
00254 };
00255
00256 namespace Ui {
00257 class ProjectManagerDialog: public Ui_ProjectManagerDialog {};
00258 }
00259
00260 QT_END_NAMESPACE
00261
00262 #endif // UI_SHEETMANAGERDIALOG_H