/******************************************************************************** ** Form generated from reading ui file 'RenderingParametersDialog.ui' ** ** Created: Fri Jan 23 13:57:11 2009 ** by: Qt User Interface Compiler version 4.4.3 ** ** WARNING! All changes made in this file will be lost when recompiling ui file! ********************************************************************************/ #ifndef RENDERINGPARAMETERSDIALOGDATA_H #define RENDERINGPARAMETERSDIALOGDATA_H #include <QtCore/QVariant> #include <QtGui/QAction> #include <QtGui/QApplication> #include <QtGui/QButtonGroup> #include <QtGui/QCheckBox> #include <QtGui/QComboBox> #include <QtGui/QDialog> #include <QtGui/QGridLayout> #include <QtGui/QGroupBox> #include <QtGui/QHBoxLayout> #include <QtGui/QLabel> #include <QtGui/QPushButton> #include <QtGui/QSlider> #include <QtGui/QSpacerItem> #include <QtGui/QTabWidget> #include <QtGui/QTreeWidget> #include <QtGui/QVBoxLayout> #include <QtGui/QWidget> QT_BEGIN_NAMESPACE class Ui_RenderingParametersDialogData { public: QGridLayout *gridLayout; QTabWidget *tabWidget; QWidget *tab; QGridLayout *gridLayout1; QVBoxLayout *vboxLayout; QGroupBox *labels; QGridLayout *gridLayout2; QHBoxLayout *hboxLayout; QVBoxLayout *vboxLayout1; QLabel *fontType; QLabel *labelDensity; QVBoxLayout *vboxLayout2; QHBoxLayout *hboxLayout1; QVBoxLayout *vboxLayout3; QComboBox *fonts; QVBoxLayout *vboxLayout4; QHBoxLayout *hboxLayout2; QCheckBox *ordering; QSpacerItem *spacerItem; QSlider *density; QGroupBox *edgesGroup; QGridLayout *gridLayout3; QVBoxLayout *vboxLayout5; QHBoxLayout *hboxLayout3; QCheckBox *arrows; QCheckBox *edge3D; QHBoxLayout *hboxLayout4; QCheckBox *colorInterpolation; QCheckBox *sizeInterpolation; QGroupBox *groupBox; QGridLayout *gridLayout4; QHBoxLayout *hboxLayout5; QCheckBox *orthogonal; QPushButton *background; QSpacerItem *spacerItem1; QSpacerItem *spacerItem2; QWidget *tab_2; QGridLayout *gridLayout5; QTreeWidget *treeWidget; QHBoxLayout *hboxLayout6; QSpacerItem *spacerItem3; QPushButton *applyButton; QSpacerItem *spacerItem4; QHBoxLayout *hboxLayout7; QSpacerItem *spacerItem5; QPushButton *buttonClose; void setupUi(QDialog *RenderingParametersDialogData) { if (RenderingParametersDialogData->objectName().isEmpty()) RenderingParametersDialogData->setObjectName(QString::fromUtf8("RenderingParametersDialogData")); RenderingParametersDialogData->resize(439, 321); RenderingParametersDialogData->setSizeGripEnabled(false); gridLayout = new QGridLayout(RenderingParametersDialogData); gridLayout->setSpacing(6); gridLayout->setMargin(9); gridLayout->setObjectName(QString::fromUtf8("gridLayout")); tabWidget = new QTabWidget(RenderingParametersDialogData); tabWidget->setObjectName(QString::fromUtf8("tabWidget")); tab = new QWidget(); tab->setObjectName(QString::fromUtf8("tab")); gridLayout1 = new QGridLayout(tab); gridLayout1->setSpacing(6); gridLayout1->setMargin(9); gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); vboxLayout = new QVBoxLayout(); vboxLayout->setSpacing(6); vboxLayout->setMargin(0); vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); labels = new QGroupBox(tab); labels->setObjectName(QString::fromUtf8("labels")); QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0)); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(labels->sizePolicy().hasHeightForWidth()); labels->setSizePolicy(sizePolicy); gridLayout2 = new QGridLayout(labels); gridLayout2->setSpacing(6); gridLayout2->setMargin(0); gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); hboxLayout = new QHBoxLayout(); hboxLayout->setSpacing(6); hboxLayout->setMargin(0); hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); vboxLayout1 = new QVBoxLayout(); vboxLayout1->setSpacing(6); vboxLayout1->setMargin(0); vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); fontType = new QLabel(labels); fontType->setObjectName(QString::fromUtf8("fontType")); fontType->setWordWrap(false); vboxLayout1->addWidget(fontType); labelDensity = new QLabel(labels); labelDensity->setObjectName(QString::fromUtf8("labelDensity")); labelDensity->setWordWrap(false); vboxLayout1->addWidget(labelDensity); hboxLayout->addLayout(vboxLayout1); vboxLayout2 = new QVBoxLayout(); vboxLayout2->setSpacing(6); vboxLayout2->setMargin(0); vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); hboxLayout1 = new QHBoxLayout(); hboxLayout1->setSpacing(6); hboxLayout1->setMargin(0); hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); vboxLayout3 = new QVBoxLayout(); vboxLayout3->setSpacing(6); vboxLayout3->setMargin(0); vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3")); fonts = new QComboBox(labels); fonts->setObjectName(QString::fromUtf8("fonts")); QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0)); sizePolicy1.setHorizontalStretch(0); sizePolicy1.setVerticalStretch(0); sizePolicy1.setHeightForWidth(fonts->sizePolicy().hasHeightForWidth()); fonts->setSizePolicy(sizePolicy1); vboxLayout3->addWidget(fonts); hboxLayout1->addLayout(vboxLayout3); vboxLayout4 = new QVBoxLayout(); vboxLayout4->setSpacing(6); vboxLayout4->setMargin(0); vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4")); hboxLayout2 = new QHBoxLayout(); hboxLayout2->setSpacing(6); hboxLayout2->setMargin(0); hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); ordering = new QCheckBox(labels); ordering->setObjectName(QString::fromUtf8("ordering")); ordering->setFocusPolicy(Qt::StrongFocus); hboxLayout2->addWidget(ordering); spacerItem = new QSpacerItem(18, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout2->addItem(spacerItem); vboxLayout4->addLayout(hboxLayout2); hboxLayout1->addLayout(vboxLayout4); vboxLayout2->addLayout(hboxLayout1); density = new QSlider(labels); density->setObjectName(QString::fromUtf8("density")); sizePolicy.setHeightForWidth(density->sizePolicy().hasHeightForWidth()); density->setSizePolicy(sizePolicy); density->setOrientation(Qt::Horizontal); vboxLayout2->addWidget(density); hboxLayout->addLayout(vboxLayout2); gridLayout2->addLayout(hboxLayout, 0, 0, 1, 1); vboxLayout->addWidget(labels); edgesGroup = new QGroupBox(tab); edgesGroup->setObjectName(QString::fromUtf8("edgesGroup")); sizePolicy.setHeightForWidth(edgesGroup->sizePolicy().hasHeightForWidth()); edgesGroup->setSizePolicy(sizePolicy); gridLayout3 = new QGridLayout(edgesGroup); gridLayout3->setSpacing(6); gridLayout3->setMargin(0); gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); vboxLayout5 = new QVBoxLayout(); vboxLayout5->setSpacing(6); vboxLayout5->setMargin(0); vboxLayout5->setObjectName(QString::fromUtf8("vboxLayout5")); hboxLayout3 = new QHBoxLayout(); hboxLayout3->setSpacing(6); hboxLayout3->setMargin(0); hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3")); arrows = new QCheckBox(edgesGroup); arrows->setObjectName(QString::fromUtf8("arrows")); arrows->setFocusPolicy(Qt::StrongFocus); hboxLayout3->addWidget(arrows); edge3D = new QCheckBox(edgesGroup); edge3D->setObjectName(QString::fromUtf8("edge3D")); edge3D->setFocusPolicy(Qt::StrongFocus); hboxLayout3->addWidget(edge3D); vboxLayout5->addLayout(hboxLayout3); hboxLayout4 = new QHBoxLayout(); hboxLayout4->setSpacing(6); hboxLayout4->setMargin(0); hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4")); colorInterpolation = new QCheckBox(edgesGroup); colorInterpolation->setObjectName(QString::fromUtf8("colorInterpolation")); colorInterpolation->setFocusPolicy(Qt::StrongFocus); colorInterpolation->setChecked(true); hboxLayout4->addWidget(colorInterpolation); sizeInterpolation = new QCheckBox(edgesGroup); sizeInterpolation->setObjectName(QString::fromUtf8("sizeInterpolation")); sizeInterpolation->setFocusPolicy(Qt::StrongFocus); sizeInterpolation->setChecked(true); hboxLayout4->addWidget(sizeInterpolation); vboxLayout5->addLayout(hboxLayout4); gridLayout3->addLayout(vboxLayout5, 0, 0, 1, 1); vboxLayout->addWidget(edgesGroup); groupBox = new QGroupBox(tab); groupBox->setObjectName(QString::fromUtf8("groupBox")); gridLayout4 = new QGridLayout(groupBox); gridLayout4->setSpacing(6); gridLayout4->setMargin(0); gridLayout4->setObjectName(QString::fromUtf8("gridLayout4")); hboxLayout5 = new QHBoxLayout(); hboxLayout5->setSpacing(6); hboxLayout5->setMargin(0); hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5")); orthogonal = new QCheckBox(groupBox); orthogonal->setObjectName(QString::fromUtf8("orthogonal")); orthogonal->setFocusPolicy(Qt::StrongFocus); orthogonal->setChecked(true); hboxLayout5->addWidget(orthogonal); background = new QPushButton(groupBox); background->setObjectName(QString::fromUtf8("background")); sizePolicy1.setHeightForWidth(background->sizePolicy().hasHeightForWidth()); background->setSizePolicy(sizePolicy1); background->setFocusPolicy(Qt::StrongFocus); hboxLayout5->addWidget(background); spacerItem1 = new QSpacerItem(31, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout5->addItem(spacerItem1); gridLayout4->addLayout(hboxLayout5, 0, 0, 1, 1); vboxLayout->addWidget(groupBox); spacerItem2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); vboxLayout->addItem(spacerItem2); gridLayout1->addLayout(vboxLayout, 0, 0, 1, 1); tabWidget->addTab(tab, QString()); tab_2 = new QWidget(); tab_2->setObjectName(QString::fromUtf8("tab_2")); gridLayout5 = new QGridLayout(tab_2); gridLayout5->setSpacing(0); gridLayout5->setMargin(0); gridLayout5->setObjectName(QString::fromUtf8("gridLayout5")); treeWidget = new QTreeWidget(tab_2); treeWidget->setObjectName(QString::fromUtf8("treeWidget")); QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5)); sizePolicy2.setHorizontalStretch(0); sizePolicy2.setVerticalStretch(0); sizePolicy2.setHeightForWidth(treeWidget->sizePolicy().hasHeightForWidth()); treeWidget->setSizePolicy(sizePolicy2); treeWidget->setColumnCount(3); gridLayout5->addWidget(treeWidget, 0, 0, 1, 1); hboxLayout6 = new QHBoxLayout(); hboxLayout6->setSpacing(0); hboxLayout6->setMargin(0); hboxLayout6->setObjectName(QString::fromUtf8("hboxLayout6")); spacerItem3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout6->addItem(spacerItem3); applyButton = new QPushButton(tab_2); applyButton->setObjectName(QString::fromUtf8("applyButton")); hboxLayout6->addWidget(applyButton); spacerItem4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout6->addItem(spacerItem4); gridLayout5->addLayout(hboxLayout6, 1, 0, 1, 1); tabWidget->addTab(tab_2, QString()); gridLayout->addWidget(tabWidget, 0, 0, 1, 1); hboxLayout7 = new QHBoxLayout(); hboxLayout7->setSpacing(6); hboxLayout7->setMargin(0); hboxLayout7->setObjectName(QString::fromUtf8("hboxLayout7")); spacerItem5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout7->addItem(spacerItem5); buttonClose = new QPushButton(RenderingParametersDialogData); buttonClose->setObjectName(QString::fromUtf8("buttonClose")); buttonClose->setDefault(true); hboxLayout7->addWidget(buttonClose); gridLayout->addLayout(hboxLayout7, 1, 0, 1, 1); retranslateUi(RenderingParametersDialogData); QObject::connect(arrows, SIGNAL(stateChanged(int)), RenderingParametersDialogData, SLOT(updateView())); QObject::connect(edge3D, SIGNAL(stateChanged(int)), RenderingParametersDialogData, SLOT(updateView())); QObject::connect(colorInterpolation, SIGNAL(stateChanged(int)), RenderingParametersDialogData, SLOT(updateView())); QObject::connect(sizeInterpolation, SIGNAL(stateChanged(int)), RenderingParametersDialogData, SLOT(updateView())); QObject::connect(density, SIGNAL(valueChanged(int)), RenderingParametersDialogData, SLOT(updateView())); QObject::connect(orthogonal, SIGNAL(stateChanged(int)), RenderingParametersDialogData, SLOT(updateView())); QObject::connect(fonts, SIGNAL(activated(int)), RenderingParametersDialogData, SLOT(updateView())); QObject::connect(background, SIGNAL(clicked()), RenderingParametersDialogData, SLOT(backColor())); QObject::connect(ordering, SIGNAL(stateChanged(int)), RenderingParametersDialogData, SLOT(updateView())); QObject::connect(buttonClose, SIGNAL(clicked()), RenderingParametersDialogData, SLOT(accept())); tabWidget->setCurrentIndex(1); fonts->setCurrentIndex(0); QMetaObject::connectSlotsByName(RenderingParametersDialogData); } // setupUi void retranslateUi(QDialog *RenderingParametersDialogData) { RenderingParametersDialogData->setWindowTitle(QApplication::translate("RenderingParametersDialogData", "Rendering Parameters", 0, QApplication::UnicodeUTF8)); labels->setTitle(QApplication::translate("RenderingParametersDialogData", "Labels", 0, QApplication::UnicodeUTF8)); fontType->setText(QApplication::translate("RenderingParametersDialogData", "Type: ", 0, QApplication::UnicodeUTF8)); labelDensity->setText(QApplication::translate("RenderingParametersDialogData", "Density: ", 0, QApplication::UnicodeUTF8)); fonts->clear(); fonts->insertItems(0, QStringList() << QApplication::translate("RenderingParametersDialogData", "3D", 0, QApplication::UnicodeUTF8) << QApplication::translate("RenderingParametersDialogData", "Bitmap", 0, QApplication::UnicodeUTF8) << QApplication::translate("RenderingParametersDialogData", "Texture", 0, QApplication::UnicodeUTF8) ); #ifndef QT_NO_TOOLTIP ordering->setToolTip(QApplication::translate("RenderingParametersDialogData", "Use viewMetric decreasing order as display order", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP ordering->setText(QApplication::translate("RenderingParametersDialogData", "metric ordering", 0, QApplication::UnicodeUTF8)); edgesGroup->setTitle(QApplication::translate("RenderingParametersDialogData", "Edges", 0, QApplication::UnicodeUTF8)); #ifndef QT_NO_TOOLTIP arrows->setToolTip(QApplication::translate("RenderingParametersDialogData", "show/hide arrow on edges", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP arrows->setText(QApplication::translate("RenderingParametersDialogData", "arrows", 0, QApplication::UnicodeUTF8)); #ifndef QT_NO_TOOLTIP edge3D->setToolTip(QApplication::translate("RenderingParametersDialogData", "enable/disable 3D rendering of edges", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP edge3D->setText(QApplication::translate("RenderingParametersDialogData", "3D", 0, QApplication::UnicodeUTF8)); #ifndef QT_NO_TOOLTIP colorInterpolation->setToolTip(QApplication::translate("RenderingParametersDialogData", "Interpolate edge color from the colors of its nodes", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP colorInterpolation->setText(QApplication::translate("RenderingParametersDialogData", "Color interpolation", 0, QApplication::UnicodeUTF8)); #ifndef QT_NO_TOOLTIP sizeInterpolation->setToolTip(QApplication::translate("RenderingParametersDialogData", "Interpolate edge size from the sizes of its nodes", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP sizeInterpolation->setText(QApplication::translate("RenderingParametersDialogData", "Size interpolation", 0, QApplication::UnicodeUTF8)); groupBox->setTitle(QApplication::translate("RenderingParametersDialogData", "Others", 0, QApplication::UnicodeUTF8)); orthogonal->setText(QApplication::translate("RenderingParametersDialogData", "Orthogonal projection", 0, QApplication::UnicodeUTF8)); background->setText(QApplication::translate("RenderingParametersDialogData", "Background color", 0, QApplication::UnicodeUTF8)); tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate("RenderingParametersDialogData", "Parameters", 0, QApplication::UnicodeUTF8)); treeWidget->headerItem()->setText(1, QApplication::translate("RenderingParametersDialogData", "Visibility", 0, QApplication::UnicodeUTF8)); treeWidget->headerItem()->setText(2, QApplication::translate("RenderingParametersDialogData", "Stencil", 0, QApplication::UnicodeUTF8)); applyButton->setText(QApplication::translate("RenderingParametersDialogData", "Apply", 0, QApplication::UnicodeUTF8)); tabWidget->setTabText(tabWidget->indexOf(tab_2), QApplication::translate("RenderingParametersDialogData", "Layers", 0, QApplication::UnicodeUTF8)); buttonClose->setText(QApplication::translate("RenderingParametersDialogData", "Close", 0, QApplication::UnicodeUTF8)); Q_UNUSED(RenderingParametersDialogData); } // retranslateUi }; namespace Ui { class RenderingParametersDialogData: public Ui_RenderingParametersDialogData {}; } // namespace Ui QT_END_NAMESPACE #endif // RENDERINGPARAMETERSDIALOGDATA_H