ui_pqSplinePropertyWidget.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqSplinePropertyWidget.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_PQSPLINEPROPERTYWIDGET_H
10 #define UI_PQSPLINEPROPERTYWIDGET_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QCheckBox>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QHeaderView>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QSpacerItem>
20 #include <QtWidgets/QToolButton>
21 #include <QtWidgets/QVBoxLayout>
22 #include <QtWidgets/QWidget>
23 #include "pqExpandableTableView.h"
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QVBoxLayout *verticalLayout_2;
31  QCheckBox *show3DWidget;
32  QHBoxLayout *horizontalLayout;
34  QVBoxLayout *verticalLayout;
35  QToolButton *Add;
36  QToolButton *Remove;
37  QSpacerItem *verticalSpacer;
38  QToolButton *DeleteAll;
39  QLabel *Hints;
40  QCheckBox *Closed;
41 
42  void setupUi(QWidget *SplinePropertyWidget)
43  {
44  if (SplinePropertyWidget->objectName().isEmpty())
45  SplinePropertyWidget->setObjectName(QString::fromUtf8("SplinePropertyWidget"));
46  SplinePropertyWidget->resize(286, 299);
47  verticalLayout_2 = new QVBoxLayout(SplinePropertyWidget);
48  verticalLayout_2->setSpacing(2);
49  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
50  verticalLayout_2->setContentsMargins(0, 0, 0, 0);
51  show3DWidget = new QCheckBox(SplinePropertyWidget);
52  show3DWidget->setObjectName(QString::fromUtf8("show3DWidget"));
53  show3DWidget->setChecked(true);
54 
55  verticalLayout_2->addWidget(show3DWidget);
56 
57  horizontalLayout = new QHBoxLayout();
58  horizontalLayout->setSpacing(2);
59  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
60  PointsTable = new pqExpandableTableView(SplinePropertyWidget);
61  PointsTable->setObjectName(QString::fromUtf8("PointsTable"));
62  PointsTable->setAlternatingRowColors(true);
63  PointsTable->setSelectionBehavior(QAbstractItemView::SelectRows);
64 
65  horizontalLayout->addWidget(PointsTable);
66 
67  verticalLayout = new QVBoxLayout();
68  verticalLayout->setSpacing(2);
69  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
70  Add = new QToolButton(SplinePropertyWidget);
71  Add->setObjectName(QString::fromUtf8("Add"));
72  QIcon icon;
73  icon.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
74  Add->setIcon(icon);
75 
76  verticalLayout->addWidget(Add);
77 
78  Remove = new QToolButton(SplinePropertyWidget);
79  Remove->setObjectName(QString::fromUtf8("Remove"));
80  QIcon icon1;
81  icon1.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqMinus.svg"), QSize(), QIcon::Normal, QIcon::Off);
82  Remove->setIcon(icon1);
83 
84  verticalLayout->addWidget(Remove);
85 
86  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
87 
88  verticalLayout->addItem(verticalSpacer);
89 
90  DeleteAll = new QToolButton(SplinePropertyWidget);
91  DeleteAll->setObjectName(QString::fromUtf8("DeleteAll"));
92  QIcon icon2;
93  icon2.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqDelete.svg"), QSize(), QIcon::Normal, QIcon::Off);
94  DeleteAll->setIcon(icon2);
95 
96  verticalLayout->addWidget(DeleteAll);
97 
98 
99  horizontalLayout->addLayout(verticalLayout);
100 
101 
102  verticalLayout_2->addLayout(horizontalLayout);
103 
104  Hints = new QLabel(SplinePropertyWidget);
105  Hints->setObjectName(QString::fromUtf8("Hints"));
106  Hints->setWordWrap(true);
107 
108  verticalLayout_2->addWidget(Hints);
109 
110  Closed = new QCheckBox(SplinePropertyWidget);
111  Closed->setObjectName(QString::fromUtf8("Closed"));
112 
113  verticalLayout_2->addWidget(Closed);
114 
115 
116  retranslateUi(SplinePropertyWidget);
117 
118  QMetaObject::connectSlotsByName(SplinePropertyWidget);
119  } // setupUi
120 
121  void retranslateUi(QWidget *SplinePropertyWidget)
122  {
123  SplinePropertyWidget->setWindowTitle(QCoreApplication::translate("SplinePropertyWidget", "Form", nullptr));
124  show3DWidget->setText(QCoreApplication::translate("SplinePropertyWidget", "Show Spline", nullptr));
125 #if QT_CONFIG(tooltip)
126  Add->setToolTip(QCoreApplication::translate("SplinePropertyWidget", "Add new point", nullptr));
127 #endif // QT_CONFIG(tooltip)
128  Add->setText(QCoreApplication::translate("SplinePropertyWidget", "...", nullptr));
129 #if QT_CONFIG(tooltip)
130  Remove->setToolTip(QCoreApplication::translate("SplinePropertyWidget", "Remove selected point(s)", nullptr));
131 #endif // QT_CONFIG(tooltip)
132  Remove->setText(QCoreApplication::translate("SplinePropertyWidget", "...", nullptr));
133 #if QT_CONFIG(tooltip)
134  DeleteAll->setToolTip(QCoreApplication::translate("SplinePropertyWidget", "Remove all points", nullptr));
135 #endif // QT_CONFIG(tooltip)
136  DeleteAll->setText(QCoreApplication::translate("SplinePropertyWidget", "...", nullptr));
137  Hints->setText(QCoreApplication::translate("SplinePropertyWidget", "<html><head/><body><p>Use <span style=\" font-weight:600;\">P</span> to place selected point on mesh or <span style=\" font-weight:600;\">Ctrl+P</span> to snap the selected point to closest mesh point. Use <span style=\" font-weight:600;\">1 </span>/ <span style=\" font-weight:600;\">Ctrl+1</span> for first point and <span style=\" font-weight:600;\">2 </span>/ <span style=\" font-weight:600;\">Ctrl+2</span> for the last point.<br/><span style=\" font-weight:600;\">Click</span> to select a point, <span style=\" font-weight:600;\">Shift+Click</span> to remove a point, <span style=\" font-weight:600;\">Ctrl+Click</span> to insert a point on the line, <span style=\" font-weight:600;\">Alt+Click</span> to add a point after the selected extremity.</p></body></html>", nullptr));
138  Closed->setText(QCoreApplication::translate("SplinePropertyWidget", "Closed Spline", nullptr));
139  } // retranslateUi
140 
141 };
142 
143 namespace Ui {
145 } // namespace Ui
146 
147 QT_END_NAMESPACE
148 
149 #endif // UI_PQSPLINEPROPERTYWIDGET_H
pqExpandableTableView extends pqTableView to add support for the following features: ...
pqExpandableTableView * PointsTable
void setupUi(QWidget *SplinePropertyWidget)
void retranslateUi(QWidget *SplinePropertyWidget)