ui_pqScalarValueListPropertyWidget.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqScalarValueListPropertyWidget.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_PQSCALARVALUELISTPROPERTYWIDGET_H
10 #define UI_PQSCALARVALUELISTPROPERTYWIDGET_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QGridLayout>
16 #include <QtWidgets/QHeaderView>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QSpacerItem>
19 #include <QtWidgets/QToolButton>
20 #include <QtWidgets/QVBoxLayout>
21 #include <QtWidgets/QWidget>
22 #include "pqExpandableTableView.h"
23 
24 QT_BEGIN_NAMESPACE
25 
27 {
28 public:
29  QGridLayout *gridLayout;
31  QVBoxLayout *verticalLayout;
32  QToolButton *Add;
33  QToolButton *Remove;
34  QToolButton *AddRange;
35  QSpacerItem *verticalSpacer;
36  QToolButton *RemoveAll;
38 
39  void setupUi(QWidget *ScalarValueListPropertyWidget)
40  {
41  if (ScalarValueListPropertyWidget->objectName().isEmpty())
42  ScalarValueListPropertyWidget->setObjectName(QString::fromUtf8("ScalarValueListPropertyWidget"));
43  ScalarValueListPropertyWidget->resize(212, 215);
44  gridLayout = new QGridLayout(ScalarValueListPropertyWidget);
45  gridLayout->setContentsMargins(0, 0, 0, 0);
46  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
47  gridLayout->setHorizontalSpacing(0);
48  Table = new pqExpandableTableView(ScalarValueListPropertyWidget);
49  Table->setObjectName(QString::fromUtf8("Table"));
50  Table->setDragDropMode(QAbstractItemView::InternalMove);
51  Table->setDefaultDropAction(Qt::MoveAction);
52  Table->setAlternatingRowColors(true);
53  Table->setSelectionBehavior(QAbstractItemView::SelectRows);
54  Table->setProperty("maximumRowCountBeforeScrolling", QVariant(10));
55 
56  gridLayout->addWidget(Table, 1, 0, 1, 1);
57 
58  verticalLayout = new QVBoxLayout();
59  verticalLayout->setSpacing(1);
60  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
61  Add = new QToolButton(ScalarValueListPropertyWidget);
62  Add->setObjectName(QString::fromUtf8("Add"));
63  QIcon icon;
64  icon.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
65  Add->setIcon(icon);
66 
67  verticalLayout->addWidget(Add);
68 
69  Remove = new QToolButton(ScalarValueListPropertyWidget);
70  Remove->setObjectName(QString::fromUtf8("Remove"));
71  QIcon icon1;
72  icon1.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqMinus.svg"), QSize(), QIcon::Normal, QIcon::Off);
73  Remove->setIcon(icon1);
74 
75  verticalLayout->addWidget(Remove);
76 
77  AddRange = new QToolButton(ScalarValueListPropertyWidget);
78  AddRange->setObjectName(QString::fromUtf8("AddRange"));
79  QIcon icon2;
80  icon2.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqRulerScale16.png"), QSize(), QIcon::Normal, QIcon::Off);
81  AddRange->setIcon(icon2);
82 
83  verticalLayout->addWidget(AddRange);
84 
85  verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
86 
87  verticalLayout->addItem(verticalSpacer);
88 
89  RemoveAll = new QToolButton(ScalarValueListPropertyWidget);
90  RemoveAll->setObjectName(QString::fromUtf8("RemoveAll"));
91  QIcon icon3;
92  icon3.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqDelete.svg"), QSize(), QIcon::Normal, QIcon::Off);
93  RemoveAll->setIcon(icon3);
94 
95  verticalLayout->addWidget(RemoveAll);
96 
97 
98  gridLayout->addLayout(verticalLayout, 1, 1, 1, 1);
99 
100  ScalarRangeLabel = new QLabel(ScalarValueListPropertyWidget);
101  ScalarRangeLabel->setObjectName(QString::fromUtf8("ScalarRangeLabel"));
102 
103  gridLayout->addWidget(ScalarRangeLabel, 0, 0, 1, 2);
104 
105 
106  retranslateUi(ScalarValueListPropertyWidget);
107 
108  QMetaObject::connectSlotsByName(ScalarValueListPropertyWidget);
109  } // setupUi
110 
111  void retranslateUi(QWidget *ScalarValueListPropertyWidget)
112  {
113  ScalarValueListPropertyWidget->setWindowTitle(QCoreApplication::translate("ScalarValueListPropertyWidget", "Form", nullptr));
114 #if QT_CONFIG(tooltip)
115  Add->setToolTip(QCoreApplication::translate("ScalarValueListPropertyWidget", "Add new entry", nullptr));
116 #endif // QT_CONFIG(tooltip)
117  Add->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "...", nullptr));
118 #if QT_CONFIG(tooltip)
119  Remove->setToolTip(QCoreApplication::translate("ScalarValueListPropertyWidget", "Remove current entry", nullptr));
120 #endif // QT_CONFIG(tooltip)
121  Remove->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "...", nullptr));
122 #if QT_CONFIG(tooltip)
123  AddRange->setToolTip(QCoreApplication::translate("ScalarValueListPropertyWidget", "Add a range of values", nullptr));
124 #endif // QT_CONFIG(tooltip)
125  AddRange->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "...", nullptr));
126 #if QT_CONFIG(tooltip)
127  RemoveAll->setToolTip(QCoreApplication::translate("ScalarValueListPropertyWidget", "Remove all entries", nullptr));
128 #endif // QT_CONFIG(tooltip)
129  RemoveAll->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "...", nullptr));
130  ScalarRangeLabel->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "<html><head/><body><p><span style=\" font-weight:600;\">Value Range:</span> [%1, %2]</p></body></html>", nullptr));
131  } // retranslateUi
132 
133 };
134 
135 namespace Ui {
137 } // namespace Ui
138 
139 QT_END_NAMESPACE
140 
141 #endif // UI_PQSCALARVALUELISTPROPERTYWIDGET_H
void setupUi(QWidget *ScalarValueListPropertyWidget)
void retranslateUi(QWidget *ScalarValueListPropertyWidget)
pqExpandableTableView extends pqTableView to add support for the following features: ...