9 #ifndef UI_PQFINDDATAWIDGET_H 10 #define UI_PQFINDDATAWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QHBoxLayout> 16 #include <QtWidgets/QPushButton> 17 #include <QtWidgets/QSpacerItem> 18 #include <QtWidgets/QVBoxLayout> 19 #include <QtWidgets/QWidget> 49 if (FindDataWidget->objectName().isEmpty())
50 FindDataWidget->setObjectName(QString::fromUtf8(
"FindDataWidget"));
51 FindDataWidget->resize(542, 635);
52 verticalLayout =
new QVBoxLayout(FindDataWidget);
53 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
55 createExpander->setObjectName(QString::fromUtf8(
"createExpander"));
56 createExpander->setProperty(
"checked", QVariant(
true));
58 verticalLayout->addWidget(createExpander);
60 container =
new QWidget(FindDataWidget);
61 container->setObjectName(QString::fromUtf8(
"container"));
62 container->setMinimumSize(QSize(0, 50));
63 verticalLayout_2 =
new QVBoxLayout(container);
64 verticalLayout_2->setSpacing(0);
65 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
66 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
68 verticalLayout->addWidget(container);
70 buttonLayout =
new QHBoxLayout();
71 buttonLayout->setSpacing(2);
72 buttonLayout->setObjectName(QString::fromUtf8(
"buttonLayout"));
73 findData =
new QPushButton(FindDataWidget);
74 findData->setObjectName(QString::fromUtf8(
"findData"));
75 findData->setEnabled(
false);
77 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqApply.svg"), QSize(), QIcon::Normal, QIcon::Off);
78 findData->setIcon(icon);
80 buttonLayout->addWidget(findData);
82 reset =
new QPushButton(FindDataWidget);
83 reset->setObjectName(QString::fromUtf8(
"reset"));
84 reset->setEnabled(
false);
86 icon1.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqCancel.svg"), QSize(), QIcon::Normal, QIcon::Off);
87 reset->setIcon(icon1);
89 buttonLayout->addWidget(reset);
91 clear =
new QPushButton(FindDataWidget);
92 clear->setObjectName(QString::fromUtf8(
"clear"));
93 clear->setEnabled(
false);
95 icon2.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqReset.svg"), QSize(), QIcon::Normal, QIcon::Off);
96 clear->setIcon(icon2);
98 buttonLayout->addWidget(clear);
101 verticalLayout->addLayout(buttonLayout);
104 informationExpander->setObjectName(QString::fromUtf8(
"informationExpander"));
105 informationExpander->setFrameShape(QFrame::StyledPanel);
106 informationExpander->setFrameShadow(QFrame::Raised);
107 informationExpander->setProperty(
"checked", QVariant(
true));
109 verticalLayout->addWidget(informationExpander);
112 informationContainer->setObjectName(QString::fromUtf8(
"informationContainer"));
113 informationContainer->setMinimumSize(QSize(0, 200));
115 verticalLayout->addWidget(informationContainer);
117 buttonLayout_2 =
new QHBoxLayout();
118 buttonLayout_2->setSpacing(2);
119 buttonLayout_2->setObjectName(QString::fromUtf8(
"buttonLayout_2"));
120 freeze =
new QPushButton(FindDataWidget);
121 freeze->setObjectName(QString::fromUtf8(
"freeze"));
122 freeze->setEnabled(
false);
124 buttonLayout_2->addWidget(freeze);
126 extract =
new QPushButton(FindDataWidget);
127 extract->setObjectName(QString::fromUtf8(
"extract"));
128 extract->setEnabled(
false);
130 buttonLayout_2->addWidget(extract);
132 plotOverTime =
new QPushButton(FindDataWidget);
133 plotOverTime->setObjectName(QString::fromUtf8(
"plotOverTime"));
134 plotOverTime->setEnabled(
false);
136 buttonLayout_2->addWidget(plotOverTime);
139 verticalLayout->addLayout(buttonLayout_2);
142 selectionDisplayExpander->setObjectName(QString::fromUtf8(
"selectionDisplayExpander"));
143 selectionDisplayExpander->setFrameShape(QFrame::StyledPanel);
144 selectionDisplayExpander->setFrameShadow(QFrame::Raised);
145 selectionDisplayExpander->setProperty(
"checked", QVariant(
true));
147 verticalLayout->addWidget(selectionDisplayExpander);
150 selectionDisplayProperties->setObjectName(QString::fromUtf8(
"selectionDisplayProperties"));
151 selectionDisplayProperties->setMinimumSize(QSize(0, 50));
153 verticalLayout->addWidget(selectionDisplayProperties);
155 verticalSpacer =
new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
157 verticalLayout->addItem(verticalSpacer);
159 verticalLayout->setStretch(4, 1);
163 findData->setDefault(
true);
166 QMetaObject::connectSlotsByName(FindDataWidget);
171 FindDataWidget->setWindowTitle(QCoreApplication::translate(
"FindDataWidget",
"Form",
nullptr));
172 createExpander->setProperty(
"text", QVariant(QCoreApplication::translate(
"FindDataWidget",
"Create Selection",
nullptr)));
173 #if QT_CONFIG(tooltip) 174 findData->setToolTip(QCoreApplication::translate(
"FindDataWidget",
"Find data using selection criteria",
nullptr));
175 #endif // QT_CONFIG(tooltip) 176 findData->
setText(QCoreApplication::translate(
"FindDataWidget",
"Find Data",
nullptr));
177 #if QT_CONFIG(tooltip) 178 reset->setToolTip(QCoreApplication::translate(
"FindDataWidget",
"Reset any unaccepted changes",
nullptr));
179 #endif // QT_CONFIG(tooltip) 180 reset->setText(QCoreApplication::translate(
"FindDataWidget",
"Reset",
nullptr));
181 #if QT_CONFIG(tooltip) 182 clear->setToolTip(QCoreApplication::translate(
"FindDataWidget",
"Clear selection criteria and qualifiers",
nullptr));
183 #endif // QT_CONFIG(tooltip) 184 clear->setText(QCoreApplication::translate(
"FindDataWidget",
"Clear",
nullptr));
185 informationExpander->setProperty(
"text", QVariant(QCoreApplication::translate(
"FindDataWidget",
"Selected Data (none)",
nullptr)));
186 freeze->
setText(QCoreApplication::translate(
"FindDataWidget",
"Freeze",
nullptr));
187 extract->setText(QCoreApplication::translate(
"FindDataWidget",
"Extract",
nullptr));
188 plotOverTime->setText(QCoreApplication::translate(
"FindDataWidget",
"Plot Over Time",
nullptr));
189 selectionDisplayExpander->setProperty(
"text", QVariant(QCoreApplication::translate(
"FindDataWidget",
"Selection Display",
nullptr)));
200 #endif // UI_PQFINDDATAWIDGET_H
pqFindDataCurrentSelectionFrame is designed to be used by pqFindDataDialog.
pqFindDataSelectionDisplayFrame is designed to be used by pqFindDataDialog.