00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGDISPLAYPROPERTIES_H
00011 #define UI_DLGDISPLAYPROPERTIES_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QComboBox>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QGridLayout>
00020 #include <QtGui/QGroupBox>
00021 #include <QtGui/QHBoxLayout>
00022 #include <QtGui/QHeaderView>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QPushButton>
00025 #include <QtGui/QSlider>
00026 #include <QtGui/QSpacerItem>
00027 #include <QtGui/QSpinBox>
00028 #include "Gui/Widgets.h"
00029
00030 namespace Gui {
00031 namespace Dialog {
00032
00033 class Ui_DlgDisplayProperties
00034 {
00035 public:
00036 QGridLayout *gridLayout_4;
00037 QGroupBox *groupBox1;
00038 QGridLayout *gridLayout_3;
00039 QHBoxLayout *hboxLayout;
00040 QLabel *textLabel1;
00041 QComboBox *changeMode;
00042 QHBoxLayout *hboxLayout1;
00043 QLabel *textLabel1_3;
00044 QComboBox *changePlot;
00045 QGroupBox *groupBox3;
00046 QGridLayout *gridLayout_2;
00047 QHBoxLayout *hboxLayout2;
00048 QComboBox *changeMaterial;
00049 QPushButton *buttonUserDefinedMaterial;
00050 QGridLayout *gridLayout;
00051 QLabel *label_4;
00052 QPushButton *buttonColorPlot;
00053 QLabel *label_2;
00054 Gui::ColorButton *buttonColor;
00055 QLabel *label_3;
00056 Gui::ColorButton *buttonLineColor;
00057 QGroupBox *groupBox2;
00058 QGridLayout *gridLayout1;
00059 QLabel *label;
00060 QLabel *textLabel1_2;
00061 QHBoxLayout *hboxLayout3;
00062 QSlider *sliderLineTransparency;
00063 QSpinBox *spinLineTransparency;
00064 QHBoxLayout *hboxLayout4;
00065 QLabel *textLabel2;
00066 QSpacerItem *spacerItem;
00067 QSpinBox *spinPointSize;
00068 QHBoxLayout *hboxLayout5;
00069 QLabel *textLabel3;
00070 QSpacerItem *spacerItem1;
00071 QSpinBox *spinLineWidth;
00072 QHBoxLayout *hboxLayout6;
00073 QSlider *horizontalSlider;
00074 QSpinBox *spinTransparency;
00075 QHBoxLayout *hboxLayout7;
00076 QSpacerItem *spacerItem2;
00077 QPushButton *CancelButton;
00078
00079 void setupUi(QDialog *Gui__Dialog__DlgDisplayProperties)
00080 {
00081 if (Gui__Dialog__DlgDisplayProperties->objectName().isEmpty())
00082 Gui__Dialog__DlgDisplayProperties->setObjectName(QString::fromUtf8("Gui__Dialog__DlgDisplayProperties"));
00083 Gui__Dialog__DlgDisplayProperties->resize(290, 487);
00084 gridLayout_4 = new QGridLayout(Gui__Dialog__DlgDisplayProperties);
00085 gridLayout_4->setSpacing(6);
00086 gridLayout_4->setMargin(11);
00087 gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
00088 groupBox1 = new QGroupBox(Gui__Dialog__DlgDisplayProperties);
00089 groupBox1->setObjectName(QString::fromUtf8("groupBox1"));
00090 gridLayout_3 = new QGridLayout(groupBox1);
00091 gridLayout_3->setSpacing(6);
00092 gridLayout_3->setMargin(11);
00093 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
00094 hboxLayout = new QHBoxLayout();
00095 hboxLayout->setSpacing(6);
00096 hboxLayout->setMargin(0);
00097 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00098 textLabel1 = new QLabel(groupBox1);
00099 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00100
00101 hboxLayout->addWidget(textLabel1);
00102
00103 changeMode = new QComboBox(groupBox1);
00104 changeMode->setObjectName(QString::fromUtf8("changeMode"));
00105
00106 hboxLayout->addWidget(changeMode);
00107
00108
00109 gridLayout_3->addLayout(hboxLayout, 0, 0, 1, 1);
00110
00111 hboxLayout1 = new QHBoxLayout();
00112 hboxLayout1->setSpacing(6);
00113 hboxLayout1->setMargin(0);
00114 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00115 textLabel1_3 = new QLabel(groupBox1);
00116 textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
00117 textLabel1_3->setEnabled(false);
00118
00119 hboxLayout1->addWidget(textLabel1_3);
00120
00121 changePlot = new QComboBox(groupBox1);
00122 changePlot->setObjectName(QString::fromUtf8("changePlot"));
00123 changePlot->setEnabled(false);
00124
00125 hboxLayout1->addWidget(changePlot);
00126
00127
00128 gridLayout_3->addLayout(hboxLayout1, 1, 0, 1, 1);
00129
00130
00131 gridLayout_4->addWidget(groupBox1, 0, 0, 1, 1);
00132
00133 groupBox3 = new QGroupBox(Gui__Dialog__DlgDisplayProperties);
00134 groupBox3->setObjectName(QString::fromUtf8("groupBox3"));
00135 gridLayout_2 = new QGridLayout(groupBox3);
00136 gridLayout_2->setSpacing(6);
00137 gridLayout_2->setMargin(11);
00138 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
00139 hboxLayout2 = new QHBoxLayout();
00140 hboxLayout2->setSpacing(6);
00141 hboxLayout2->setMargin(0);
00142 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00143 changeMaterial = new QComboBox(groupBox3);
00144 changeMaterial->setObjectName(QString::fromUtf8("changeMaterial"));
00145
00146 hboxLayout2->addWidget(changeMaterial);
00147
00148 buttonUserDefinedMaterial = new QPushButton(groupBox3);
00149 buttonUserDefinedMaterial->setObjectName(QString::fromUtf8("buttonUserDefinedMaterial"));
00150 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
00151 sizePolicy.setHorizontalStretch(0);
00152 sizePolicy.setVerticalStretch(0);
00153 sizePolicy.setHeightForWidth(buttonUserDefinedMaterial->sizePolicy().hasHeightForWidth());
00154 buttonUserDefinedMaterial->setSizePolicy(sizePolicy);
00155 buttonUserDefinedMaterial->setMaximumSize(QSize(40, 32767));
00156
00157 hboxLayout2->addWidget(buttonUserDefinedMaterial);
00158
00159
00160 gridLayout_2->addLayout(hboxLayout2, 0, 0, 1, 1);
00161
00162 gridLayout = new QGridLayout();
00163 gridLayout->setSpacing(6);
00164 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00165 label_4 = new QLabel(groupBox3);
00166 label_4->setObjectName(QString::fromUtf8("label_4"));
00167
00168 gridLayout->addWidget(label_4, 0, 0, 1, 1);
00169
00170 buttonColorPlot = new QPushButton(groupBox3);
00171 buttonColorPlot->setObjectName(QString::fromUtf8("buttonColorPlot"));
00172
00173 gridLayout->addWidget(buttonColorPlot, 0, 1, 1, 1);
00174
00175 label_2 = new QLabel(groupBox3);
00176 label_2->setObjectName(QString::fromUtf8("label_2"));
00177
00178 gridLayout->addWidget(label_2, 1, 0, 1, 1);
00179
00180 buttonColor = new Gui::ColorButton(groupBox3);
00181 buttonColor->setObjectName(QString::fromUtf8("buttonColor"));
00182
00183 gridLayout->addWidget(buttonColor, 1, 1, 1, 1);
00184
00185 label_3 = new QLabel(groupBox3);
00186 label_3->setObjectName(QString::fromUtf8("label_3"));
00187
00188 gridLayout->addWidget(label_3, 2, 0, 1, 1);
00189
00190 buttonLineColor = new Gui::ColorButton(groupBox3);
00191 buttonLineColor->setObjectName(QString::fromUtf8("buttonLineColor"));
00192
00193 gridLayout->addWidget(buttonLineColor, 2, 1, 1, 1);
00194
00195
00196 gridLayout_2->addLayout(gridLayout, 1, 0, 1, 1);
00197
00198
00199 gridLayout_4->addWidget(groupBox3, 1, 0, 1, 1);
00200
00201 groupBox2 = new QGroupBox(Gui__Dialog__DlgDisplayProperties);
00202 groupBox2->setObjectName(QString::fromUtf8("groupBox2"));
00203 gridLayout1 = new QGridLayout(groupBox2);
00204 gridLayout1->setSpacing(6);
00205 gridLayout1->setMargin(9);
00206 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00207 label = new QLabel(groupBox2);
00208 label->setObjectName(QString::fromUtf8("label"));
00209
00210 gridLayout1->addWidget(label, 4, 0, 1, 1);
00211
00212 textLabel1_2 = new QLabel(groupBox2);
00213 textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
00214
00215 gridLayout1->addWidget(textLabel1_2, 2, 0, 1, 1);
00216
00217 hboxLayout3 = new QHBoxLayout();
00218 hboxLayout3->setSpacing(6);
00219 hboxLayout3->setMargin(0);
00220 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00221 sliderLineTransparency = new QSlider(groupBox2);
00222 sliderLineTransparency->setObjectName(QString::fromUtf8("sliderLineTransparency"));
00223 sliderLineTransparency->setMaximum(100);
00224 sliderLineTransparency->setOrientation(Qt::Horizontal);
00225
00226 hboxLayout3->addWidget(sliderLineTransparency);
00227
00228 spinLineTransparency = new QSpinBox(groupBox2);
00229 spinLineTransparency->setObjectName(QString::fromUtf8("spinLineTransparency"));
00230 spinLineTransparency->setMaximum(100);
00231 spinLineTransparency->setSingleStep(5);
00232
00233 hboxLayout3->addWidget(spinLineTransparency);
00234
00235
00236 gridLayout1->addLayout(hboxLayout3, 5, 0, 1, 1);
00237
00238 hboxLayout4 = new QHBoxLayout();
00239 hboxLayout4->setSpacing(6);
00240 hboxLayout4->setMargin(0);
00241 hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
00242 textLabel2 = new QLabel(groupBox2);
00243 textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00244
00245 hboxLayout4->addWidget(textLabel2);
00246
00247 spacerItem = new QSpacerItem(71, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00248
00249 hboxLayout4->addItem(spacerItem);
00250
00251 spinPointSize = new QSpinBox(groupBox2);
00252 spinPointSize->setObjectName(QString::fromUtf8("spinPointSize"));
00253 spinPointSize->setMinimum(1);
00254 spinPointSize->setMaximum(64);
00255 spinPointSize->setValue(2);
00256
00257 hboxLayout4->addWidget(spinPointSize);
00258
00259
00260 gridLayout1->addLayout(hboxLayout4, 0, 0, 1, 1);
00261
00262 hboxLayout5 = new QHBoxLayout();
00263 hboxLayout5->setSpacing(6);
00264 hboxLayout5->setMargin(0);
00265 hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5"));
00266 textLabel3 = new QLabel(groupBox2);
00267 textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
00268
00269 hboxLayout5->addWidget(textLabel3);
00270
00271 spacerItem1 = new QSpacerItem(71, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00272
00273 hboxLayout5->addItem(spacerItem1);
00274
00275 spinLineWidth = new QSpinBox(groupBox2);
00276 spinLineWidth->setObjectName(QString::fromUtf8("spinLineWidth"));
00277 spinLineWidth->setMinimum(1);
00278 spinLineWidth->setMaximum(64);
00279 spinLineWidth->setValue(2);
00280
00281 hboxLayout5->addWidget(spinLineWidth);
00282
00283
00284 gridLayout1->addLayout(hboxLayout5, 1, 0, 1, 1);
00285
00286 hboxLayout6 = new QHBoxLayout();
00287 hboxLayout6->setSpacing(6);
00288 hboxLayout6->setMargin(0);
00289 hboxLayout6->setObjectName(QString::fromUtf8("hboxLayout6"));
00290 horizontalSlider = new QSlider(groupBox2);
00291 horizontalSlider->setObjectName(QString::fromUtf8("horizontalSlider"));
00292 horizontalSlider->setMaximum(100);
00293 horizontalSlider->setOrientation(Qt::Horizontal);
00294
00295 hboxLayout6->addWidget(horizontalSlider);
00296
00297 spinTransparency = new QSpinBox(groupBox2);
00298 spinTransparency->setObjectName(QString::fromUtf8("spinTransparency"));
00299 QSizePolicy sizePolicy1(QSizePolicy::Maximum, QSizePolicy::Fixed);
00300 sizePolicy1.setHorizontalStretch(0);
00301 sizePolicy1.setVerticalStretch(0);
00302 sizePolicy1.setHeightForWidth(spinTransparency->sizePolicy().hasHeightForWidth());
00303 spinTransparency->setSizePolicy(sizePolicy1);
00304 spinTransparency->setMaximum(100);
00305 spinTransparency->setSingleStep(5);
00306
00307 hboxLayout6->addWidget(spinTransparency);
00308
00309
00310 gridLayout1->addLayout(hboxLayout6, 3, 0, 1, 1);
00311
00312
00313 gridLayout_4->addWidget(groupBox2, 2, 0, 1, 1);
00314
00315 hboxLayout7 = new QHBoxLayout();
00316 hboxLayout7->setSpacing(6);
00317 hboxLayout7->setMargin(0);
00318 hboxLayout7->setObjectName(QString::fromUtf8("hboxLayout7"));
00319 spacerItem2 = new QSpacerItem(81, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
00320
00321 hboxLayout7->addItem(spacerItem2);
00322
00323 CancelButton = new QPushButton(Gui__Dialog__DlgDisplayProperties);
00324 CancelButton->setObjectName(QString::fromUtf8("CancelButton"));
00325
00326 hboxLayout7->addWidget(CancelButton);
00327
00328
00329 gridLayout_4->addLayout(hboxLayout7, 3, 0, 1, 1);
00330
00331 groupBox2->raise();
00332 groupBox3->raise();
00333 groupBox1->raise();
00334 QWidget::setTabOrder(changeMode, changePlot);
00335 QWidget::setTabOrder(changePlot, changeMaterial);
00336 QWidget::setTabOrder(changeMaterial, buttonUserDefinedMaterial);
00337 QWidget::setTabOrder(buttonUserDefinedMaterial, buttonColor);
00338 QWidget::setTabOrder(buttonColor, buttonLineColor);
00339 QWidget::setTabOrder(buttonLineColor, spinPointSize);
00340 QWidget::setTabOrder(spinPointSize, spinLineWidth);
00341 QWidget::setTabOrder(spinLineWidth, horizontalSlider);
00342 QWidget::setTabOrder(horizontalSlider, spinTransparency);
00343 QWidget::setTabOrder(spinTransparency, sliderLineTransparency);
00344 QWidget::setTabOrder(sliderLineTransparency, spinLineTransparency);
00345 QWidget::setTabOrder(spinLineTransparency, CancelButton);
00346
00347 retranslateUi(Gui__Dialog__DlgDisplayProperties);
00348 QObject::connect(CancelButton, SIGNAL(clicked()), Gui__Dialog__DlgDisplayProperties, SLOT(reject()));
00349 QObject::connect(spinTransparency, SIGNAL(valueChanged(int)), horizontalSlider, SLOT(setValue(int)));
00350 QObject::connect(horizontalSlider, SIGNAL(valueChanged(int)), spinTransparency, SLOT(setValue(int)));
00351 QObject::connect(sliderLineTransparency, SIGNAL(valueChanged(int)), spinLineTransparency, SLOT(setValue(int)));
00352 QObject::connect(spinLineTransparency, SIGNAL(valueChanged(int)), sliderLineTransparency, SLOT(setValue(int)));
00353
00354 QMetaObject::connectSlotsByName(Gui__Dialog__DlgDisplayProperties);
00355 }
00356
00357 void retranslateUi(QDialog *Gui__Dialog__DlgDisplayProperties)
00358 {
00359 Gui__Dialog__DlgDisplayProperties->setWindowTitle(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Display properties", 0, QApplication::UnicodeUTF8));
00360 groupBox1->setTitle(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Viewing mode", 0, QApplication::UnicodeUTF8));
00361 textLabel1->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Display mode:", 0, QApplication::UnicodeUTF8));
00362 textLabel1_3->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Plot mode:", 0, QApplication::UnicodeUTF8));
00363 groupBox3->setTitle(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Material", 0, QApplication::UnicodeUTF8));
00364 buttonUserDefinedMaterial->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "...", 0, QApplication::UnicodeUTF8));
00365 label_4->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Color plot:", 0, QApplication::UnicodeUTF8));
00366 buttonColorPlot->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "...", 0, QApplication::UnicodeUTF8));
00367 label_2->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Shape color:", 0, QApplication::UnicodeUTF8));
00368 buttonColor->setText(QString());
00369 label_3->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Line color:", 0, QApplication::UnicodeUTF8));
00370 groupBox2->setTitle(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Display", 0, QApplication::UnicodeUTF8));
00371 label->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Line transparency:", 0, QApplication::UnicodeUTF8));
00372 textLabel1_2->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Transparency:", 0, QApplication::UnicodeUTF8));
00373 textLabel2->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Point size:", 0, QApplication::UnicodeUTF8));
00374 textLabel3->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Line width:", 0, QApplication::UnicodeUTF8));
00375 CancelButton->setText(QApplication::translate("Gui::Dialog::DlgDisplayProperties", "Close", 0, QApplication::UnicodeUTF8));
00376 Q_UNUSED(Gui__Dialog__DlgDisplayProperties);
00377 }
00378
00379 };
00380
00381 }
00382 }
00383
00384 namespace Gui {
00385 namespace Dialog {
00386 namespace Ui {
00387 class DlgDisplayProperties: public Ui_DlgDisplayProperties {};
00388 }
00389 }
00390 }
00391
00392 #endif // UI_DLGDISPLAYPROPERTIES_H