9 #ifndef UI_PQXYCHARTVIEWBOUNDSPROPERTYWIDGET_H 10 #define UI_PQXYCHARTVIEWBOUNDSPROPERTYWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QGridLayout> 16 #include <QtWidgets/QLabel> 17 #include <QtWidgets/QWidget> 36 void setupUi(QWidget *XYChartViewBoundsPropertyWidget)
38 if (XYChartViewBoundsPropertyWidget->objectName().isEmpty())
39 XYChartViewBoundsPropertyWidget->setObjectName(QString::fromUtf8(
"XYChartViewBoundsPropertyWidget"));
40 gridLayout =
new QGridLayout(XYChartViewBoundsPropertyWidget);
41 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
42 BoundsLabel =
new QLabel(XYChartViewBoundsPropertyWidget);
43 BoundsLabel->setObjectName(QString::fromUtf8(
"BoundsLabel"));
45 gridLayout->addWidget(BoundsLabel, 0, 0, 1, 3);
48 Reset->setObjectName(QString::fromUtf8(
"Reset"));
50 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqReset.svg"), QSize(), QIcon::Normal, QIcon::Off);
53 gridLayout->addWidget(Reset, 0, 3, 1, 1);
55 XLabel =
new QLabel(XYChartViewBoundsPropertyWidget);
56 XLabel->setObjectName(QString::fromUtf8(
"XLabel"));
58 gridLayout->addWidget(XLabel, 1, 0, 1, 1);
61 BottomAxisMin->setObjectName(QString::fromUtf8(
"BottomAxisMin"));
63 gridLayout->addWidget(BottomAxisMin, 1, 1, 1, 1);
66 BottomAxisMax->setObjectName(QString::fromUtf8(
"BottomAxisMax"));
68 gridLayout->addWidget(BottomAxisMax, 1, 2, 1, 1);
70 YLabel =
new QLabel(XYChartViewBoundsPropertyWidget);
71 YLabel->setObjectName(QString::fromUtf8(
"YLabel"));
73 gridLayout->addWidget(YLabel, 2, 0, 1, 1);
76 LeftAxisMin->setObjectName(QString::fromUtf8(
"LeftAxisMin"));
78 gridLayout->addWidget(LeftAxisMin, 2, 1, 1, 1);
81 LeftAxisMax->setObjectName(QString::fromUtf8(
"LeftAxisMax"));
83 gridLayout->addWidget(LeftAxisMax, 2, 2, 1, 1);
88 QMetaObject::connectSlotsByName(XYChartViewBoundsPropertyWidget);
93 BoundsLabel->setText(QCoreApplication::translate(
"XYChartViewBoundsPropertyWidget",
"Bounds",
nullptr));
94 #if QT_CONFIG(tooltip) 95 Reset->setToolTip(QCoreApplication::translate(
"XYChartViewBoundsPropertyWidget",
"Reset using active chart values",
nullptr));
96 #endif // QT_CONFIG(tooltip) 97 XLabel->setText(QCoreApplication::translate(
"XYChartViewBoundsPropertyWidget",
"X",
nullptr));
98 YLabel->setText(QCoreApplication::translate(
"XYChartViewBoundsPropertyWidget",
"Y",
nullptr));
99 (void)XYChartViewBoundsPropertyWidget;
110 #endif // UI_PQXYCHARTVIEWBOUNDSPROPERTYWIDGET_H
pqLineEdit subclass that supports a low precision view when inactive