00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_CONTROLDIALOG_H
00011 #define UI_CONTROLDIALOG_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/QHBoxLayout>
00019 #include <QtGui/QLabel>
00020 #include <QtGui/QPushButton>
00021 #include <QtGui/QSpacerItem>
00022 #include <QtGui/QTabWidget>
00023 #include <QtGui/QTreeView>
00024 #include <QtGui/QVBoxLayout>
00025 #include <QtGui/QWidget>
00026 #include "rangecontrol.h"
00027
00028 QT_BEGIN_NAMESPACE
00029
00030 class Ui_ControlDialog
00031 {
00032 public:
00033 QVBoxLayout *vboxLayout;
00034 QTabWidget *tabs;
00035 QWidget *rangetab;
00036 RangeControl *range;
00037 QWidget *selecttab;
00038 QVBoxLayout *vboxLayout1;
00039 QVBoxLayout *vboxLayout2;
00040 QTreeView *pixlistview;
00041 QTreeView *pixstatslistview;
00042 QHBoxLayout *hboxLayout;
00043 QPushButton *clearsel;
00044 QPushButton *clearall;
00045 QSpacerItem *spacerItem;
00046 QPushButton *savelist;
00047 QHBoxLayout *hboxLayout1;
00048 QLabel *loading;
00049 QLabel *filename;
00050 QHBoxLayout *hboxLayout2;
00051 QLabel *nside;
00052 QLabel *ordering;
00053 QTreeView *statslistview;
00054 QSpacerItem *spacerItem1;
00055
00056 void setupUi(QDialog *ControlDialog)
00057 {
00058 if (ControlDialog->objectName().isEmpty())
00059 ControlDialog->setObjectName(QString::fromUtf8("ControlDialog"));
00060 ControlDialog->resize(466, 649);
00061 vboxLayout = new QVBoxLayout(ControlDialog);
00062 #ifndef Q_OS_MAC
00063 vboxLayout->setSpacing(6);
00064 #endif
00065 #ifndef Q_OS_MAC
00066 vboxLayout->setMargin(9);
00067 #endif
00068 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00069 tabs = new QTabWidget(ControlDialog);
00070 tabs->setObjectName(QString::fromUtf8("tabs"));
00071 tabs->setMinimumSize(QSize(411, 451));
00072 rangetab = new QWidget();
00073 rangetab->setObjectName(QString::fromUtf8("rangetab"));
00074 range = new RangeControl(rangetab);
00075 range->setObjectName(QString::fromUtf8("range"));
00076 range->setGeometry(QRect(1, 1, 402, 417));
00077 QSizePolicy sizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
00078 sizePolicy.setHorizontalStretch(0);
00079 sizePolicy.setVerticalStretch(0);
00080 sizePolicy.setHeightForWidth(range->sizePolicy().hasHeightForWidth());
00081 range->setSizePolicy(sizePolicy);
00082 range->setMinimumSize(QSize(402, 417));
00083 tabs->addTab(rangetab, QString());
00084 selecttab = new QWidget();
00085 selecttab->setObjectName(QString::fromUtf8("selecttab"));
00086 vboxLayout1 = new QVBoxLayout(selecttab);
00087 #ifndef Q_OS_MAC
00088 vboxLayout1->setSpacing(6);
00089 #endif
00090 #ifndef Q_OS_MAC
00091 vboxLayout1->setMargin(9);
00092 #endif
00093 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00094 vboxLayout2 = new QVBoxLayout();
00095 #ifndef Q_OS_MAC
00096 vboxLayout2->setSpacing(6);
00097 #endif
00098 #ifndef Q_OS_MAC
00099 vboxLayout2->setMargin(0);
00100 #endif
00101 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00102 pixlistview = new QTreeView(selecttab);
00103 pixlistview->setObjectName(QString::fromUtf8("pixlistview"));
00104 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
00105 sizePolicy1.setHorizontalStretch(0);
00106 sizePolicy1.setVerticalStretch(0);
00107 sizePolicy1.setHeightForWidth(pixlistview->sizePolicy().hasHeightForWidth());
00108 pixlistview->setSizePolicy(sizePolicy1);
00109 pixlistview->setAlternatingRowColors(true);
00110 pixlistview->setSelectionMode(QAbstractItemView::ExtendedSelection);
00111 pixlistview->setRootIsDecorated(false);
00112 pixlistview->setItemsExpandable(false);
00113 pixlistview->setExpandsOnDoubleClick(false);
00114
00115 vboxLayout2->addWidget(pixlistview);
00116
00117 pixstatslistview = new QTreeView(selecttab);
00118 pixstatslistview->setObjectName(QString::fromUtf8("pixstatslistview"));
00119 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Minimum);
00120 sizePolicy2.setHorizontalStretch(0);
00121 sizePolicy2.setVerticalStretch(0);
00122 sizePolicy2.setHeightForWidth(pixstatslistview->sizePolicy().hasHeightForWidth());
00123 pixstatslistview->setSizePolicy(sizePolicy2);
00124 pixstatslistview->setMinimumSize(QSize(0, 90));
00125 pixstatslistview->setMaximumSize(QSize(16777215, 105));
00126 pixstatslistview->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
00127 pixstatslistview->setAlternatingRowColors(true);
00128 pixstatslistview->setSelectionMode(QAbstractItemView::NoSelection);
00129 pixstatslistview->setRootIsDecorated(false);
00130 pixstatslistview->setItemsExpandable(false);
00131 pixstatslistview->setExpandsOnDoubleClick(false);
00132
00133 vboxLayout2->addWidget(pixstatslistview);
00134
00135 hboxLayout = new QHBoxLayout();
00136 #ifndef Q_OS_MAC
00137 hboxLayout->setSpacing(6);
00138 #endif
00139 hboxLayout->setMargin(0);
00140 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00141 clearsel = new QPushButton(selecttab);
00142 clearsel->setObjectName(QString::fromUtf8("clearsel"));
00143
00144 hboxLayout->addWidget(clearsel);
00145
00146 clearall = new QPushButton(selecttab);
00147 clearall->setObjectName(QString::fromUtf8("clearall"));
00148
00149 hboxLayout->addWidget(clearall);
00150
00151 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00152
00153 hboxLayout->addItem(spacerItem);
00154
00155 savelist = new QPushButton(selecttab);
00156 savelist->setObjectName(QString::fromUtf8("savelist"));
00157
00158 hboxLayout->addWidget(savelist);
00159
00160
00161 vboxLayout2->addLayout(hboxLayout);
00162
00163
00164 vboxLayout1->addLayout(vboxLayout2);
00165
00166 tabs->addTab(selecttab, QString());
00167
00168 vboxLayout->addWidget(tabs);
00169
00170 hboxLayout1 = new QHBoxLayout();
00171 #ifndef Q_OS_MAC
00172 hboxLayout1->setSpacing(6);
00173 #endif
00174 hboxLayout1->setMargin(0);
00175 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00176 loading = new QLabel(ControlDialog);
00177 loading->setObjectName(QString::fromUtf8("loading"));
00178 QSizePolicy sizePolicy3(QSizePolicy::Fixed, QSizePolicy::Fixed);
00179 sizePolicy3.setHorizontalStretch(0);
00180 sizePolicy3.setVerticalStretch(0);
00181 sizePolicy3.setHeightForWidth(loading->sizePolicy().hasHeightForWidth());
00182 loading->setSizePolicy(sizePolicy3);
00183
00184 hboxLayout1->addWidget(loading);
00185
00186 filename = new QLabel(ControlDialog);
00187 filename->setObjectName(QString::fromUtf8("filename"));
00188
00189 hboxLayout1->addWidget(filename);
00190
00191
00192 vboxLayout->addLayout(hboxLayout1);
00193
00194 hboxLayout2 = new QHBoxLayout();
00195 #ifndef Q_OS_MAC
00196 hboxLayout2->setSpacing(6);
00197 #endif
00198 hboxLayout2->setMargin(0);
00199 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00200 nside = new QLabel(ControlDialog);
00201 nside->setObjectName(QString::fromUtf8("nside"));
00202 sizePolicy3.setHeightForWidth(nside->sizePolicy().hasHeightForWidth());
00203 nside->setSizePolicy(sizePolicy3);
00204
00205 hboxLayout2->addWidget(nside);
00206
00207 ordering = new QLabel(ControlDialog);
00208 ordering->setObjectName(QString::fromUtf8("ordering"));
00209
00210 hboxLayout2->addWidget(ordering);
00211
00212
00213 vboxLayout->addLayout(hboxLayout2);
00214
00215 statslistview = new QTreeView(ControlDialog);
00216 statslistview->setObjectName(QString::fromUtf8("statslistview"));
00217 sizePolicy2.setHeightForWidth(statslistview->sizePolicy().hasHeightForWidth());
00218 statslistview->setSizePolicy(sizePolicy2);
00219 statslistview->setMinimumSize(QSize(0, 90));
00220 statslistview->setMaximumSize(QSize(16777215, 105));
00221 statslistview->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
00222 statslistview->setAlternatingRowColors(true);
00223 statslistview->setSelectionMode(QAbstractItemView::NoSelection);
00224 statslistview->setRootIsDecorated(false);
00225 statslistview->setItemsExpandable(false);
00226 statslistview->setExpandsOnDoubleClick(false);
00227
00228 vboxLayout->addWidget(statslistview);
00229
00230 spacerItem1 = new QSpacerItem(448, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);
00231
00232 vboxLayout->addItem(spacerItem1);
00233
00234
00235 retranslateUi(ControlDialog);
00236
00237 tabs->setCurrentIndex(0);
00238
00239
00240 QMetaObject::connectSlotsByName(ControlDialog);
00241 }
00242
00243 void retranslateUi(QDialog *ControlDialog)
00244 {
00245 ControlDialog->setWindowTitle(QApplication::translate("ControlDialog", "Skyviewer Control/Information", 0, QApplication::UnicodeUTF8));
00246 tabs->setTabText(tabs->indexOf(rangetab), QApplication::translate("ControlDialog", "Range", 0, QApplication::UnicodeUTF8));
00247 clearsel->setText(QApplication::translate("ControlDialog", "Clear Selected", 0, QApplication::UnicodeUTF8));
00248 clearall->setText(QApplication::translate("ControlDialog", "Clear All", 0, QApplication::UnicodeUTF8));
00249 savelist->setText(QApplication::translate("ControlDialog", "Save List", 0, QApplication::UnicodeUTF8));
00250 tabs->setTabText(tabs->indexOf(selecttab), QApplication::translate("ControlDialog", "Selected", 0, QApplication::UnicodeUTF8));
00251 loading->setText(QApplication::translate("ControlDialog", "Loading", 0, QApplication::UnicodeUTF8));
00252 filename->setText(QApplication::translate("ControlDialog", "<filename>", 0, QApplication::UnicodeUTF8));
00253 nside->setText(QApplication::translate("ControlDialog", "Nside: 512", 0, QApplication::UnicodeUTF8));
00254 ordering->setText(QApplication::translate("ControlDialog", "Ordering: Nested", 0, QApplication::UnicodeUTF8));
00255 Q_UNUSED(ControlDialog);
00256 }
00257
00258 };
00259
00260 namespace Ui {
00261 class ControlDialog: public Ui_ControlDialog {};
00262 }
00263
00264 QT_END_NAMESPACE
00265
00266 #endif // UI_CONTROLDIALOG_H