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 *RestoreDefaults;
37  QToolButton *RemoveAll;
39 
40  void setupUi(QWidget *ScalarValueListPropertyWidget)
41  {
42  if (ScalarValueListPropertyWidget->objectName().isEmpty())
43  ScalarValueListPropertyWidget->setObjectName(QString::fromUtf8("ScalarValueListPropertyWidget"));
44  ScalarValueListPropertyWidget->resize(212, 215);
45  gridLayout = new QGridLayout(ScalarValueListPropertyWidget);
46  gridLayout->setContentsMargins(0, 0, 0, 0);
47  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
48  gridLayout->setHorizontalSpacing(0);
49  Table = new pqExpandableTableView(ScalarValueListPropertyWidget);
50  Table->setObjectName(QString::fromUtf8("Table"));
51  Table->setDragDropMode(QAbstractItemView::InternalMove);
52  Table->setDefaultDropAction(Qt::MoveAction);
53  Table->setAlternatingRowColors(true);
54  Table->setSelectionBehavior(QAbstractItemView::SelectRows);
55  Table->setProperty("maximumRowCountBeforeScrolling", QVariant(10));
56 
57  gridLayout->addWidget(Table, 1, 0, 1, 1);
58 
59  verticalLayout = new QVBoxLayout();
60  verticalLayout->setSpacing(1);
61  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
62  Add = new QToolButton(ScalarValueListPropertyWidget);
63  Add->setObjectName(QString::fromUtf8("Add"));
64  QIcon icon;
65  icon.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
66  Add->setIcon(icon);
67 
68  verticalLayout->addWidget(Add);
69 
70  Remove = new QToolButton(ScalarValueListPropertyWidget);
71  Remove->setObjectName(QString::fromUtf8("Remove"));
72  QIcon icon1;
73  icon1.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqMinus.svg"), QSize(), QIcon::Normal, QIcon::Off);
74  Remove->setIcon(icon1);
75 
76  verticalLayout->addWidget(Remove);
77 
78  AddRange = new QToolButton(ScalarValueListPropertyWidget);
79  AddRange->setObjectName(QString::fromUtf8("AddRange"));
80  QIcon icon2;
81  icon2.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqRulerScale16.png"), QSize(), QIcon::Normal, QIcon::Off);
82  AddRange->setIcon(icon2);
83 
84  verticalLayout->addWidget(AddRange);
85 
86  verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
87 
88  verticalLayout->addItem(verticalSpacer);
89 
90  RestoreDefaults = new QToolButton(ScalarValueListPropertyWidget);
91  RestoreDefaults->setObjectName(QString::fromUtf8("RestoreDefaults"));
92  QIcon icon3;
93  icon3.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqReset.svg"), QSize(), QIcon::Normal, QIcon::Off);
94  RestoreDefaults->setIcon(icon3);
95 
96  verticalLayout->addWidget(RestoreDefaults);
97 
98  RemoveAll = new QToolButton(ScalarValueListPropertyWidget);
99  RemoveAll->setObjectName(QString::fromUtf8("RemoveAll"));
100  QIcon icon4;
101  icon4.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqDelete.svg"), QSize(), QIcon::Normal, QIcon::Off);
102  RemoveAll->setIcon(icon4);
103 
104  verticalLayout->addWidget(RemoveAll);
105 
106 
107  gridLayout->addLayout(verticalLayout, 1, 1, 1, 1);
108 
109  ScalarRangeLabel = new QLabel(ScalarValueListPropertyWidget);
110  ScalarRangeLabel->setObjectName(QString::fromUtf8("ScalarRangeLabel"));
111 
112  gridLayout->addWidget(ScalarRangeLabel, 0, 0, 1, 2);
113 
114 
115  retranslateUi(ScalarValueListPropertyWidget);
116 
117  QMetaObject::connectSlotsByName(ScalarValueListPropertyWidget);
118  } // setupUi
119 
120  void retranslateUi(QWidget *ScalarValueListPropertyWidget)
121  {
122  ScalarValueListPropertyWidget->setWindowTitle(QCoreApplication::translate("ScalarValueListPropertyWidget", "Form", nullptr));
123 #if QT_CONFIG(tooltip)
124  Add->setToolTip(QCoreApplication::translate("ScalarValueListPropertyWidget", "Add new entry", nullptr));
125 #endif // QT_CONFIG(tooltip)
126  Add->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "...", nullptr));
127 #if QT_CONFIG(tooltip)
128  Remove->setToolTip(QCoreApplication::translate("ScalarValueListPropertyWidget", "Remove current entry", nullptr));
129 #endif // QT_CONFIG(tooltip)
130  Remove->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "...", nullptr));
131 #if QT_CONFIG(tooltip)
132  AddRange->setToolTip(QCoreApplication::translate("ScalarValueListPropertyWidget", "Add a range of values", nullptr));
133 #endif // QT_CONFIG(tooltip)
134  AddRange->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "...", nullptr));
135 #if QT_CONFIG(tooltip)
136  RestoreDefaults->setToolTip(QCoreApplication::translate("ScalarValueListPropertyWidget", "Restore default values of the property", nullptr));
137 #endif // QT_CONFIG(tooltip)
138  RestoreDefaults->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "...", nullptr));
139 #if QT_CONFIG(tooltip)
140  RemoveAll->setToolTip(QCoreApplication::translate("ScalarValueListPropertyWidget", "Remove all entries", nullptr));
141 #endif // QT_CONFIG(tooltip)
142  RemoveAll->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "...", nullptr));
143  ScalarRangeLabel->setText(QCoreApplication::translate("ScalarValueListPropertyWidget", "<html><head/><body><p><span style=\" font-weight:600;\">Value Range:</span> [%1, %2]</p></body></html>", nullptr));
144  } // retranslateUi
145 
146 };
147 
148 namespace Ui {
150 } // namespace Ui
151 
152 QT_END_NAMESPACE
153 
154 #endif // UI_PQSCALARVALUELISTPROPERTYWIDGET_H
void setupUi(QWidget *ScalarValueListPropertyWidget)
void retranslateUi(QWidget *ScalarValueListPropertyWidget)
pqExpandableTableView extends pqTableView to add support for the following features: ...