00001 #ifndef BASEGENGRAPHFORM_H
00002 #define BASEGENGRAPHFORM_H
00003
00004 #include <qvariant.h>
00005
00006
00007 #include <Qt3Support/Q3ButtonGroup>
00008 #include <Qt3Support/Q3GroupBox>
00009 #include <QtCore/QVariant>
00010 #include <QtGui/QAction>
00011 #include <QtGui/QApplication>
00012 #include <QtGui/QButtonGroup>
00013 #include <QtGui/QCheckBox>
00014 #include <QtGui/QComboBox>
00015 #include <QtGui/QDialog>
00016 #include <QtGui/QGridLayout>
00017 #include <QtGui/QHBoxLayout>
00018 #include <QtGui/QLabel>
00019 #include <QtGui/QLineEdit>
00020 #include <QtGui/QPushButton>
00021 #include <QtGui/QRadioButton>
00022 #include <QtGui/QSpacerItem>
00023 #include <QtGui/QVBoxLayout>
00024
00025 QT_BEGIN_NAMESPACE
00026
00027 class Ui_BaseGenGraphForm
00028 {
00029 public:
00030 QVBoxLayout *vboxLayout;
00031 QGridLayout *gridLayout;
00032 QLabel *filenameLabel;
00033 QPushButton *browseButton;
00034 QLineEdit *filename;
00035 QHBoxLayout *hboxLayout;
00036 Q3ButtonGroup *layoutGroup;
00037 QVBoxLayout *vboxLayout1;
00038 QRadioButton *layoutDirV;
00039 QRadioButton *layoutDirH;
00040 QRadioButton *layoutSpring;
00041 QRadioButton *layoutRadial;
00042 Q3GroupBox *outputsBox;
00043 QVBoxLayout *vboxLayout2;
00044 QCheckBox *genPNG;
00045 QCheckBox *genPS;
00046 QCheckBox *genFIG;
00047 QCheckBox *genSVG;
00048 QHBoxLayout *hboxLayout1;
00049 QLabel *presetLabel;
00050 QComboBox *presetFilter;
00051 Q3GroupBox *filterBox;
00052 QGridLayout *gridLayout1;
00053 QCheckBox *showSolvers;
00054 QCheckBox *showMechanicalStates;
00055 QCheckBox *showForceFields;
00056 QCheckBox *showInteractionForceFields;
00057 QCheckBox *showConstraints;
00058 QCheckBox *showMass;
00059 QCheckBox *showMechanicalMappings;
00060 QCheckBox *showTopology;
00061 QCheckBox *showMappings;
00062 QCheckBox *showCollisionModels;
00063 QCheckBox *showVisualModels;
00064 QCheckBox *showCollisionPipeline;
00065 QCheckBox *showBehaviorModels;
00066 QCheckBox *showContext;
00067 QCheckBox *showObjects;
00068 QCheckBox *showNodes;
00069 QHBoxLayout *hboxLayout2;
00070 Q3GroupBox *groupNodeLabel;
00071 QVBoxLayout *vboxLayout3;
00072 QCheckBox *labelNodeName;
00073 QCheckBox *labelNodeClass;
00074 Q3GroupBox *groupObjectLabel;
00075 QVBoxLayout *vboxLayout4;
00076 QCheckBox *labelObjectName;
00077 QCheckBox *labelObjectClass;
00078 QHBoxLayout *hboxLayout3;
00079 QSpacerItem *spacer1;
00080 QPushButton *displayButton;
00081 QPushButton *exportButton;
00082 QPushButton *closeButton;
00083
00084 void setupUi(QDialog *BaseGenGraphForm)
00085 {
00086 if (BaseGenGraphForm->objectName().isEmpty())
00087 BaseGenGraphForm->setObjectName(QString::fromUtf8("BaseGenGraphForm"));
00088 BaseGenGraphForm->resize(289, 589);
00089 BaseGenGraphForm->setWindowIcon(qt_get_icon(image0_ID));
00090 vboxLayout = new QVBoxLayout(BaseGenGraphForm);
00091 vboxLayout->setSpacing(6);
00092 vboxLayout->setMargin(11);
00093 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00094 gridLayout = new QGridLayout();
00095 gridLayout->setSpacing(6);
00096 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00097 filenameLabel = new QLabel(BaseGenGraphForm);
00098 filenameLabel->setObjectName(QString::fromUtf8("filenameLabel"));
00099 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
00100 sizePolicy.setHorizontalStretch(1);
00101 sizePolicy.setVerticalStretch(0);
00102 sizePolicy.setHeightForWidth(filenameLabel->sizePolicy().hasHeightForWidth());
00103 filenameLabel->setSizePolicy(sizePolicy);
00104 filenameLabel->setWordWrap(false);
00105
00106 gridLayout->addWidget(filenameLabel, 0, 0, 1, 1);
00107
00108 browseButton = new QPushButton(BaseGenGraphForm);
00109 browseButton->setObjectName(QString::fromUtf8("browseButton"));
00110
00111 gridLayout->addWidget(browseButton, 0, 1, 1, 1);
00112
00113 filename = new QLineEdit(BaseGenGraphForm);
00114 filename->setObjectName(QString::fromUtf8("filename"));
00115
00116 gridLayout->addWidget(filename, 1, 0, 1, 2);
00117
00118
00119 vboxLayout->addLayout(gridLayout);
00120
00121 hboxLayout = new QHBoxLayout();
00122 hboxLayout->setSpacing(6);
00123 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00124 layoutGroup = new Q3ButtonGroup(BaseGenGraphForm);
00125 layoutGroup->setObjectName(QString::fromUtf8("layoutGroup"));
00126 layoutGroup->setColumnLayout(0, Qt::Vertical);
00127 layoutGroup->layout()->setSpacing(6);
00128 layoutGroup->layout()->setMargin(11);
00129 vboxLayout1 = new QVBoxLayout();
00130 QBoxLayout *boxlayout = qobject_cast<QBoxLayout *>(layoutGroup->layout());
00131 if (boxlayout)
00132 boxlayout->addLayout(vboxLayout1);
00133 vboxLayout1->setAlignment(Qt::AlignTop);
00134 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00135 layoutDirV = new QRadioButton(layoutGroup);
00136 layoutDirV->setObjectName(QString::fromUtf8("layoutDirV"));
00137 layoutDirV->setChecked(true);
00138
00139 vboxLayout1->addWidget(layoutDirV);
00140
00141 layoutDirH = new QRadioButton(layoutGroup);
00142 layoutDirH->setObjectName(QString::fromUtf8("layoutDirH"));
00143
00144 vboxLayout1->addWidget(layoutDirH);
00145
00146 layoutSpring = new QRadioButton(layoutGroup);
00147 layoutSpring->setObjectName(QString::fromUtf8("layoutSpring"));
00148
00149 vboxLayout1->addWidget(layoutSpring);
00150
00151 layoutRadial = new QRadioButton(layoutGroup);
00152 layoutRadial->setObjectName(QString::fromUtf8("layoutRadial"));
00153
00154 vboxLayout1->addWidget(layoutRadial);
00155
00156
00157 hboxLayout->addWidget(layoutGroup);
00158
00159 outputsBox = new Q3GroupBox(BaseGenGraphForm);
00160 outputsBox->setObjectName(QString::fromUtf8("outputsBox"));
00161 outputsBox->setColumnLayout(0, Qt::Vertical);
00162 outputsBox->layout()->setSpacing(6);
00163 outputsBox->layout()->setMargin(11);
00164 vboxLayout2 = new QVBoxLayout();
00165 QBoxLayout *boxlayout1 = qobject_cast<QBoxLayout *>(outputsBox->layout());
00166 if (boxlayout1)
00167 boxlayout1->addLayout(vboxLayout2);
00168 vboxLayout2->setAlignment(Qt::AlignTop);
00169 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00170 genPNG = new QCheckBox(outputsBox);
00171 genPNG->setObjectName(QString::fromUtf8("genPNG"));
00172 genPNG->setChecked(true);
00173
00174 vboxLayout2->addWidget(genPNG);
00175
00176 genPS = new QCheckBox(outputsBox);
00177 genPS->setObjectName(QString::fromUtf8("genPS"));
00178
00179 vboxLayout2->addWidget(genPS);
00180
00181 genFIG = new QCheckBox(outputsBox);
00182 genFIG->setObjectName(QString::fromUtf8("genFIG"));
00183
00184 vboxLayout2->addWidget(genFIG);
00185
00186 genSVG = new QCheckBox(outputsBox);
00187 genSVG->setObjectName(QString::fromUtf8("genSVG"));
00188
00189 vboxLayout2->addWidget(genSVG);
00190
00191
00192 hboxLayout->addWidget(outputsBox);
00193
00194
00195 vboxLayout->addLayout(hboxLayout);
00196
00197 hboxLayout1 = new QHBoxLayout();
00198 hboxLayout1->setSpacing(6);
00199 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00200 presetLabel = new QLabel(BaseGenGraphForm);
00201 presetLabel->setObjectName(QString::fromUtf8("presetLabel"));
00202 presetLabel->setWordWrap(false);
00203
00204 hboxLayout1->addWidget(presetLabel);
00205
00206 presetFilter = new QComboBox(BaseGenGraphForm);
00207 presetFilter->setObjectName(QString::fromUtf8("presetFilter"));
00208 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0));
00209 sizePolicy1.setHorizontalStretch(1);
00210 sizePolicy1.setVerticalStretch(0);
00211 sizePolicy1.setHeightForWidth(presetFilter->sizePolicy().hasHeightForWidth());
00212 presetFilter->setSizePolicy(sizePolicy1);
00213 presetFilter->setEditable(true);
00214 presetFilter->setInsertPolicy(QComboBox::InsertAtTop);
00215 presetFilter->setAutoCompletion(true);
00216 presetFilter->setDuplicatesEnabled(false);
00217
00218 hboxLayout1->addWidget(presetFilter);
00219
00220
00221 vboxLayout->addLayout(hboxLayout1);
00222
00223 filterBox = new Q3GroupBox(BaseGenGraphForm);
00224 filterBox->setObjectName(QString::fromUtf8("filterBox"));
00225 filterBox->setColumnLayout(0, Qt::Vertical);
00226 filterBox->layout()->setSpacing(6);
00227 filterBox->layout()->setMargin(11);
00228 gridLayout1 = new QGridLayout();
00229 QBoxLayout *boxlayout2 = qobject_cast<QBoxLayout *>(filterBox->layout());
00230 if (boxlayout2)
00231 boxlayout2->addLayout(gridLayout1);
00232 gridLayout1->setAlignment(Qt::AlignTop);
00233 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00234 showSolvers = new QCheckBox(filterBox);
00235 showSolvers->setObjectName(QString::fromUtf8("showSolvers"));
00236 showSolvers->setChecked(true);
00237
00238 gridLayout1->addWidget(showSolvers, 0, 1, 1, 1);
00239
00240 showMechanicalStates = new QCheckBox(filterBox);
00241 showMechanicalStates->setObjectName(QString::fromUtf8("showMechanicalStates"));
00242 showMechanicalStates->setChecked(true);
00243
00244 gridLayout1->addWidget(showMechanicalStates, 1, 1, 1, 1);
00245
00246 showForceFields = new QCheckBox(filterBox);
00247 showForceFields->setObjectName(QString::fromUtf8("showForceFields"));
00248 showForceFields->setChecked(true);
00249
00250 gridLayout1->addWidget(showForceFields, 2, 1, 1, 1);
00251
00252 showInteractionForceFields = new QCheckBox(filterBox);
00253 showInteractionForceFields->setObjectName(QString::fromUtf8("showInteractionForceFields"));
00254 showInteractionForceFields->setChecked(true);
00255
00256 gridLayout1->addWidget(showInteractionForceFields, 3, 1, 1, 1);
00257
00258 showConstraints = new QCheckBox(filterBox);
00259 showConstraints->setObjectName(QString::fromUtf8("showConstraints"));
00260 showConstraints->setChecked(true);
00261
00262 gridLayout1->addWidget(showConstraints, 4, 1, 1, 1);
00263
00264 showMass = new QCheckBox(filterBox);
00265 showMass->setObjectName(QString::fromUtf8("showMass"));
00266 showMass->setChecked(true);
00267
00268 gridLayout1->addWidget(showMass, 5, 1, 1, 1);
00269
00270 showMechanicalMappings = new QCheckBox(filterBox);
00271 showMechanicalMappings->setObjectName(QString::fromUtf8("showMechanicalMappings"));
00272 showMechanicalMappings->setChecked(true);
00273
00274 gridLayout1->addWidget(showMechanicalMappings, 7, 1, 1, 1);
00275
00276 showTopology = new QCheckBox(filterBox);
00277 showTopology->setObjectName(QString::fromUtf8("showTopology"));
00278 showTopology->setChecked(true);
00279
00280 gridLayout1->addWidget(showTopology, 6, 1, 1, 1);
00281
00282 showMappings = new QCheckBox(filterBox);
00283 showMappings->setObjectName(QString::fromUtf8("showMappings"));
00284 showMappings->setChecked(true);
00285
00286 gridLayout1->addWidget(showMappings, 5, 0, 1, 1);
00287
00288 showCollisionModels = new QCheckBox(filterBox);
00289 showCollisionModels->setObjectName(QString::fromUtf8("showCollisionModels"));
00290 showCollisionModels->setChecked(true);
00291
00292 gridLayout1->addWidget(showCollisionModels, 3, 0, 1, 1);
00293
00294 showVisualModels = new QCheckBox(filterBox);
00295 showVisualModels->setObjectName(QString::fromUtf8("showVisualModels"));
00296 showVisualModels->setChecked(true);
00297
00298 gridLayout1->addWidget(showVisualModels, 4, 0, 1, 1);
00299
00300 showCollisionPipeline = new QCheckBox(filterBox);
00301 showCollisionPipeline->setObjectName(QString::fromUtf8("showCollisionPipeline"));
00302 showCollisionPipeline->setChecked(true);
00303
00304 gridLayout1->addWidget(showCollisionPipeline, 7, 0, 1, 1);
00305
00306 showBehaviorModels = new QCheckBox(filterBox);
00307 showBehaviorModels->setObjectName(QString::fromUtf8("showBehaviorModels"));
00308 showBehaviorModels->setChecked(true);
00309
00310 gridLayout1->addWidget(showBehaviorModels, 2, 0, 1, 1);
00311
00312 showContext = new QCheckBox(filterBox);
00313 showContext->setObjectName(QString::fromUtf8("showContext"));
00314 showContext->setChecked(true);
00315
00316 gridLayout1->addWidget(showContext, 6, 0, 1, 1);
00317
00318 showObjects = new QCheckBox(filterBox);
00319 showObjects->setObjectName(QString::fromUtf8("showObjects"));
00320 showObjects->setChecked(true);
00321
00322 gridLayout1->addWidget(showObjects, 1, 0, 1, 1);
00323
00324 showNodes = new QCheckBox(filterBox);
00325 showNodes->setObjectName(QString::fromUtf8("showNodes"));
00326 showNodes->setChecked(true);
00327
00328 gridLayout1->addWidget(showNodes, 0, 0, 1, 1);
00329
00330
00331 vboxLayout->addWidget(filterBox);
00332
00333 hboxLayout2 = new QHBoxLayout();
00334 hboxLayout2->setSpacing(6);
00335 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00336 groupNodeLabel = new Q3GroupBox(BaseGenGraphForm);
00337 groupNodeLabel->setObjectName(QString::fromUtf8("groupNodeLabel"));
00338 groupNodeLabel->setColumnLayout(0, Qt::Vertical);
00339 groupNodeLabel->layout()->setSpacing(6);
00340 groupNodeLabel->layout()->setMargin(11);
00341 vboxLayout3 = new QVBoxLayout();
00342 QBoxLayout *boxlayout3 = qobject_cast<QBoxLayout *>(groupNodeLabel->layout());
00343 if (boxlayout3)
00344 boxlayout3->addLayout(vboxLayout3);
00345 vboxLayout3->setAlignment(Qt::AlignTop);
00346 vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
00347 labelNodeName = new QCheckBox(groupNodeLabel);
00348 labelNodeName->setObjectName(QString::fromUtf8("labelNodeName"));
00349 labelNodeName->setChecked(true);
00350
00351 vboxLayout3->addWidget(labelNodeName);
00352
00353 labelNodeClass = new QCheckBox(groupNodeLabel);
00354 labelNodeClass->setObjectName(QString::fromUtf8("labelNodeClass"));
00355
00356 vboxLayout3->addWidget(labelNodeClass);
00357
00358
00359 hboxLayout2->addWidget(groupNodeLabel);
00360
00361 groupObjectLabel = new Q3GroupBox(BaseGenGraphForm);
00362 groupObjectLabel->setObjectName(QString::fromUtf8("groupObjectLabel"));
00363 groupObjectLabel->setColumnLayout(0, Qt::Vertical);
00364 groupObjectLabel->layout()->setSpacing(6);
00365 groupObjectLabel->layout()->setMargin(11);
00366 vboxLayout4 = new QVBoxLayout();
00367 QBoxLayout *boxlayout4 = qobject_cast<QBoxLayout *>(groupObjectLabel->layout());
00368 if (boxlayout4)
00369 boxlayout4->addLayout(vboxLayout4);
00370 vboxLayout4->setAlignment(Qt::AlignTop);
00371 vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
00372 labelObjectName = new QCheckBox(groupObjectLabel);
00373 labelObjectName->setObjectName(QString::fromUtf8("labelObjectName"));
00374 labelObjectName->setChecked(true);
00375
00376 vboxLayout4->addWidget(labelObjectName);
00377
00378 labelObjectClass = new QCheckBox(groupObjectLabel);
00379 labelObjectClass->setObjectName(QString::fromUtf8("labelObjectClass"));
00380 labelObjectClass->setChecked(true);
00381
00382 vboxLayout4->addWidget(labelObjectClass);
00383
00384
00385 hboxLayout2->addWidget(groupObjectLabel);
00386
00387
00388 vboxLayout->addLayout(hboxLayout2);
00389
00390 hboxLayout3 = new QHBoxLayout();
00391 hboxLayout3->setSpacing(6);
00392 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00393 spacer1 = new QSpacerItem(16, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00394
00395 hboxLayout3->addItem(spacer1);
00396
00397 displayButton = new QPushButton(BaseGenGraphForm);
00398 displayButton->setObjectName(QString::fromUtf8("displayButton"));
00399 displayButton->setEnabled(false);
00400
00401 hboxLayout3->addWidget(displayButton);
00402
00403 exportButton = new QPushButton(BaseGenGraphForm);
00404 exportButton->setObjectName(QString::fromUtf8("exportButton"));
00405 exportButton->setDefault(true);
00406
00407 hboxLayout3->addWidget(exportButton);
00408
00409 closeButton = new QPushButton(BaseGenGraphForm);
00410 closeButton->setObjectName(QString::fromUtf8("closeButton"));
00411
00412 hboxLayout3->addWidget(closeButton);
00413
00414
00415 vboxLayout->addLayout(hboxLayout3);
00416
00417
00418 #ifndef QT_NO_SHORTCUT
00419 filenameLabel->setBuddy(filename);
00420 #endif // QT_NO_SHORTCUT
00421
00422 QWidget::setTabOrder(filename, browseButton);
00423 QWidget::setTabOrder(browseButton, layoutDirV);
00424 QWidget::setTabOrder(layoutDirV, layoutDirH);
00425 QWidget::setTabOrder(layoutDirH, layoutSpring);
00426 QWidget::setTabOrder(layoutSpring, layoutRadial);
00427 QWidget::setTabOrder(layoutRadial, genPNG);
00428 QWidget::setTabOrder(genPNG, genPS);
00429 QWidget::setTabOrder(genPS, genFIG);
00430 QWidget::setTabOrder(genFIG, genSVG);
00431 QWidget::setTabOrder(genSVG, showSolvers);
00432 QWidget::setTabOrder(showSolvers, showMechanicalStates);
00433 QWidget::setTabOrder(showMechanicalStates, showForceFields);
00434 QWidget::setTabOrder(showForceFields, showInteractionForceFields);
00435 QWidget::setTabOrder(showInteractionForceFields, showConstraints);
00436 QWidget::setTabOrder(showConstraints, showMass);
00437 QWidget::setTabOrder(showMass, showMechanicalMappings);
00438 QWidget::setTabOrder(showMechanicalMappings, showTopology);
00439 QWidget::setTabOrder(showTopology, showMappings);
00440 QWidget::setTabOrder(showMappings, showCollisionModels);
00441 QWidget::setTabOrder(showCollisionModels, showVisualModels);
00442 QWidget::setTabOrder(showVisualModels, showCollisionPipeline);
00443 QWidget::setTabOrder(showCollisionPipeline, showBehaviorModels);
00444 QWidget::setTabOrder(showBehaviorModels, showContext);
00445 QWidget::setTabOrder(showContext, showObjects);
00446 QWidget::setTabOrder(showObjects, showNodes);
00447 QWidget::setTabOrder(showNodes, labelNodeName);
00448 QWidget::setTabOrder(labelNodeName, labelNodeClass);
00449 QWidget::setTabOrder(labelNodeClass, labelObjectName);
00450 QWidget::setTabOrder(labelObjectName, labelObjectClass);
00451 QWidget::setTabOrder(labelObjectClass, displayButton);
00452 QWidget::setTabOrder(displayButton, exportButton);
00453
00454 retranslateUi(BaseGenGraphForm);
00455 QObject::connect(showObjects, SIGNAL(toggled(bool)), showBehaviorModels, SLOT(setEnabled(bool)));
00456 QObject::connect(showObjects, SIGNAL(toggled(bool)), showCollisionModels, SLOT(setEnabled(bool)));
00457 QObject::connect(showObjects, SIGNAL(toggled(bool)), showVisualModels, SLOT(setEnabled(bool)));
00458 QObject::connect(showObjects, SIGNAL(toggled(bool)), showMappings, SLOT(setEnabled(bool)));
00459 QObject::connect(showObjects, SIGNAL(toggled(bool)), showContext, SLOT(setEnabled(bool)));
00460 QObject::connect(showObjects, SIGNAL(toggled(bool)), showCollisionPipeline, SLOT(setEnabled(bool)));
00461 QObject::connect(showObjects, SIGNAL(toggled(bool)), showSolvers, SLOT(setEnabled(bool)));
00462 QObject::connect(showObjects, SIGNAL(toggled(bool)), showMechanicalStates, SLOT(setEnabled(bool)));
00463 QObject::connect(showObjects, SIGNAL(toggled(bool)), showForceFields, SLOT(setEnabled(bool)));
00464 QObject::connect(showObjects, SIGNAL(toggled(bool)), showInteractionForceFields, SLOT(setEnabled(bool)));
00465 QObject::connect(showObjects, SIGNAL(toggled(bool)), showConstraints, SLOT(setEnabled(bool)));
00466 QObject::connect(showObjects, SIGNAL(toggled(bool)), showMass, SLOT(setEnabled(bool)));
00467 QObject::connect(showObjects, SIGNAL(toggled(bool)), showTopology, SLOT(setEnabled(bool)));
00468 QObject::connect(showObjects, SIGNAL(toggled(bool)), showMechanicalMappings, SLOT(setEnabled(bool)));
00469 QObject::connect(showObjects, SIGNAL(toggled(bool)), groupObjectLabel, SLOT(setEnabled(bool)));
00470 QObject::connect(showNodes, SIGNAL(toggled(bool)), groupNodeLabel, SLOT(setEnabled(bool)));
00471 QObject::connect(showNodes, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00472 QObject::connect(showObjects, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00473 QObject::connect(showBehaviorModels, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00474 QObject::connect(showCollisionModels, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00475 QObject::connect(showVisualModels, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00476 QObject::connect(showMappings, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00477 QObject::connect(showContext, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00478 QObject::connect(showCollisionPipeline, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00479 QObject::connect(showSolvers, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00480 QObject::connect(showMechanicalStates, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00481 QObject::connect(showForceFields, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00482 QObject::connect(showInteractionForceFields, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00483 QObject::connect(showConstraints, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00484 QObject::connect(showMass, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00485 QObject::connect(showTopology, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00486 QObject::connect(showMechanicalMappings, SIGNAL(toggled(bool)), presetFilter, SLOT(clearEdit()));
00487
00488 QMetaObject::connectSlotsByName(BaseGenGraphForm);
00489 }
00490
00491 void retranslateUi(QDialog *BaseGenGraphForm)
00492 {
00493 BaseGenGraphForm->setWindowTitle(QApplication::translate("BaseGenGraphForm", "Sofa Graph Export", 0, QApplication::UnicodeUTF8));
00494 filenameLabel->setText(QApplication::translate("BaseGenGraphForm", "Output DOT &File", 0, QApplication::UnicodeUTF8));
00495 browseButton->setText(QApplication::translate("BaseGenGraphForm", "Browse...", 0, QApplication::UnicodeUTF8));
00496 filename->setText(QApplication::translate("BaseGenGraphForm", "untitled", 0, QApplication::UnicodeUTF8));
00497 layoutGroup->setTitle(QApplication::translate("BaseGenGraphForm", "Layout", 0, QApplication::UnicodeUTF8));
00498 layoutDirV->setText(QApplication::translate("BaseGenGraphForm", "Directed Vertically", 0, QApplication::UnicodeUTF8));
00499 layoutDirH->setText(QApplication::translate("BaseGenGraphForm", "Directed Horizontally", 0, QApplication::UnicodeUTF8));
00500 layoutSpring->setText(QApplication::translate("BaseGenGraphForm", "Undirected Spring", 0, QApplication::UnicodeUTF8));
00501 layoutRadial->setText(QApplication::translate("BaseGenGraphForm", "Undirected Radial", 0, QApplication::UnicodeUTF8));
00502 outputsBox->setTitle(QApplication::translate("BaseGenGraphForm", "Outputs", 0, QApplication::UnicodeUTF8));
00503 genPNG->setText(QApplication::translate("BaseGenGraphForm", "Generate PNG", 0, QApplication::UnicodeUTF8));
00504 genPS->setText(QApplication::translate("BaseGenGraphForm", "Generate PS", 0, QApplication::UnicodeUTF8));
00505 genFIG->setText(QApplication::translate("BaseGenGraphForm", "Generate FIG", 0, QApplication::UnicodeUTF8));
00506 genSVG->setText(QApplication::translate("BaseGenGraphForm", "Generate SVG", 0, QApplication::UnicodeUTF8));
00507 presetLabel->setText(QApplication::translate("BaseGenGraphForm", "Presets", 0, QApplication::UnicodeUTF8));
00508 presetFilter->clear();
00509 presetFilter->insertItems(0, QStringList()
00510 << QApplication::translate("BaseGenGraphForm", "Full Graph", 0, QApplication::UnicodeUTF8)
00511 << QApplication::translate("BaseGenGraphForm", "All Objects", 0, QApplication::UnicodeUTF8)
00512 << QApplication::translate("BaseGenGraphForm", "All Nodes", 0, QApplication::UnicodeUTF8)
00513 << QApplication::translate("BaseGenGraphForm", "Mechanical Graph", 0, QApplication::UnicodeUTF8)
00514 << QApplication::translate("BaseGenGraphForm", "Mechanical Objects", 0, QApplication::UnicodeUTF8)
00515 << QApplication::translate("BaseGenGraphForm", "Visual Graph", 0, QApplication::UnicodeUTF8)
00516 << QApplication::translate("BaseGenGraphForm", "Visual Objects", 0, QApplication::UnicodeUTF8)
00517 << QApplication::translate("BaseGenGraphForm", "Collision Graph", 0, QApplication::UnicodeUTF8)
00518 << QApplication::translate("BaseGenGraphForm", "Collision Objects", 0, QApplication::UnicodeUTF8)
00519 << QApplication::translate("BaseGenGraphForm", "Collision Response Graph", 0, QApplication::UnicodeUTF8)
00520 << QApplication::translate("BaseGenGraphForm", "Collision Response Objects", 0, QApplication::UnicodeUTF8)
00521 );
00522 filterBox->setTitle(QApplication::translate("BaseGenGraphForm", "Filter", 0, QApplication::UnicodeUTF8));
00523 showSolvers->setText(QApplication::translate("BaseGenGraphForm", "Solvers", 0, QApplication::UnicodeUTF8));
00524 showMechanicalStates->setText(QApplication::translate("BaseGenGraphForm", "Mechanical Models", 0, QApplication::UnicodeUTF8));
00525 showForceFields->setText(QApplication::translate("BaseGenGraphForm", "Force Fields", 0, QApplication::UnicodeUTF8));
00526 showInteractionForceFields->setText(QApplication::translate("BaseGenGraphForm", "Interaction Force Fields", 0, QApplication::UnicodeUTF8));
00527 showConstraints->setText(QApplication::translate("BaseGenGraphForm", "Constraints", 0, QApplication::UnicodeUTF8));
00528 showMass->setText(QApplication::translate("BaseGenGraphForm", "Mass", 0, QApplication::UnicodeUTF8));
00529 showMechanicalMappings->setText(QApplication::translate("BaseGenGraphForm", "Mechanical Mappings", 0, QApplication::UnicodeUTF8));
00530 showTopology->setText(QApplication::translate("BaseGenGraphForm", "Topology", 0, QApplication::UnicodeUTF8));
00531 showMappings->setText(QApplication::translate("BaseGenGraphForm", "Mappings", 0, QApplication::UnicodeUTF8));
00532 showCollisionModels->setText(QApplication::translate("BaseGenGraphForm", "Collision Models", 0, QApplication::UnicodeUTF8));
00533 showVisualModels->setText(QApplication::translate("BaseGenGraphForm", "Visual Models", 0, QApplication::UnicodeUTF8));
00534 showCollisionPipeline->setText(QApplication::translate("BaseGenGraphForm", "Collision Pipeline", 0, QApplication::UnicodeUTF8));
00535 showBehaviorModels->setText(QApplication::translate("BaseGenGraphForm", "Behavior Models", 0, QApplication::UnicodeUTF8));
00536 showContext->setText(QApplication::translate("BaseGenGraphForm", "Context", 0, QApplication::UnicodeUTF8));
00537 showObjects->setText(QApplication::translate("BaseGenGraphForm", "Objects", 0, QApplication::UnicodeUTF8));
00538 showNodes->setText(QApplication::translate("BaseGenGraphForm", "Nodes", 0, QApplication::UnicodeUTF8));
00539 groupNodeLabel->setTitle(QApplication::translate("BaseGenGraphForm", "Nodes Labels", 0, QApplication::UnicodeUTF8));
00540 labelNodeName->setText(QApplication::translate("BaseGenGraphForm", "Name", 0, QApplication::UnicodeUTF8));
00541 labelNodeClass->setText(QApplication::translate("BaseGenGraphForm", "Class", 0, QApplication::UnicodeUTF8));
00542 groupObjectLabel->setTitle(QApplication::translate("BaseGenGraphForm", "Objects Labels", 0, QApplication::UnicodeUTF8));
00543 labelObjectName->setText(QApplication::translate("BaseGenGraphForm", "Name", 0, QApplication::UnicodeUTF8));
00544 labelObjectClass->setText(QApplication::translate("BaseGenGraphForm", "Class", 0, QApplication::UnicodeUTF8));
00545 displayButton->setText(QApplication::translate("BaseGenGraphForm", "&Display", 0, QApplication::UnicodeUTF8));
00546 displayButton->setShortcut(QApplication::translate("BaseGenGraphForm", "Alt+D", 0, QApplication::UnicodeUTF8));
00547 exportButton->setText(QApplication::translate("BaseGenGraphForm", "&Export", 0, QApplication::UnicodeUTF8));
00548 exportButton->setShortcut(QApplication::translate("BaseGenGraphForm", "Alt+E", 0, QApplication::UnicodeUTF8));
00549 closeButton->setText(QApplication::translate("BaseGenGraphForm", "&Close", 0, QApplication::UnicodeUTF8));
00550 closeButton->setShortcut(QApplication::translate("BaseGenGraphForm", "Alt+C", 0, QApplication::UnicodeUTF8));
00551 Q_UNUSED(BaseGenGraphForm);
00552 }
00553
00554
00555 protected:
00556 enum IconID
00557 {
00558 image0_ID,
00559 unknown_ID
00560 };
00561 static QPixmap qt_get_icon(IconID id)
00562 {
00563 static const unsigned char image0_data[] = {
00564 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
00565 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10,
00566 0x08, 0x06, 0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff, 0x61, 0x00, 0x00, 0x01,
00567 0xe7, 0x49, 0x44, 0x41, 0x54, 0x78, 0x9c, 0x8d, 0x52, 0xa1, 0xef, 0xaa,
00568 0x60, 0x14, 0xbd, 0xb0, 0x27, 0x9b, 0xfb, 0x18, 0xc1, 0x19, 0x1d, 0xc9,
00569 0x64, 0x62, 0xd3, 0xca, 0x06, 0xcd, 0xe2, 0x46, 0x24, 0x99, 0x0c, 0x26,
00570 0x92, 0xc1, 0x3f, 0xc1, 0xff, 0x81, 0x80, 0x13, 0x82, 0x33, 0xfa, 0x17,
00571 0x50, 0x29, 0x34, 0x1a, 0x23, 0x60, 0xa0, 0x19, 0x64, 0x6e, 0xc2, 0xbe,
00572 0x71, 0x5e, 0x70, 0xbf, 0x6f, 0xef, 0x3d, 0x79, 0x9b, 0xa7, 0x7d, 0xf7,
00573 0x9e, 0xef, 0xec, 0xdc, 0x73, 0x2f, 0x51, 0x0f, 0x9e, 0xcf, 0x27, 0x36,
00574 0x9b, 0x0d, 0x26, 0x93, 0x09, 0x26, 0x93, 0x09, 0x36, 0x9b, 0x0d, 0x9e,
00575 0xcf, 0x27, 0xfa, 0xb8, 0xbf, 0xfa, 0x8a, 0xbb, 0xdd, 0x8e, 0xae, 0xd7,
00576 0x2b, 0xed, 0xf7, 0x7b, 0x22, 0x22, 0x3a, 0x1c, 0x0e, 0x34, 0x18, 0x0c,
00577 0xfa, 0xa8, 0x9f, 0x78, 0xbd, 0x5e, 0x50, 0x14, 0x05, 0x61, 0x18, 0xe2,
00578 0x07, 0x61, 0x18, 0x42, 0x51, 0x14, 0xbc, 0x5e, 0xaf, 0x0f, 0x17, 0xf2,
00579 0xbf, 0x85, 0xb6, 0x6d, 0x89, 0x73, 0x4e, 0xaa, 0xaa, 0x8a, 0x9a, 0xaa,
00580 0xaa, 0xc4, 0x39, 0xa7, 0xb6, 0x6d, 0xbf, 0x73, 0xb1, 0x5c, 0x2e, 0xb1,
00581 0x58, 0x2c, 0x90, 0x24, 0x09, 0x92, 0x24, 0xc1, 0x7c, 0x3e, 0xc7, 0x72,
00582 0xb9, 0xec, 0xcd, 0xa0, 0x17, 0x65, 0x59, 0x62, 0x34, 0x1a, 0x81, 0x88,
00583 0x40, 0x44, 0x18, 0x8d, 0x46, 0x28, 0xcb, 0xf2, 0xfb, 0x10, 0xab, 0xaa,
00584 0xa2, 0xfb, 0xfd, 0x4e, 0xa7, 0xd3, 0x89, 0x88, 0x88, 0xd6, 0xeb, 0x35,
00585 0x55, 0x55, 0xf5, 0xb5, 0x01, 0x72, 0x1c, 0x07, 0x86, 0x61, 0xa0, 0xeb,
00586 0x3a, 0x74, 0x5d, 0x07, 0xc3, 0x30, 0xe0, 0x38, 0xce, 0x77, 0x23, 0x64,
00587 0x59, 0x06, 0x49, 0x92, 0x70, 0x3e, 0x9f, 0xc5, 0x87, 0xf3, 0xf9, 0x0c,
00588 0x49, 0x92, 0x90, 0x65, 0xd9, 0xff, 0x45, 0x9a, 0xa6, 0x41, 0x51, 0x14,
00589 0x70, 0x5d, 0x17, 0xd3, 0xe9, 0x14, 0x9c, 0x73, 0x41, 0xe6, 0x9c, 0x63,
00590 0x3a, 0x9d, 0xc2, 0x75, 0x5d, 0x14, 0x45, 0x81, 0xa6, 0x69, 0xfe, 0x16,
00591 0xba, 0x5c, 0x2e, 0xd0, 0x34, 0x4d, 0x84, 0x66, 0xdb, 0x36, 0xba, 0xae,
00592 0x13, 0xa4, 0xae, 0xeb, 0x60, 0xdb, 0xb6, 0xe8, 0x6b, 0x9a, 0x86, 0xcb,
00593 0xe5, 0xf2, 0xee, 0xdf, 0x6e, 0x37, 0x30, 0xc6, 0xe0, 0x79, 0x1e, 0xf2,
00594 0x3c, 0x47, 0x14, 0x45, 0x60, 0x8c, 0xe1, 0x78, 0x3c, 0x0a, 0x81, 0xe3,
00595 0xf1, 0x08, 0xc6, 0x18, 0xa2, 0x28, 0x42, 0x9e, 0xe7, 0xf0, 0x3c, 0x0f,
00596 0x8c, 0x31, 0xdc, 0x6e, 0x37, 0x90, 0xef, 0xfb, 0x60, 0x8c, 0x81, 0x73,
00597 0x2e, 0x2e, 0xcf, 0x75, 0x5d, 0xac, 0x56, 0x2b, 0x21, 0xb0, 0x5a, 0xad,
00598 0xe0, 0xba, 0xae, 0xe8, 0x73, 0xce, 0xc1, 0x18, 0x83, 0xef, 0xfb, 0x90,
00599 0x55, 0x55, 0xa5, 0xb6, 0x6d, 0xa9, 0x69, 0x1a, 0x31, 0xd2, 0xe3, 0xf1,
00600 0xa0, 0xe1, 0x70, 0x28, 0xde, 0xc3, 0xe1, 0x90, 0x1e, 0x8f, 0xc7, 0x9f,
00601 0x79, 0x51, 0xdb, 0xb6, 0xef, 0x6b, 0xad, 0xeb, 0x1a, 0xba, 0xae, 0xc3,
00602 0x34, 0x4d, 0x84, 0x61, 0x88, 0xed, 0x76, 0x0b, 0x59, 0x96, 0x11, 0xc7,
00603 0xb1, 0x70, 0x10, 0xc7, 0x31, 0x64, 0x59, 0xc6, 0x76, 0xbb, 0x45, 0x18,
00604 0x86, 0x30, 0x4d, 0x13, 0xba, 0xae, 0xa3, 0xae, 0xeb, 0x37, 0x27, 0x4d,
00605 0x53, 0x58, 0x96, 0x85, 0xf1, 0x78, 0x8c, 0xd9, 0x6c, 0x86, 0x20, 0x08,
00606 0x3e, 0xd6, 0x15, 0x04, 0x01, 0x66, 0xb3, 0x19, 0xc6, 0xe3, 0x31, 0x2c,
00607 0xcb, 0x42, 0x9a, 0xa6, 0x20, 0x22, 0xfa, 0x0d, 0x2e, 0x6f, 0x43, 0x92,
00608 0x53, 0xd2, 0x56, 0x03, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44,
00609 0xae, 0x42, 0x60, 0x82
00610 };
00611
00612 switch (id) {
00613 case image0_ID: { QImage img; img.loadFromData(image0_data, sizeof(image0_data), "PNG"); return QPixmap::fromImage(img); }
00614 default: return QPixmap();
00615 }
00616 }
00617
00618 };
00619
00620 namespace Ui {
00621 class BaseGenGraphForm: public Ui_BaseGenGraphForm {};
00622 }
00623
00624 QT_END_NAMESPACE
00625
00626 class BaseGenGraphForm : public QDialog, public Ui::BaseGenGraphForm
00627 {
00628 Q_OBJECT
00629
00630 public:
00631 BaseGenGraphForm(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
00632 ~BaseGenGraphForm();
00633
00634 protected slots:
00635 virtual void languageChange();
00636
00637 };
00638
00639 #endif // BASEGENGRAPHFORM_H