9 #ifndef UI_PQFINDDATACURRENTSELECTIONFRAME_H 10 #define UI_PQFINDDATACURRENTSELECTIONFRAME_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QCheckBox> 16 #include <QtWidgets/QComboBox> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QHeaderView> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QToolButton> 21 #include <QtWidgets/QWidget> 37 void setupUi(QWidget *FindDataCurrentSelectionFrame)
39 if (FindDataCurrentSelectionFrame->objectName().isEmpty())
40 FindDataCurrentSelectionFrame->setObjectName(QString::fromUtf8(
"FindDataCurrentSelectionFrame"));
41 FindDataCurrentSelectionFrame->resize(515, 357);
42 gridLayout =
new QGridLayout(FindDataCurrentSelectionFrame);
43 gridLayout->setSpacing(3);
44 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
45 label_6 =
new QLabel(FindDataCurrentSelectionFrame);
46 label_6->setObjectName(QString::fromUtf8(
"label_6"));
47 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
48 sizePolicy.setHorizontalStretch(0);
49 sizePolicy.setVerticalStretch(0);
50 sizePolicy.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
51 label_6->setSizePolicy(sizePolicy);
53 gridLayout->addWidget(label_6, 0, 0, 1, 1);
55 showTypeComboBox =
new QComboBox(FindDataCurrentSelectionFrame);
56 showTypeComboBox->setObjectName(QString::fromUtf8(
"showTypeComboBox"));
57 showTypeComboBox->setSizeAdjustPolicy(QComboBox::AdjustToContents);
59 gridLayout->addWidget(showTypeComboBox, 0, 1, 1, 1);
62 spreadsheet->setObjectName(QString::fromUtf8(
"spreadsheet"));
63 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
64 sizePolicy1.setHorizontalStretch(0);
65 sizePolicy1.setVerticalStretch(0);
66 sizePolicy1.setHeightForWidth(spreadsheet->sizePolicy().hasHeightForWidth());
67 spreadsheet->setSizePolicy(sizePolicy1);
68 spreadsheet->setMinimumSize(QSize(0, 120));
69 spreadsheet->setEditTriggers(QAbstractItemView::NoEditTriggers);
70 spreadsheet->setAlternatingRowColors(
true);
71 spreadsheet->setSelectionMode(QAbstractItemView::ExtendedSelection);
72 spreadsheet->setSelectionBehavior(QAbstractItemView::SelectRows);
74 gridLayout->addWidget(spreadsheet, 2, 0, 1, 5);
76 ToggleColumnVisibility =
new QToolButton(FindDataCurrentSelectionFrame);
77 ToggleColumnVisibility->setObjectName(QString::fromUtf8(
"ToggleColumnVisibility"));
79 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqRectilinearGrid16.png"), QSize(), QIcon::Normal, QIcon::Off);
80 ToggleColumnVisibility->setIcon(icon);
81 ToggleColumnVisibility->setPopupMode(QToolButton::InstantPopup);
83 gridLayout->addWidget(ToggleColumnVisibility, 0, 2, 1, 1);
85 ToggleFieldData =
new QToolButton(FindDataCurrentSelectionFrame);
86 ToggleFieldData->setObjectName(QString::fromUtf8(
"ToggleFieldData"));
88 icon1.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqGlobalData.svg"), QSize(), QIcon::Normal, QIcon::Off);
89 ToggleFieldData->setIcon(icon1);
90 ToggleFieldData->setCheckable(
true);
92 gridLayout->addWidget(ToggleFieldData, 0, 3, 1, 1);
94 invertSelectionCheckBox =
new QCheckBox(FindDataCurrentSelectionFrame);
95 invertSelectionCheckBox->setObjectName(QString::fromUtf8(
"invertSelectionCheckBox"));
96 invertSelectionCheckBox->setEnabled(
false);
98 gridLayout->addWidget(invertSelectionCheckBox, 0, 4, 1, 1);
100 gridLayout->setColumnStretch(1, 1);
104 QMetaObject::connectSlotsByName(FindDataCurrentSelectionFrame);
109 FindDataCurrentSelectionFrame->setWindowTitle(QCoreApplication::translate(
"FindDataCurrentSelectionFrame",
"Form",
nullptr));
110 label_6->setText(QCoreApplication::translate(
"FindDataCurrentSelectionFrame",
"<html><head/><body><p><span style=\" font-weight:600;\">Attribute:</span></p></body></html>",
nullptr));
111 #if QT_CONFIG(tooltip) 112 ToggleColumnVisibility->setToolTip(QCoreApplication::translate(
"FindDataCurrentSelectionFrame",
"Toggle column visibility",
nullptr));
113 #endif // QT_CONFIG(tooltip) 114 #if QT_CONFIG(statustip) 115 ToggleColumnVisibility->setStatusTip(QCoreApplication::translate(
"FindDataCurrentSelectionFrame",
"Toggle column visibility",
nullptr));
116 #endif // QT_CONFIG(statustip) 117 ToggleColumnVisibility->setText(QCoreApplication::translate(
"FindDataCurrentSelectionFrame",
"Toggle column visibility",
nullptr));
118 #if QT_CONFIG(tooltip) 119 ToggleFieldData->setToolTip(QCoreApplication::translate(
"FindDataCurrentSelectionFrame",
"Toggle field data visibility",
nullptr));
120 #endif // QT_CONFIG(tooltip) 121 ToggleFieldData->setText(QCoreApplication::translate(
"FindDataCurrentSelectionFrame",
"...",
nullptr));
122 #if QT_CONFIG(tooltip) 123 invertSelectionCheckBox->setToolTip(QCoreApplication::translate(
"FindDataCurrentSelectionFrame",
"Invert the selection",
nullptr));
124 #endif // QT_CONFIG(tooltip) 125 invertSelectionCheckBox->setText(QCoreApplication::translate(
"FindDataCurrentSelectionFrame",
"Invert selection",
nullptr));
136 #endif // UI_PQFINDDATACURRENTSELECTIONFRAME_H void retranslateUi(QWidget *FindDataCurrentSelectionFrame)
QToolButton * ToggleColumnVisibility
QCheckBox * invertSelectionCheckBox
QComboBox * showTypeComboBox
QToolButton * ToggleFieldData
void setupUi(QWidget *FindDataCurrentSelectionFrame)
pqSpreadSheetViewWidget * spreadsheet