9 #ifndef UI_PQSAMPLESCALARWIDGET_H 10 #define UI_PQSAMPLESCALARWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QGridLayout> 16 #include <QtWidgets/QLabel> 17 #include <QtWidgets/QListView> 18 #include <QtWidgets/QPushButton> 19 #include <QtWidgets/QSpacerItem> 20 #include <QtWidgets/QWidget> 39 if (pqSampleScalarWidget->objectName().isEmpty())
40 pqSampleScalarWidget->setObjectName(QString::fromUtf8(
"pqSampleScalarWidget"));
41 pqSampleScalarWidget->resize(209, 202);
42 gridLayout =
new QGridLayout(pqSampleScalarWidget);
44 gridLayout->setSpacing(6);
47 gridLayout->setContentsMargins(9, 9, 9, 9);
49 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
50 spacerItem =
new QSpacerItem(75, 111, QSizePolicy::Minimum, QSizePolicy::Expanding);
52 gridLayout->addItem(spacerItem, 6, 1, 1, 1);
54 ScientificNotation =
new QCheckBox(pqSampleScalarWidget);
55 ScientificNotation->setObjectName(QString::fromUtf8(
"ScientificNotation"));
57 gridLayout->addWidget(ScientificNotation, 5, 1, 1, 1);
59 NewRange =
new QPushButton(pqSampleScalarWidget);
60 NewRange->setObjectName(QString::fromUtf8(
"NewRange"));
62 gridLayout->addWidget(NewRange, 4, 1, 1, 1);
64 NewValue =
new QPushButton(pqSampleScalarWidget);
65 NewValue->setObjectName(QString::fromUtf8(
"NewValue"));
67 gridLayout->addWidget(NewValue, 3, 1, 1, 1);
69 DeleteAll =
new QPushButton(pqSampleScalarWidget);
70 DeleteAll->setObjectName(QString::fromUtf8(
"DeleteAll"));
71 DeleteAll->setEnabled(
true);
73 gridLayout->addWidget(DeleteAll, 2, 1, 1, 1);
75 Delete =
new QPushButton(pqSampleScalarWidget);
76 Delete->setObjectName(QString::fromUtf8(
"Delete"));
77 Delete->setEnabled(
true);
79 gridLayout->addWidget(Delete, 1, 1, 1, 1);
81 Values =
new QListView(pqSampleScalarWidget);
82 Values->setObjectName(QString::fromUtf8(
"Values"));
83 Values->setEditTriggers(QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::NoEditTriggers|QAbstractItemView::SelectedClicked);
85 gridLayout->addWidget(Values, 1, 0, 6, 1);
87 ScalarRange =
new QLabel(pqSampleScalarWidget);
88 ScalarRange->setObjectName(QString::fromUtf8(
"ScalarRange"));
90 gridLayout->addWidget(ScalarRange, 0, 0, 1, 2);
95 QMetaObject::connectSlotsByName(pqSampleScalarWidget);
100 pqSampleScalarWidget->setWindowTitle(QCoreApplication::translate(
"pqSampleScalarWidget",
"Form",
nullptr));
101 ScientificNotation->setText(QCoreApplication::translate(
"pqSampleScalarWidget",
"Scientific",
nullptr));
102 #if QT_CONFIG(tooltip) 103 NewRange->setToolTip(QCoreApplication::translate(
"pqSampleScalarWidget",
"Add a single value to the current set",
nullptr));
104 #endif // QT_CONFIG(tooltip) 105 #if QT_CONFIG(statustip) 106 NewRange->setStatusTip(QCoreApplication::translate(
"pqSampleScalarWidget",
"Add a single value to the current set.",
nullptr));
107 #endif // QT_CONFIG(statustip) 108 NewRange->setText(QCoreApplication::translate(
"pqSampleScalarWidget",
"New Range",
nullptr));
109 #if QT_CONFIG(tooltip) 110 NewValue->setToolTip(QCoreApplication::translate(
"pqSampleScalarWidget",
"Add a single value to the current set",
nullptr));
111 #endif // QT_CONFIG(tooltip) 112 #if QT_CONFIG(statustip) 113 NewValue->setStatusTip(QCoreApplication::translate(
"pqSampleScalarWidget",
"Add a single value to the current set.",
nullptr));
114 #endif // QT_CONFIG(statustip) 115 NewValue->setText(QCoreApplication::translate(
"pqSampleScalarWidget",
"New Value",
nullptr));
116 #if QT_CONFIG(tooltip) 117 DeleteAll->setToolTip(QCoreApplication::translate(
"pqSampleScalarWidget",
"Delete selected values from the current set",
nullptr));
118 #endif // QT_CONFIG(tooltip) 119 DeleteAll->setText(QCoreApplication::translate(
"pqSampleScalarWidget",
"Delete All",
nullptr));
120 #if QT_CONFIG(tooltip) 121 Delete->setToolTip(QCoreApplication::translate(
"pqSampleScalarWidget",
"Delete selected values from the current set",
nullptr));
122 #endif // QT_CONFIG(tooltip) 123 Delete->setText(QCoreApplication::translate(
"pqSampleScalarWidget",
"Delete",
nullptr));
124 ScalarRange->setText(QCoreApplication::translate(
"pqSampleScalarWidget",
"Scalar Range: 0.0 - 1.0",
nullptr));
135 #endif // UI_PQSAMPLESCALARWIDGET_H