/******************************************************************************** ** Form generated from reading ui file 'PropertyDialog.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 PROPERTYDIALOGDATA_H #define PROPERTYDIALOGDATA_H #include <QtCore/QVariant> #include <QtGui/QAction> #include <QtGui/QApplication> #include <QtGui/QButtonGroup> #include <QtGui/QCheckBox> #include <QtGui/QGridLayout> #include <QtGui/QHBoxLayout> #include <QtGui/QLabel> #include <QtGui/QListWidget> #include <QtGui/QPushButton> #include <QtGui/QSpacerItem> #include <QtGui/QTabWidget> #include <QtGui/QVBoxLayout> #include <QtGui/QWidget> #include "tulip/PropertyWidget.h" QT_BEGIN_NAMESPACE class Ui_PropertyDialogData { public: QGridLayout *gridLayout; QVBoxLayout *vboxLayout; QVBoxLayout *vboxLayout1; QTabWidget *tabWidget; QWidget *tabNodes; QGridLayout *gridLayout1; PropertyWidget *tableNodes; QWidget *tabEdges; QGridLayout *gridLayout2; PropertyWidget *tableEdges; QHBoxLayout *hboxLayout; QCheckBox *CheckBox1; QPushButton *removeButton_2; QPushButton *setAllButton; QGridLayout *gridLayout3; QVBoxLayout *vboxLayout2; QLabel *localLabel; QListWidget *localProperties; QVBoxLayout *vboxLayout3; QLabel *inheritedLabel; QListWidget *inheritedProperties; QHBoxLayout *hboxLayout1; QHBoxLayout *hboxLayout2; QPushButton *removeButton; QSpacerItem *spacerItem; QHBoxLayout *hboxLayout3; QPushButton *cloneButton; QPushButton *newButton; void setupUi(QWidget *PropertyDialogData) { if (PropertyDialogData->objectName().isEmpty()) PropertyDialogData->setObjectName(QString::fromUtf8("PropertyDialogData")); PropertyDialogData->resize(314, 323); QSizePolicy sizePolicy; sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(PropertyDialogData->sizePolicy().hasHeightForWidth()); PropertyDialogData->setSizePolicy(sizePolicy); PropertyDialogData->setMinimumSize(QSize(0, 0)); PropertyDialogData->setMaximumSize(QSize(350, 32767)); gridLayout = new QGridLayout(PropertyDialogData); gridLayout->setSpacing(0); gridLayout->setMargin(0); gridLayout->setObjectName(QString::fromUtf8("gridLayout")); vboxLayout = new QVBoxLayout(); vboxLayout->setSpacing(6); vboxLayout->setMargin(0); vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); vboxLayout1 = new QVBoxLayout(); vboxLayout1->setSpacing(6); vboxLayout1->setMargin(0); vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); tabWidget = new QTabWidget(PropertyDialogData); tabWidget->setObjectName(QString::fromUtf8("tabWidget")); QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(7)); sizePolicy1.setHorizontalStretch(0); sizePolicy1.setVerticalStretch(2); sizePolicy1.setHeightForWidth(tabWidget->sizePolicy().hasHeightForWidth()); tabWidget->setSizePolicy(sizePolicy1); tabWidget->setMinimumSize(QSize(0, 100)); tabWidget->setFocusPolicy(Qt::StrongFocus); tabNodes = new QWidget(); tabNodes->setObjectName(QString::fromUtf8("tabNodes")); gridLayout1 = new QGridLayout(tabNodes); gridLayout1->setSpacing(6); gridLayout1->setMargin(0); gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); tableNodes = new PropertyWidget(tabNodes); if (tableNodes->columnCount() < 2) tableNodes->setColumnCount(2); QTableWidgetItem *__colItem = new QTableWidgetItem(); tableNodes->setHorizontalHeaderItem(0, __colItem); QTableWidgetItem *__colItem1 = new QTableWidgetItem(); tableNodes->setHorizontalHeaderItem(1, __colItem1); if (tableNodes->rowCount() < 8) tableNodes->setRowCount(8); tableNodes->setObjectName(QString::fromUtf8("tableNodes")); QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(13), static_cast<QSizePolicy::Policy>(7)); sizePolicy2.setHorizontalStretch(0); sizePolicy2.setVerticalStretch(0); sizePolicy2.setHeightForWidth(tableNodes->sizePolicy().hasHeightForWidth()); tableNodes->setSizePolicy(sizePolicy2); tableNodes->setShowGrid(true); tableNodes->setRowCount(8); gridLayout1->addWidget(tableNodes, 0, 0, 1, 1); tabWidget->addTab(tabNodes, QString()); tabEdges = new QWidget(); tabEdges->setObjectName(QString::fromUtf8("tabEdges")); gridLayout2 = new QGridLayout(tabEdges); gridLayout2->setSpacing(6); gridLayout2->setMargin(0); gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); tableEdges = new PropertyWidget(tabEdges); if (tableEdges->columnCount() < 2) tableEdges->setColumnCount(2); QTableWidgetItem *__colItem2 = new QTableWidgetItem(); tableEdges->setHorizontalHeaderItem(0, __colItem2); QTableWidgetItem *__colItem3 = new QTableWidgetItem(); tableEdges->setHorizontalHeaderItem(1, __colItem3); if (tableEdges->rowCount() < 4) tableEdges->setRowCount(4); tableEdges->setObjectName(QString::fromUtf8("tableEdges")); tableEdges->setRowCount(4); gridLayout2->addWidget(tableEdges, 0, 0, 1, 1); tabWidget->addTab(tabEdges, QString()); vboxLayout1->addWidget(tabWidget); hboxLayout = new QHBoxLayout(); hboxLayout->setSpacing(6); hboxLayout->setMargin(0); hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); CheckBox1 = new QCheckBox(PropertyDialogData); CheckBox1->setObjectName(QString::fromUtf8("CheckBox1")); hboxLayout->addWidget(CheckBox1); removeButton_2 = new QPushButton(PropertyDialogData); removeButton_2->setObjectName(QString::fromUtf8("removeButton_2")); QSizePolicy sizePolicy3(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0)); sizePolicy3.setHorizontalStretch(0); sizePolicy3.setVerticalStretch(0); sizePolicy3.setHeightForWidth(removeButton_2->sizePolicy().hasHeightForWidth()); removeButton_2->setSizePolicy(sizePolicy3); removeButton_2->setMaximumSize(QSize(32000, 32000)); hboxLayout->addWidget(removeButton_2); setAllButton = new QPushButton(PropertyDialogData); setAllButton->setObjectName(QString::fromUtf8("setAllButton")); hboxLayout->addWidget(setAllButton); vboxLayout1->addLayout(hboxLayout); vboxLayout->addLayout(vboxLayout1); gridLayout3 = new QGridLayout(); gridLayout3->setSpacing(6); gridLayout3->setMargin(0); gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); vboxLayout2 = new QVBoxLayout(); vboxLayout2->setSpacing(0); vboxLayout2->setMargin(0); vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); localLabel = new QLabel(PropertyDialogData); localLabel->setObjectName(QString::fromUtf8("localLabel")); sizePolicy3.setHeightForWidth(localLabel->sizePolicy().hasHeightForWidth()); localLabel->setSizePolicy(sizePolicy3); localLabel->setAlignment(Qt::AlignCenter); localLabel->setWordWrap(false); vboxLayout2->addWidget(localLabel); localProperties = new QListWidget(PropertyDialogData); localProperties->setObjectName(QString::fromUtf8("localProperties")); sizePolicy3.setHeightForWidth(localProperties->sizePolicy().hasHeightForWidth()); localProperties->setSizePolicy(sizePolicy3); localProperties->setMinimumSize(QSize(0, 110)); localProperties->setMaximumSize(QSize(150, 110)); localProperties->setResizeMode(QListView::Fixed); localProperties->setUniformItemSizes(true); vboxLayout2->addWidget(localProperties); gridLayout3->addLayout(vboxLayout2, 0, 0, 1, 1); vboxLayout3 = new QVBoxLayout(); vboxLayout3->setSpacing(0); vboxLayout3->setMargin(0); vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3")); inheritedLabel = new QLabel(PropertyDialogData); inheritedLabel->setObjectName(QString::fromUtf8("inheritedLabel")); sizePolicy3.setHeightForWidth(inheritedLabel->sizePolicy().hasHeightForWidth()); inheritedLabel->setSizePolicy(sizePolicy3); inheritedLabel->setAlignment(Qt::AlignCenter); inheritedLabel->setWordWrap(false); vboxLayout3->addWidget(inheritedLabel); inheritedProperties = new QListWidget(PropertyDialogData); inheritedProperties->setObjectName(QString::fromUtf8("inheritedProperties")); sizePolicy3.setHeightForWidth(inheritedProperties->sizePolicy().hasHeightForWidth()); inheritedProperties->setSizePolicy(sizePolicy3); inheritedProperties->setMinimumSize(QSize(0, 110)); inheritedProperties->setMaximumSize(QSize(150, 110)); inheritedProperties->setResizeMode(QListView::Fixed); vboxLayout3->addWidget(inheritedProperties); gridLayout3->addLayout(vboxLayout3, 0, 1, 1, 1); vboxLayout->addLayout(gridLayout3); hboxLayout1 = new QHBoxLayout(); hboxLayout1->setSpacing(4); hboxLayout1->setMargin(0); hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); hboxLayout2 = new QHBoxLayout(); hboxLayout2->setSpacing(6); hboxLayout2->setMargin(0); hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); removeButton = new QPushButton(PropertyDialogData); removeButton->setObjectName(QString::fromUtf8("removeButton")); sizePolicy3.setHeightForWidth(removeButton->sizePolicy().hasHeightForWidth()); removeButton->setSizePolicy(sizePolicy3); removeButton->setMaximumSize(QSize(90, 28)); hboxLayout2->addWidget(removeButton); spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout2->addItem(spacerItem); hboxLayout1->addLayout(hboxLayout2); hboxLayout3 = new QHBoxLayout(); hboxLayout3->setSpacing(9); hboxLayout3->setMargin(0); hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3")); cloneButton = new QPushButton(PropertyDialogData); cloneButton->setObjectName(QString::fromUtf8("cloneButton")); sizePolicy3.setHeightForWidth(cloneButton->sizePolicy().hasHeightForWidth()); cloneButton->setSizePolicy(sizePolicy3); cloneButton->setMaximumSize(QSize(70, 28)); hboxLayout3->addWidget(cloneButton); newButton = new QPushButton(PropertyDialogData); newButton->setObjectName(QString::fromUtf8("newButton")); sizePolicy3.setHeightForWidth(newButton->sizePolicy().hasHeightForWidth()); newButton->setSizePolicy(sizePolicy3); newButton->setMaximumSize(QSize(70, 28)); hboxLayout3->addWidget(newButton); hboxLayout1->addLayout(hboxLayout3); vboxLayout->addLayout(hboxLayout1); gridLayout->addLayout(vboxLayout, 0, 0, 1, 1); QWidget::setTabOrder(removeButton, cloneButton); QWidget::setTabOrder(cloneButton, newButton); QWidget::setTabOrder(newButton, tabWidget); QWidget::setTabOrder(tabWidget, CheckBox1); retranslateUi(PropertyDialogData); QObject::connect(CheckBox1, SIGNAL(toggled(bool)), PropertyDialogData, SLOT(filterSelection(bool))); QObject::connect(removeButton_2, SIGNAL(clicked()), PropertyDialogData, SLOT(toStringProperty())); QObject::connect(setAllButton, SIGNAL(clicked()), PropertyDialogData, SLOT(setAllValue())); tabWidget->setCurrentIndex(0); QMetaObject::connectSlotsByName(PropertyDialogData); } // setupUi void retranslateUi(QWidget *PropertyDialogData) { PropertyDialogData->setWindowTitle(QApplication::translate("PropertyDialogData", "Property Editor", 0, QApplication::UnicodeUTF8)); tableNodes->horizontalHeaderItem(0)->setText(QApplication::translate("PropertyDialogData", "Id", 0, QApplication::UnicodeUTF8)); tabWidget->setTabText(tabWidget->indexOf(tabNodes), QApplication::translate("PropertyDialogData", "Nodes", 0, QApplication::UnicodeUTF8)); tableEdges->horizontalHeaderItem(0)->setText(QApplication::translate("PropertyDialogData", "Id", 0, QApplication::UnicodeUTF8)); tabWidget->setTabText(tabWidget->indexOf(tabEdges), QApplication::translate("PropertyDialogData", "Edges", 0, QApplication::UnicodeUTF8)); #ifndef QT_NO_TOOLTIP CheckBox1->setToolTip(QApplication::translate("PropertyDialogData", "Display/Update only the selected nodes or edges", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP CheckBox1->setText(QApplication::translate("PropertyDialogData", "selected only", 0, QApplication::UnicodeUTF8)); #ifndef QT_NO_TOOLTIP removeButton_2->setToolTip(QApplication::translate("PropertyDialogData", "Set the value of current property as label", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP removeButton_2->setText(QApplication::translate("PropertyDialogData", "To labels", 0, QApplication::UnicodeUTF8)); #ifndef QT_NO_TOOLTIP setAllButton->setToolTip(QApplication::translate("PropertyDialogData", "Give the same value to current property for all nodes or edges", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP setAllButton->setText(QApplication::translate("PropertyDialogData", "Set all", 0, QApplication::UnicodeUTF8)); localLabel->setText(QApplication::translate("PropertyDialogData", "Local", 0, QApplication::UnicodeUTF8)); inheritedLabel->setText(QApplication::translate("PropertyDialogData", "Inherited", 0, QApplication::UnicodeUTF8)); removeButton->setText(QApplication::translate("PropertyDialogData", "Remove", 0, QApplication::UnicodeUTF8)); cloneButton->setText(QApplication::translate("PropertyDialogData", "Copy", 0, QApplication::UnicodeUTF8)); newButton->setText(QApplication::translate("PropertyDialogData", "New", 0, QApplication::UnicodeUTF8)); Q_UNUSED(PropertyDialogData); } // retranslateUi }; namespace Ui { class PropertyDialogData: public Ui_PropertyDialogData {}; } // namespace Ui QT_END_NAMESPACE #endif // PROPERTYDIALOGDATA_H