00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_RANGECONTROL_H
00011 #define UI_RANGECONTROL_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/QComboBox>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QSpacerItem>
00022 #include <QtGui/QVBoxLayout>
00023 #include <QtGui/QWidget>
00024 #include "histogramwidget.h"
00025
00026 QT_BEGIN_NAMESPACE
00027
00028 class Ui_RangeControl
00029 {
00030 public:
00031 QVBoxLayout *vboxLayout;
00032 HistogramWidget *histogramWidget;
00033 QHBoxLayout *hboxLayout;
00034 QVBoxLayout *vboxLayout1;
00035 QLabel *projectionLabel;
00036 QComboBox *projectionSelect;
00037 QVBoxLayout *vboxLayout2;
00038 QLabel *fieldLabel;
00039 QComboBox *fieldSelect;
00040 QVBoxLayout *vboxLayout3;
00041 QLabel *riggingLabel;
00042 QComboBox *riggingSelect;
00043 QVBoxLayout *vboxLayout4;
00044 QLabel *colorLabel;
00045 QComboBox *colorSelect;
00046 QHBoxLayout *hboxLayout1;
00047 QSpacerItem *spacerItem;
00048 QCheckBox *polarVectorBox;
00049 QSpacerItem *spacerItem1;
00050
00051 void setupUi(QWidget *RangeControl)
00052 {
00053 if (RangeControl->objectName().isEmpty())
00054 RangeControl->setObjectName(QString::fromUtf8("RangeControl"));
00055 RangeControl->resize(402, 417);
00056 vboxLayout = new QVBoxLayout(RangeControl);
00057 #ifndef Q_OS_MAC
00058 vboxLayout->setSpacing(6);
00059 #endif
00060 #ifndef Q_OS_MAC
00061 vboxLayout->setMargin(9);
00062 #endif
00063 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00064 histogramWidget = new HistogramWidget(RangeControl);
00065 histogramWidget->setObjectName(QString::fromUtf8("histogramWidget"));
00066 histogramWidget->setMinimumSize(QSize(384, 338));
00067
00068 vboxLayout->addWidget(histogramWidget);
00069
00070 hboxLayout = new QHBoxLayout();
00071 #ifndef Q_OS_MAC
00072 hboxLayout->setSpacing(6);
00073 #endif
00074 hboxLayout->setMargin(0);
00075 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00076 vboxLayout1 = new QVBoxLayout();
00077 #ifndef Q_OS_MAC
00078 vboxLayout1->setSpacing(6);
00079 #endif
00080 #ifndef Q_OS_MAC
00081 vboxLayout1->setMargin(0);
00082 #endif
00083 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00084 projectionLabel = new QLabel(RangeControl);
00085 projectionLabel->setObjectName(QString::fromUtf8("projectionLabel"));
00086
00087 vboxLayout1->addWidget(projectionLabel);
00088
00089 projectionSelect = new QComboBox(RangeControl);
00090 const QIcon icon = QIcon(QString::fromUtf8("images/spherical.png"));
00091 projectionSelect->addItem(icon, QString());
00092 const QIcon icon1 = QIcon(QString::fromUtf8("images/mollweide.png"));
00093 projectionSelect->addItem(icon1, QString());
00094 projectionSelect->setObjectName(QString::fromUtf8("projectionSelect"));
00095
00096 vboxLayout1->addWidget(projectionSelect);
00097
00098
00099 hboxLayout->addLayout(vboxLayout1);
00100
00101 vboxLayout2 = new QVBoxLayout();
00102 #ifndef Q_OS_MAC
00103 vboxLayout2->setSpacing(6);
00104 #endif
00105 vboxLayout2->setMargin(0);
00106 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00107 fieldLabel = new QLabel(RangeControl);
00108 fieldLabel->setObjectName(QString::fromUtf8("fieldLabel"));
00109
00110 vboxLayout2->addWidget(fieldLabel);
00111
00112 fieldSelect = new QComboBox(RangeControl);
00113 fieldSelect->setObjectName(QString::fromUtf8("fieldSelect"));
00114
00115 vboxLayout2->addWidget(fieldSelect);
00116
00117
00118 hboxLayout->addLayout(vboxLayout2);
00119
00120 vboxLayout3 = new QVBoxLayout();
00121 #ifndef Q_OS_MAC
00122 vboxLayout3->setSpacing(6);
00123 #endif
00124 vboxLayout3->setMargin(0);
00125 vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
00126 riggingLabel = new QLabel(RangeControl);
00127 riggingLabel->setObjectName(QString::fromUtf8("riggingLabel"));
00128
00129 vboxLayout3->addWidget(riggingLabel);
00130
00131 riggingSelect = new QComboBox(RangeControl);
00132 riggingSelect->setObjectName(QString::fromUtf8("riggingSelect"));
00133 riggingSelect->setLayoutDirection(Qt::LeftToRight);
00134
00135 vboxLayout3->addWidget(riggingSelect);
00136
00137
00138 hboxLayout->addLayout(vboxLayout3);
00139
00140 vboxLayout4 = new QVBoxLayout();
00141 #ifndef Q_OS_MAC
00142 vboxLayout4->setSpacing(6);
00143 #endif
00144 vboxLayout4->setMargin(0);
00145 vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
00146 colorLabel = new QLabel(RangeControl);
00147 colorLabel->setObjectName(QString::fromUtf8("colorLabel"));
00148
00149 vboxLayout4->addWidget(colorLabel);
00150
00151 colorSelect = new QComboBox(RangeControl);
00152 colorSelect->setObjectName(QString::fromUtf8("colorSelect"));
00153
00154 vboxLayout4->addWidget(colorSelect);
00155
00156
00157 hboxLayout->addLayout(vboxLayout4);
00158
00159
00160 vboxLayout->addLayout(hboxLayout);
00161
00162 hboxLayout1 = new QHBoxLayout();
00163 #ifndef Q_OS_MAC
00164 hboxLayout1->setSpacing(6);
00165 #endif
00166 hboxLayout1->setMargin(0);
00167 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00168 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00169
00170 hboxLayout1->addItem(spacerItem);
00171
00172 polarVectorBox = new QCheckBox(RangeControl);
00173 polarVectorBox->setObjectName(QString::fromUtf8("polarVectorBox"));
00174
00175 hboxLayout1->addWidget(polarVectorBox);
00176
00177
00178 vboxLayout->addLayout(hboxLayout1);
00179
00180 spacerItem1 = new QSpacerItem(384, 91, QSizePolicy::Minimum, QSizePolicy::Expanding);
00181
00182 vboxLayout->addItem(spacerItem1);
00183
00184
00185 #ifndef QT_NO_SHORTCUT
00186 projectionLabel->setBuddy(projectionSelect);
00187 fieldLabel->setBuddy(fieldSelect);
00188 riggingLabel->setBuddy(riggingSelect);
00189 colorLabel->setBuddy(colorSelect);
00190 #endif // QT_NO_SHORTCUT
00191
00192
00193 retranslateUi(RangeControl);
00194
00195 riggingSelect->setCurrentIndex(2);
00196
00197
00198 QMetaObject::connectSlotsByName(RangeControl);
00199 }
00200
00201 void retranslateUi(QWidget *RangeControl)
00202 {
00203 RangeControl->setWindowTitle(QApplication::translate("RangeControl", "Range Control", 0, QApplication::UnicodeUTF8));
00204 projectionLabel->setText(QApplication::translate("RangeControl", "Projection", 0, QApplication::UnicodeUTF8));
00205 projectionSelect->setItemText(0, QApplication::translate("RangeControl", "3D Sphere", 0, QApplication::UnicodeUTF8));
00206 projectionSelect->setItemText(1, QApplication::translate("RangeControl", "Mollweide", 0, QApplication::UnicodeUTF8));
00207
00208 fieldLabel->setText(QApplication::translate("RangeControl", "Display Field", 0, QApplication::UnicodeUTF8));
00209 fieldSelect->clear();
00210 fieldSelect->insertItems(0, QStringList()
00211 << QApplication::translate("RangeControl", "Temperature", 0, QApplication::UnicodeUTF8)
00212 << QApplication::translate("RangeControl", "Q Polarization", 0, QApplication::UnicodeUTF8)
00213 << QApplication::translate("RangeControl", "U Polarization", 0, QApplication::UnicodeUTF8)
00214 << QApplication::translate("RangeControl", "P Polarization", 0, QApplication::UnicodeUTF8)
00215 << QApplication::translate("RangeControl", "Num Obs", 0, QApplication::UnicodeUTF8)
00216 );
00217 riggingLabel->setText(QApplication::translate("RangeControl", "Rigging", 0, QApplication::UnicodeUTF8));
00218 riggingSelect->clear();
00219 riggingSelect->insertItems(0, QStringList()
00220 << QApplication::translate("RangeControl", "4", 0, QApplication::UnicodeUTF8)
00221 << QApplication::translate("RangeControl", "8", 0, QApplication::UnicodeUTF8)
00222 << QApplication::translate("RangeControl", "16", 0, QApplication::UnicodeUTF8)
00223 << QApplication::translate("RangeControl", "32", 0, QApplication::UnicodeUTF8)
00224 << QApplication::translate("RangeControl", "64", 0, QApplication::UnicodeUTF8)
00225 << QApplication::translate("RangeControl", "128", 0, QApplication::UnicodeUTF8)
00226 );
00227 colorLabel->setText(QApplication::translate("RangeControl", "Color Map", 0, QApplication::UnicodeUTF8));
00228 colorSelect->clear();
00229 colorSelect->insertItems(0, QStringList()
00230 << QApplication::translate("RangeControl", "Default", 0, QApplication::UnicodeUTF8)
00231 << QApplication::translate("RangeControl", "Black/White", 0, QApplication::UnicodeUTF8)
00232 );
00233 polarVectorBox->setText(QApplication::translate("RangeControl", "Show Polarization Vectors", 0, QApplication::UnicodeUTF8));
00234 Q_UNUSED(RangeControl);
00235 }
00236
00237 };
00238
00239 namespace Ui {
00240 class RangeControl: public Ui_RangeControl {};
00241 }
00242
00243 QT_END_NAMESPACE
00244
00245 #endif // UI_RANGECONTROL_H