9 #ifndef UI_PQSERIESEDITORPROPERTYWIDGET_H 10 #define UI_PQSERIESEDITORPROPERTYWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QComboBox> 15 #include <QtWidgets/QDoubleSpinBox> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QWidget> 39 void setupUi(QWidget *SeriesEditorPropertyWidget)
41 if (SeriesEditorPropertyWidget->objectName().isEmpty())
42 SeriesEditorPropertyWidget->setObjectName(QString::fromUtf8(
"SeriesEditorPropertyWidget"));
43 SeriesEditorPropertyWidget->resize(306, 342);
44 wdgLayout =
new QGridLayout(SeriesEditorPropertyWidget);
45 wdgLayout->setObjectName(QString::fromUtf8(
"wdgLayout"));
46 Thickness =
new QDoubleSpinBox(SeriesEditorPropertyWidget);
47 Thickness->setObjectName(QString::fromUtf8(
"Thickness"));
48 Thickness->setEnabled(
false);
49 Thickness->setDecimals(1);
50 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
51 sizePolicy.setHorizontalStretch(0);
52 sizePolicy.setVerticalStretch(0);
53 sizePolicy.setHeightForWidth(Thickness->sizePolicy().hasHeightForWidth());
54 Thickness->setSizePolicy(sizePolicy);
55 Thickness->setMinimum(1);
56 Thickness->setValue(1);
58 wdgLayout->addWidget(Thickness, 1, 1, 1, 1);
60 ThicknessLabel =
new QLabel(SeriesEditorPropertyWidget);
61 ThicknessLabel->setObjectName(QString::fromUtf8(
"ThicknessLabel"));
63 wdgLayout->addWidget(ThicknessLabel, 1, 0, 1, 1);
65 StyleList =
new QComboBox(SeriesEditorPropertyWidget);
66 StyleList->addItem(QString());
67 StyleList->addItem(QString());
68 StyleList->addItem(QString());
69 StyleList->addItem(QString());
70 StyleList->addItem(QString());
71 StyleList->addItem(QString());
72 StyleList->setObjectName(QString::fromUtf8(
"StyleList"));
73 StyleList->setEnabled(
false);
74 sizePolicy.setHeightForWidth(StyleList->sizePolicy().hasHeightForWidth());
75 StyleList->setSizePolicy(sizePolicy);
77 wdgLayout->addWidget(StyleList, 2, 1, 1, 1);
79 StyleListLabel =
new QLabel(SeriesEditorPropertyWidget);
80 StyleListLabel->setObjectName(QString::fromUtf8(
"StyleListLabel"));
82 wdgLayout->addWidget(StyleListLabel, 2, 0, 1, 1);
84 MarkerStyleListLabel =
new QLabel(SeriesEditorPropertyWidget);
85 MarkerStyleListLabel->setObjectName(QString::fromUtf8(
"MarkerStyleListLabel"));
87 wdgLayout->addWidget(MarkerStyleListLabel, 3, 0, 1, 1);
89 MarkerStyleList =
new QComboBox(SeriesEditorPropertyWidget);
90 MarkerStyleList->addItem(QString());
91 MarkerStyleList->addItem(QString());
92 MarkerStyleList->addItem(QString());
93 MarkerStyleList->addItem(QString());
94 MarkerStyleList->addItem(QString());
95 MarkerStyleList->addItem(QString());
96 MarkerStyleList->setObjectName(QString::fromUtf8(
"MarkerStyleList"));
97 MarkerStyleList->setEnabled(
false);
98 sizePolicy.setHeightForWidth(MarkerStyleList->sizePolicy().hasHeightForWidth());
99 MarkerStyleList->setSizePolicy(sizePolicy);
101 wdgLayout->addWidget(MarkerStyleList, 3, 1, 1, 1);
103 MarkerSize =
new QDoubleSpinBox(SeriesEditorPropertyWidget);
104 MarkerSize->setObjectName(QString::fromUtf8(
"MarkerSize"));
105 MarkerSize->setEnabled(
true);
106 sizePolicy.setHeightForWidth(MarkerSize->sizePolicy().hasHeightForWidth());
107 MarkerSize->setSizePolicy(sizePolicy);
108 MarkerSize->setDecimals(1);
109 MarkerSize->setMinimum(1);
110 MarkerSize->setValue(1);
112 wdgLayout->addWidget(MarkerSize, 4, 1, 1, 1);
114 MarkerSizeLabel =
new QLabel(SeriesEditorPropertyWidget);
115 MarkerSizeLabel->setObjectName(QString::fromUtf8(
"MarkerSizeLabel"));
117 wdgLayout->addWidget(MarkerSizeLabel, 4, 0, 1, 1);
119 AxisListLabel =
new QLabel(SeriesEditorPropertyWidget);
120 AxisListLabel->setObjectName(QString::fromUtf8(
"AxisListLabel"));
122 wdgLayout->addWidget(AxisListLabel, 5, 0, 1, 1);
124 AxisList =
new QComboBox(SeriesEditorPropertyWidget);
125 AxisList->addItem(QString());
126 AxisList->addItem(QString());
127 AxisList->addItem(QString());
128 AxisList->addItem(QString());
129 AxisList->setObjectName(QString::fromUtf8(
"AxisList"));
130 AxisList->setEnabled(
false);
131 sizePolicy.setHeightForWidth(AxisList->sizePolicy().hasHeightForWidth());
132 AxisList->setSizePolicy(sizePolicy);
134 wdgLayout->addWidget(AxisList, 5, 1, 1, 1);
137 SeriesTable->setObjectName(QString::fromUtf8(
"SeriesTable"));
139 wdgLayout->addWidget(SeriesTable, 0, 0, 1, 2);
144 QMetaObject::connectSlotsByName(SeriesEditorPropertyWidget);
149 SeriesEditorPropertyWidget->setWindowTitle(QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Form",
nullptr));
150 #if QT_CONFIG(tooltip) 151 Thickness->setToolTip(QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Enter the thickness for the line.",
nullptr));
152 #endif // QT_CONFIG(tooltip) 153 ThicknessLabel->setText(QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Line Thickness",
nullptr));
154 StyleList->setItemText(0, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"None",
nullptr));
155 StyleList->setItemText(1, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Solid",
nullptr));
156 StyleList->setItemText(2, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Dash",
nullptr));
157 StyleList->setItemText(3, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Dot",
nullptr));
158 StyleList->setItemText(4, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Dash Dot",
nullptr));
159 StyleList->setItemText(5, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Dash Dot Dot",
nullptr));
161 #if QT_CONFIG(tooltip) 162 StyleList->setToolTip(QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Select the line style for the series.",
nullptr));
163 #endif // QT_CONFIG(tooltip) 164 StyleListLabel->setText(QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Line Style",
nullptr));
165 MarkerStyleListLabel->setText(QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Marker Style",
nullptr));
166 MarkerStyleList->setItemText(0, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"None",
nullptr));
167 MarkerStyleList->setItemText(1, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Cross",
nullptr));
168 MarkerStyleList->setItemText(2, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Plus",
nullptr));
169 MarkerStyleList->setItemText(3, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Square",
nullptr));
170 MarkerStyleList->setItemText(4, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Circle",
nullptr));
171 MarkerStyleList->setItemText(5, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Diamond",
nullptr));
173 #if QT_CONFIG(tooltip) 174 MarkerSize->setToolTip(QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Enter the size for the marker.",
nullptr));
175 #endif // QT_CONFIG(tooltip) 176 MarkerSizeLabel->setText(QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Marker Size",
nullptr));
177 AxisListLabel->setText(QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Chart Axes",
nullptr));
178 AxisList->setItemText(0, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Bottom-Left",
nullptr));
179 AxisList->setItemText(1, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Bottom-Right",
nullptr));
180 AxisList->setItemText(2, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Top-Right",
nullptr));
181 AxisList->setItemText(3, QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Top-Left",
nullptr));
183 #if QT_CONFIG(tooltip) 184 AxisList->setToolTip(QCoreApplication::translate(
"SeriesEditorPropertyWidget",
"Select the chart axes for the line series.",
nullptr));
185 #endif // QT_CONFIG(tooltip) 196 #endif // UI_PQSERIESEDITORPROPERTYWIDGET_H