ui_pqSeriesGeneratorDialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqSeriesGeneratorDialog.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_PQSERIESGENERATORDIALOG_H
10 #define UI_PQSERIESGENERATORDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QComboBox>
16 #include <QtWidgets/QDialog>
17 #include <QtWidgets/QDialogButtonBox>
18 #include <QtWidgets/QFrame>
19 #include <QtWidgets/QGridLayout>
20 #include <QtWidgets/QHBoxLayout>
21 #include <QtWidgets/QLabel>
22 #include <QtWidgets/QScrollArea>
23 #include <QtWidgets/QSpinBox>
24 #include <QtWidgets/QVBoxLayout>
25 #include <QtWidgets/QWidget>
26 #include "pqDoubleLineEdit.h"
28 
29 QT_BEGIN_NAMESPACE
30 
32 {
33 public:
34  QGridLayout *gridLayout;
35  QComboBox *comboBox;
36  QFrame *line_2;
37  QHBoxLayout *horizontalLayout;
39  QLabel *label;
42  QLabel *label_3;
43  QLabel *label_nsamples;
44  QSpinBox *nsamples;
45  QLabel *label_ratio;
47  QDialogButtonBox *buttonBox;
48  QVBoxLayout *verticalLayout;
49  QLabel *label_2;
50  QFrame *line;
51  QScrollArea *scrollArea;
53  QVBoxLayout *verticalLayout_2;
54  QLabel *message;
55 
56  void setupUi(QDialog *SeriesGeneratorDialog)
57  {
58  if (SeriesGeneratorDialog->objectName().isEmpty())
59  SeriesGeneratorDialog->setObjectName(QString::fromUtf8("SeriesGeneratorDialog"));
60  SeriesGeneratorDialog->resize(352, 315);
61  gridLayout = new QGridLayout(SeriesGeneratorDialog);
62  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
63  comboBox = new QComboBox(SeriesGeneratorDialog);
64  comboBox->addItem(QString());
65  comboBox->addItem(QString());
66  comboBox->addItem(QString());
67  comboBox->addItem(QString());
68  comboBox->setObjectName(QString::fromUtf8("comboBox"));
69 
70  gridLayout->addWidget(comboBox, 3, 1, 1, 1);
71 
72  line_2 = new QFrame(SeriesGeneratorDialog);
73  line_2->setObjectName(QString::fromUtf8("line_2"));
74  line_2->setFrameShape(QFrame::HLine);
75  line_2->setFrameShadow(QFrame::Sunken);
76 
77  gridLayout->addWidget(line_2, 2, 0, 1, 2);
78 
79  horizontalLayout = new QHBoxLayout();
80  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
81  min = new pqDoubleLineEdit(SeriesGeneratorDialog);
82  min->setObjectName(QString::fromUtf8("min"));
83 
84  horizontalLayout->addWidget(min);
85 
86  label = new QLabel(SeriesGeneratorDialog);
87  label->setObjectName(QString::fromUtf8("label"));
88  QFont font;
89  font.setBold(true);
90  font.setWeight(75);
91  label->setFont(font);
92  label->setAlignment(Qt::AlignCenter);
93 
94  horizontalLayout->addWidget(label);
95 
96  max = new pqDoubleLineEdit(SeriesGeneratorDialog);
97  max->setObjectName(QString::fromUtf8("max"));
98 
99  horizontalLayout->addWidget(max);
100 
101  reset = new pqHighlightableToolButton(SeriesGeneratorDialog);
102  reset->setObjectName(QString::fromUtf8("reset"));
103  QIcon icon;
104  icon.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqReset.svg"), QSize(), QIcon::Normal, QIcon::Off);
105  reset->setIcon(icon);
106 
107  horizontalLayout->addWidget(reset);
108 
109 
110  gridLayout->addLayout(horizontalLayout, 1, 0, 1, 2);
111 
112  label_3 = new QLabel(SeriesGeneratorDialog);
113  label_3->setObjectName(QString::fromUtf8("label_3"));
114 
115  gridLayout->addWidget(label_3, 3, 0, 1, 1);
116 
117  label_nsamples = new QLabel(SeriesGeneratorDialog);
118  label_nsamples->setObjectName(QString::fromUtf8("label_nsamples"));
119 
120  gridLayout->addWidget(label_nsamples, 4, 0, 1, 1);
121 
122  nsamples = new QSpinBox(SeriesGeneratorDialog);
123  nsamples->setObjectName(QString::fromUtf8("nsamples"));
124  nsamples->setMinimum(1);
125  nsamples->setMaximum(1000);
126  nsamples->setValue(10);
127 
128  gridLayout->addWidget(nsamples, 4, 1, 1, 1);
129 
130  label_ratio = new QLabel(SeriesGeneratorDialog);
131  label_ratio->setObjectName(QString::fromUtf8("label_ratio"));
132 
133  gridLayout->addWidget(label_ratio, 5, 0, 1, 1);
134 
135  ratio = new pqDoubleLineEdit(SeriesGeneratorDialog);
136  ratio->setObjectName(QString::fromUtf8("ratio"));
137 
138  gridLayout->addWidget(ratio, 5, 1, 1, 1);
139 
140  buttonBox = new QDialogButtonBox(SeriesGeneratorDialog);
141  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
142  buttonBox->setOrientation(Qt::Horizontal);
143  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
144 
145  gridLayout->addWidget(buttonBox, 7, 0, 1, 2);
146 
147  verticalLayout = new QVBoxLayout();
148  verticalLayout->setSpacing(0);
149  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
150  label_2 = new QLabel(SeriesGeneratorDialog);
151  label_2->setObjectName(QString::fromUtf8("label_2"));
152 
153  verticalLayout->addWidget(label_2);
154 
155  line = new QFrame(SeriesGeneratorDialog);
156  line->setObjectName(QString::fromUtf8("line"));
157  line->setFrameShape(QFrame::HLine);
158  line->setFrameShadow(QFrame::Sunken);
159 
160  verticalLayout->addWidget(line);
161 
162 
163  gridLayout->addLayout(verticalLayout, 0, 0, 1, 2);
164 
165  scrollArea = new QScrollArea(SeriesGeneratorDialog);
166  scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
167  QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
168  sizePolicy.setHorizontalStretch(0);
169  sizePolicy.setVerticalStretch(0);
170  sizePolicy.setHeightForWidth(scrollArea->sizePolicy().hasHeightForWidth());
171  scrollArea->setSizePolicy(sizePolicy);
172  scrollArea->setWidgetResizable(true);
173  scrollAreaWidgetContents = new QWidget();
174  scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
175  scrollAreaWidgetContents->setGeometry(QRect(0, 0, 326, 79));
176  verticalLayout_2 = new QVBoxLayout(scrollAreaWidgetContents);
177  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
178  message = new QLabel(scrollAreaWidgetContents);
179  message->setObjectName(QString::fromUtf8("message"));
180  message->setFont(font);
181  message->setWordWrap(true);
182 
183  verticalLayout_2->addWidget(message);
184 
185  scrollArea->setWidget(scrollAreaWidgetContents);
186 
187  gridLayout->addWidget(scrollArea, 6, 0, 1, 2);
188 
189 
190  retranslateUi(SeriesGeneratorDialog);
191  QObject::connect(buttonBox, SIGNAL(accepted()), SeriesGeneratorDialog, SLOT(accept()));
192  QObject::connect(buttonBox, SIGNAL(rejected()), SeriesGeneratorDialog, SLOT(reject()));
193 
194  QMetaObject::connectSlotsByName(SeriesGeneratorDialog);
195  } // setupUi
196 
197  void retranslateUi(QDialog *SeriesGeneratorDialog)
198  {
199  SeriesGeneratorDialog->setWindowTitle(QCoreApplication::translate("SeriesGeneratorDialog", "Generate Number Series", nullptr));
200  comboBox->setItemText(0, QCoreApplication::translate("SeriesGeneratorDialog", "Linear", nullptr));
201  comboBox->setItemText(1, QCoreApplication::translate("SeriesGeneratorDialog", "Logarithmic", nullptr));
202  comboBox->setItemText(2, QCoreApplication::translate("SeriesGeneratorDialog", "Geometric (samples)", nullptr));
203  comboBox->setItemText(3, QCoreApplication::translate("SeriesGeneratorDialog", "Geometric (common ratio)", nullptr));
204 
205  label->setText(QCoreApplication::translate("SeriesGeneratorDialog", "-", nullptr));
206 #if QT_CONFIG(tooltip)
207  reset->setToolTip(QCoreApplication::translate("SeriesGeneratorDialog", "Reset using current data range values", nullptr));
208 #endif // QT_CONFIG(tooltip)
209  label_3->setText(QCoreApplication::translate("SeriesGeneratorDialog", "Type:", nullptr));
210  label_nsamples->setText(QCoreApplication::translate("SeriesGeneratorDialog", "Number of Samples:", nullptr));
211  label_ratio->setText(QCoreApplication::translate("SeriesGeneratorDialog", "Common Ratio:", nullptr));
212  ratio->setText(QCoreApplication::translate("SeriesGeneratorDialog", "1.1", nullptr));
213  label_2->setText(QCoreApplication::translate("SeriesGeneratorDialog", "Range", nullptr));
214  message->setText(QString());
215  } // retranslateUi
216 
217 };
218 
219 namespace Ui {
221 } // namespace Ui
222 
223 QT_END_NAMESPACE
224 
225 #endif // UI_PQSERIESGENERATORDIALOG_H
void setupUi(QDialog *SeriesGeneratorDialog)
pqHighlightableToolButton * reset
QToolButton with ability to highlight the button.
pqLineEdit subclass that supports a low precision view when inactive
void retranslateUi(QDialog *SeriesGeneratorDialog)