00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_FOLDEROPENDIALOG_BASE_H
00011 #define UI_FOLDEROPENDIALOG_BASE_H
00012
00013 #include <QtCore/QDate>
00014 #include <QtCore/QVariant>
00015 #include <QtGui/QAction>
00016 #include <QtGui/QApplication>
00017 #include <QtGui/QButtonGroup>
00018 #include <QtGui/QComboBox>
00019 #include <QtGui/QDateTimeEdit>
00020 #include <QtGui/QDialog>
00021 #include <QtGui/QGridLayout>
00022 #include <QtGui/QGroupBox>
00023 #include <QtGui/QHBoxLayout>
00024 #include <QtGui/QLabel>
00025 #include <QtGui/QListWidget>
00026 #include <QtGui/QPushButton>
00027 #include <QtGui/QRadioButton>
00028 #include <QtGui/QSpacerItem>
00029 #include <QtGui/QVBoxLayout>
00030
00031 class Ui_FolderOpenDialog_BASE
00032 {
00033 public:
00034 QVBoxLayout *vboxLayout;
00035 QHBoxLayout *hboxLayout;
00036 QLabel *label_5;
00037 QLabel *label_FolderName;
00038 QGroupBox *groupBox_TagSelection;
00039 QHBoxLayout *hboxLayout1;
00040 QLabel *label_4;
00041 QComboBox *comboBox_Tags;
00042 QSpacerItem *spacerItem;
00043 QGroupBox *groupBox_ChannelSelection;
00044 QVBoxLayout *vboxLayout1;
00045 QHBoxLayout *hboxLayout2;
00046 QLabel *label_3;
00047 QComboBox *comboBox_From;
00048 QLabel *label;
00049 QComboBox *comboBox_To;
00050 QPushButton *pushButton_AddChannelRange;
00051 QHBoxLayout *hboxLayout3;
00052 QVBoxLayout *vboxLayout2;
00053 QLabel *label_2;
00054 QListWidget *listWidget_CurrentChannelSelection;
00055 QVBoxLayout *vboxLayout3;
00056 QSpacerItem *spacerItem1;
00057 QPushButton *pushButton;
00058 QGroupBox *groupBox_IOVSelection;
00059 QGridLayout *gridLayout;
00060 QRadioButton *radioButton_IOVsince;
00061 QDateTimeEdit *dateTimeEdit_Since;
00062 QSpacerItem *spacerItem2;
00063 QRadioButton *radioButton_IOVrecent;
00064 QHBoxLayout *hboxLayout4;
00065 QSpacerItem *spacerItem3;
00066 QPushButton *pushButton_Cancel;
00067 QPushButton *pushButton_Open;
00068
00069 void setupUi(QDialog *FolderOpenDialog_BASE)
00070 {
00071 if (FolderOpenDialog_BASE->objectName().isEmpty())
00072 FolderOpenDialog_BASE->setObjectName(QString::fromUtf8("FolderOpenDialog_BASE"));
00073 FolderOpenDialog_BASE->setWindowModality(Qt::ApplicationModal);
00074 FolderOpenDialog_BASE->resize(482, 515);
00075 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
00076 sizePolicy.setHorizontalStretch(0);
00077 sizePolicy.setVerticalStretch(0);
00078 sizePolicy.setHeightForWidth(FolderOpenDialog_BASE->sizePolicy().hasHeightForWidth());
00079 FolderOpenDialog_BASE->setSizePolicy(sizePolicy);
00080 FolderOpenDialog_BASE->setModal(true);
00081 vboxLayout = new QVBoxLayout(FolderOpenDialog_BASE);
00082 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00083 hboxLayout = new QHBoxLayout();
00084 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00085 label_5 = new QLabel(FolderOpenDialog_BASE);
00086 label_5->setObjectName(QString::fromUtf8("label_5"));
00087
00088 hboxLayout->addWidget(label_5);
00089
00090 label_FolderName = new QLabel(FolderOpenDialog_BASE);
00091 label_FolderName->setObjectName(QString::fromUtf8("label_FolderName"));
00092 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
00093 sizePolicy1.setHorizontalStretch(1);
00094 sizePolicy1.setVerticalStretch(0);
00095 sizePolicy1.setHeightForWidth(label_FolderName->sizePolicy().hasHeightForWidth());
00096 label_FolderName->setSizePolicy(sizePolicy1);
00097 label_FolderName->setContextMenuPolicy(Qt::NoContextMenu);
00098 label_FolderName->setFrameShape(QFrame::StyledPanel);
00099 label_FolderName->setFrameShadow(QFrame::Sunken);
00100 label_FolderName->setTextFormat(Qt::PlainText);
00101 label_FolderName->setMargin(2);
00102
00103 hboxLayout->addWidget(label_FolderName);
00104
00105
00106 vboxLayout->addLayout(hboxLayout);
00107
00108 groupBox_TagSelection = new QGroupBox(FolderOpenDialog_BASE);
00109 groupBox_TagSelection->setObjectName(QString::fromUtf8("groupBox_TagSelection"));
00110 QFont font;
00111 font.setPointSize(13);
00112 groupBox_TagSelection->setFont(font);
00113 groupBox_TagSelection->setCheckable(true);
00114 groupBox_TagSelection->setChecked(false);
00115 hboxLayout1 = new QHBoxLayout(groupBox_TagSelection);
00116 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00117 label_4 = new QLabel(groupBox_TagSelection);
00118 label_4->setObjectName(QString::fromUtf8("label_4"));
00119 sizePolicy.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
00120 label_4->setSizePolicy(sizePolicy);
00121
00122 hboxLayout1->addWidget(label_4);
00123
00124 comboBox_Tags = new QComboBox(groupBox_TagSelection);
00125 comboBox_Tags->setObjectName(QString::fromUtf8("comboBox_Tags"));
00126
00127 hboxLayout1->addWidget(comboBox_Tags);
00128
00129 spacerItem = new QSpacerItem(151, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00130
00131 hboxLayout1->addItem(spacerItem);
00132
00133
00134 vboxLayout->addWidget(groupBox_TagSelection);
00135
00136 groupBox_ChannelSelection = new QGroupBox(FolderOpenDialog_BASE);
00137 groupBox_ChannelSelection->setObjectName(QString::fromUtf8("groupBox_ChannelSelection"));
00138 groupBox_ChannelSelection->setEnabled(false);
00139 groupBox_ChannelSelection->setFont(font);
00140 groupBox_ChannelSelection->setCheckable(true);
00141 groupBox_ChannelSelection->setChecked(false);
00142 vboxLayout1 = new QVBoxLayout(groupBox_ChannelSelection);
00143 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00144 hboxLayout2 = new QHBoxLayout();
00145 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00146 label_3 = new QLabel(groupBox_ChannelSelection);
00147 label_3->setObjectName(QString::fromUtf8("label_3"));
00148
00149 hboxLayout2->addWidget(label_3);
00150
00151 comboBox_From = new QComboBox(groupBox_ChannelSelection);
00152 comboBox_From->setObjectName(QString::fromUtf8("comboBox_From"));
00153 sizePolicy1.setHeightForWidth(comboBox_From->sizePolicy().hasHeightForWidth());
00154 comboBox_From->setSizePolicy(sizePolicy1);
00155
00156 hboxLayout2->addWidget(comboBox_From);
00157
00158 label = new QLabel(groupBox_ChannelSelection);
00159 label->setObjectName(QString::fromUtf8("label"));
00160 QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Preferred);
00161 sizePolicy2.setHorizontalStretch(0);
00162 sizePolicy2.setVerticalStretch(0);
00163 sizePolicy2.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
00164 label->setSizePolicy(sizePolicy2);
00165 label->setTextFormat(Qt::PlainText);
00166
00167 hboxLayout2->addWidget(label);
00168
00169 comboBox_To = new QComboBox(groupBox_ChannelSelection);
00170 comboBox_To->setObjectName(QString::fromUtf8("comboBox_To"));
00171 sizePolicy1.setHeightForWidth(comboBox_To->sizePolicy().hasHeightForWidth());
00172 comboBox_To->setSizePolicy(sizePolicy1);
00173
00174 hboxLayout2->addWidget(comboBox_To);
00175
00176 pushButton_AddChannelRange = new QPushButton(groupBox_ChannelSelection);
00177 pushButton_AddChannelRange->setObjectName(QString::fromUtf8("pushButton_AddChannelRange"));
00178
00179 hboxLayout2->addWidget(pushButton_AddChannelRange);
00180
00181
00182 vboxLayout1->addLayout(hboxLayout2);
00183
00184 hboxLayout3 = new QHBoxLayout();
00185 hboxLayout3->setSpacing(0);
00186 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00187 vboxLayout2 = new QVBoxLayout();
00188 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00189 label_2 = new QLabel(groupBox_ChannelSelection);
00190 label_2->setObjectName(QString::fromUtf8("label_2"));
00191 label_2->setTextFormat(Qt::PlainText);
00192
00193 vboxLayout2->addWidget(label_2);
00194
00195 listWidget_CurrentChannelSelection = new QListWidget(groupBox_ChannelSelection);
00196 listWidget_CurrentChannelSelection->setObjectName(QString::fromUtf8("listWidget_CurrentChannelSelection"));
00197 listWidget_CurrentChannelSelection->setAlternatingRowColors(true);
00198
00199 vboxLayout2->addWidget(listWidget_CurrentChannelSelection);
00200
00201
00202 hboxLayout3->addLayout(vboxLayout2);
00203
00204 vboxLayout3 = new QVBoxLayout();
00205 vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
00206 spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00207
00208 vboxLayout3->addItem(spacerItem1);
00209
00210 pushButton = new QPushButton(groupBox_ChannelSelection);
00211 pushButton->setObjectName(QString::fromUtf8("pushButton"));
00212
00213 vboxLayout3->addWidget(pushButton);
00214
00215
00216 hboxLayout3->addLayout(vboxLayout3);
00217
00218
00219 vboxLayout1->addLayout(hboxLayout3);
00220
00221
00222 vboxLayout->addWidget(groupBox_ChannelSelection);
00223
00224 groupBox_IOVSelection = new QGroupBox(FolderOpenDialog_BASE);
00225 groupBox_IOVSelection->setObjectName(QString::fromUtf8("groupBox_IOVSelection"));
00226 groupBox_IOVSelection->setFont(font);
00227 groupBox_IOVSelection->setCheckable(true);
00228 gridLayout = new QGridLayout(groupBox_IOVSelection);
00229 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00230 gridLayout->setHorizontalSpacing(-1);
00231 gridLayout->setVerticalSpacing(0);
00232 radioButton_IOVsince = new QRadioButton(groupBox_IOVSelection);
00233 radioButton_IOVsince->setObjectName(QString::fromUtf8("radioButton_IOVsince"));
00234
00235 gridLayout->addWidget(radioButton_IOVsince, 0, 0, 1, 1);
00236
00237 dateTimeEdit_Since = new QDateTimeEdit(groupBox_IOVSelection);
00238 dateTimeEdit_Since->setObjectName(QString::fromUtf8("dateTimeEdit_Since"));
00239 dateTimeEdit_Since->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00240 dateTimeEdit_Since->setMaximumDate(QDate(2106, 2, 7));
00241 dateTimeEdit_Since->setMinimumDate(QDate(1970, 1, 1));
00242 dateTimeEdit_Since->setCalendarPopup(true);
00243
00244 gridLayout->addWidget(dateTimeEdit_Since, 0, 1, 1, 1);
00245
00246 spacerItem2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00247
00248 gridLayout->addItem(spacerItem2, 0, 2, 1, 1);
00249
00250 radioButton_IOVrecent = new QRadioButton(groupBox_IOVSelection);
00251 radioButton_IOVrecent->setObjectName(QString::fromUtf8("radioButton_IOVrecent"));
00252 radioButton_IOVrecent->setChecked(true);
00253
00254 gridLayout->addWidget(radioButton_IOVrecent, 2, 0, 1, 2);
00255
00256
00257 vboxLayout->addWidget(groupBox_IOVSelection);
00258
00259 hboxLayout4 = new QHBoxLayout();
00260 hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
00261 spacerItem3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00262
00263 hboxLayout4->addItem(spacerItem3);
00264
00265 pushButton_Cancel = new QPushButton(FolderOpenDialog_BASE);
00266 pushButton_Cancel->setObjectName(QString::fromUtf8("pushButton_Cancel"));
00267
00268 hboxLayout4->addWidget(pushButton_Cancel);
00269
00270 pushButton_Open = new QPushButton(FolderOpenDialog_BASE);
00271 pushButton_Open->setObjectName(QString::fromUtf8("pushButton_Open"));
00272 pushButton_Open->setDefault(true);
00273
00274 hboxLayout4->addWidget(pushButton_Open);
00275
00276
00277 vboxLayout->addLayout(hboxLayout4);
00278
00279 QWidget::setTabOrder(comboBox_Tags, comboBox_From);
00280 QWidget::setTabOrder(comboBox_From, comboBox_To);
00281 QWidget::setTabOrder(comboBox_To, pushButton_AddChannelRange);
00282 QWidget::setTabOrder(pushButton_AddChannelRange, pushButton_Open);
00283 QWidget::setTabOrder(pushButton_Open, pushButton_Cancel);
00284
00285 retranslateUi(FolderOpenDialog_BASE);
00286 QObject::connect(pushButton_Cancel, SIGNAL(clicked()), FolderOpenDialog_BASE, SLOT(reject()));
00287
00288 QMetaObject::connectSlotsByName(FolderOpenDialog_BASE);
00289 }
00290
00291 void retranslateUi(QDialog *FolderOpenDialog_BASE)
00292 {
00293 FolderOpenDialog_BASE->setWindowTitle(QApplication::translate("FolderOpenDialog_BASE", "Open COOL Folder", 0, QApplication::UnicodeUTF8));
00294 label_5->setText(QApplication::translate("FolderOpenDialog_BASE", "Folder name:", 0, QApplication::UnicodeUTF8));
00295 label_FolderName->setText(QString());
00296 groupBox_TagSelection->setToolTip(QApplication::translate("FolderOpenDialog_BASE", "Leave unchecked to select the HEAD tag.", 0, QApplication::UnicodeUTF8));
00297 groupBox_TagSelection->setTitle(QApplication::translate("FolderOpenDialog_BASE", "Tag selection", 0, QApplication::UnicodeUTF8));
00298 label_4->setText(QApplication::translate("FolderOpenDialog_BASE", "Choose tag:", 0, QApplication::UnicodeUTF8));
00299 groupBox_ChannelSelection->setToolTip(QApplication::translate("FolderOpenDialog_BASE", "Leave unchecked to load all channels.", 0, QApplication::UnicodeUTF8));
00300 groupBox_ChannelSelection->setTitle(QApplication::translate("FolderOpenDialog_BASE", "Channel selection", 0, QApplication::UnicodeUTF8));
00301 label_3->setText(QApplication::translate("FolderOpenDialog_BASE", "Define selection:", 0, QApplication::UnicodeUTF8));
00302 label->setText(QApplication::translate("FolderOpenDialog_BASE", "to", 0, QApplication::UnicodeUTF8));
00303 pushButton_AddChannelRange->setText(QApplication::translate("FolderOpenDialog_BASE", "Add", 0, QApplication::UnicodeUTF8));
00304 label_2->setText(QApplication::translate("FolderOpenDialog_BASE", "Current selections:", 0, QApplication::UnicodeUTF8));
00305 pushButton->setText(QApplication::translate("FolderOpenDialog_BASE", "Remove", 0, QApplication::UnicodeUTF8));
00306 groupBox_IOVSelection->setToolTip(QApplication::translate("FolderOpenDialog_BASE", "Leave unchecked to load all IOVs", 0, QApplication::UnicodeUTF8));
00307 groupBox_IOVSelection->setTitle(QApplication::translate("FolderOpenDialog_BASE", "IOV selection", 0, QApplication::UnicodeUTF8));
00308 radioButton_IOVsince->setText(QApplication::translate("FolderOpenDialog_BASE", "All IOVs valid from:", 0, QApplication::UnicodeUTF8));
00309 dateTimeEdit_Since->setDisplayFormat(QApplication::translate("FolderOpenDialog_BASE", "ddd dd/MM/yyyy HH:mm:ss", 0, QApplication::UnicodeUTF8));
00310 radioButton_IOVrecent->setText(QApplication::translate("FolderOpenDialog_BASE", "Most recent only", 0, QApplication::UnicodeUTF8));
00311 pushButton_Cancel->setText(QApplication::translate("FolderOpenDialog_BASE", "Cancel", 0, QApplication::UnicodeUTF8));
00312 pushButton_Open->setText(QApplication::translate("FolderOpenDialog_BASE", "Open", 0, QApplication::UnicodeUTF8));
00313 Q_UNUSED(FolderOpenDialog_BASE);
00314 }
00315
00316 };
00317
00318 namespace Ui {
00319 class FolderOpenDialog_BASE: public Ui_FolderOpenDialog_BASE {};
00320 }
00321
00322 #endif // UI_FOLDEROPENDIALOG_BASE_H