ui_pqSpreadSheetViewDecorator.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqSpreadSheetViewDecorator.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_PQSPREADSHEETVIEWDECORATOR_H
10 #define UI_PQSPREADSHEETVIEWDECORATOR_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QAction>
15 #include <QtWidgets/QApplication>
16 #include <QtWidgets/QComboBox>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QSpacerItem>
20 #include <QtWidgets/QSpinBox>
21 #include <QtWidgets/QToolButton>
22 #include <QtWidgets/QWidget>
23 #include "pqOutputPortComboBox.h"
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QAction *actionExport;
31  QHBoxLayout *hboxLayout;
32  QLabel *label;
34  QLabel *label_2;
35  QComboBox *Attribute;
36  QLabel *label_Precision;
37  QSpinBox *spinBoxPrecision;
38  QToolButton *ToggleFixed;
39  QToolButton *SelectionOnly;
40  QToolButton *ToggleColumnVisibility;
41  QToolButton *ToggleCellConnectivity;
42  QToolButton *ExportSpreadsheet;
43  QSpacerItem *spacerItem;
44 
46  {
47  if (pqSpreadSheetViewDecorator->objectName().isEmpty())
48  pqSpreadSheetViewDecorator->setObjectName(QString::fromUtf8("pqSpreadSheetViewDecorator"));
49  pqSpreadSheetViewDecorator->resize(627, 32);
50  actionExport = new QAction(pqSpreadSheetViewDecorator);
51  actionExport->setObjectName(QString::fromUtf8("actionExport"));
52  QIcon icon;
53  icon.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqSaveTable32.png"), QSize(), QIcon::Normal, QIcon::Off);
54  actionExport->setIcon(icon);
55  hboxLayout = new QHBoxLayout(pqSpreadSheetViewDecorator);
56  hboxLayout->setSpacing(1);
57  hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
58  hboxLayout->setContentsMargins(0, 0, 0, 0);
59  label = new QLabel(pqSpreadSheetViewDecorator);
60  label->setObjectName(QString::fromUtf8("label"));
61 
62  hboxLayout->addWidget(label);
63 
64  Source = new pqOutputPortComboBox(pqSpreadSheetViewDecorator);
65  Source->setObjectName(QString::fromUtf8("Source"));
66  Source->setSizeAdjustPolicy(QComboBox::AdjustToContents);
67 
68  hboxLayout->addWidget(Source);
69 
70  label_2 = new QLabel(pqSpreadSheetViewDecorator);
71  label_2->setObjectName(QString::fromUtf8("label_2"));
72 
73  hboxLayout->addWidget(label_2);
74 
75  Attribute = new QComboBox(pqSpreadSheetViewDecorator);
76  Attribute->setObjectName(QString::fromUtf8("Attribute"));
77  Attribute->setSizeAdjustPolicy(QComboBox::AdjustToContents);
78 
79  hboxLayout->addWidget(Attribute);
80 
81  label_Precision = new QLabel(pqSpreadSheetViewDecorator);
82  label_Precision->setObjectName(QString::fromUtf8("label_Precision"));
83  QFont font;
84  font.setBold(true);
85  font.setWeight(75);
86  label_Precision->setFont(font);
87 
88  hboxLayout->addWidget(label_Precision);
89 
90  spinBoxPrecision = new QSpinBox(pqSpreadSheetViewDecorator);
91  spinBoxPrecision->setObjectName(QString::fromUtf8("spinBoxPrecision"));
92  spinBoxPrecision->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
93  spinBoxPrecision->setMaximum(32);
94 
95  hboxLayout->addWidget(spinBoxPrecision);
96 
97  ToggleFixed = new QToolButton(pqSpreadSheetViewDecorator);
98  ToggleFixed->setObjectName(QString::fromUtf8("ToggleFixed"));
99  QIcon icon1;
100  icon1.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqFixedRepr32.png"), QSize(), QIcon::Normal, QIcon::Off);
101  ToggleFixed->setIcon(icon1);
102  ToggleFixed->setCheckable(true);
103 
104  hboxLayout->addWidget(ToggleFixed);
105 
106  SelectionOnly = new QToolButton(pqSpreadSheetViewDecorator);
107  SelectionOnly->setObjectName(QString::fromUtf8("SelectionOnly"));
108  QIcon icon2;
109  icon2.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqSelect16.png"), QSize(), QIcon::Normal, QIcon::Off);
110  SelectionOnly->setIcon(icon2);
111  SelectionOnly->setCheckable(true);
112  SelectionOnly->setToolButtonStyle(Qt::ToolButtonIconOnly);
113 
114  hboxLayout->addWidget(SelectionOnly);
115 
116  ToggleColumnVisibility = new QToolButton(pqSpreadSheetViewDecorator);
117  ToggleColumnVisibility->setObjectName(QString::fromUtf8("ToggleColumnVisibility"));
118  QIcon icon3;
119  icon3.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqRectilinearGrid16.png"), QSize(), QIcon::Normal, QIcon::Off);
120  ToggleColumnVisibility->setIcon(icon3);
121  ToggleColumnVisibility->setPopupMode(QToolButton::InstantPopup);
122 
123  hboxLayout->addWidget(ToggleColumnVisibility);
124 
125  ToggleCellConnectivity = new QToolButton(pqSpreadSheetViewDecorator);
126  ToggleCellConnectivity->setObjectName(QString::fromUtf8("ToggleCellConnectivity"));
127  QIcon icon4;
128  icon4.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqProgrammableFilter.svg"), QSize(), QIcon::Normal, QIcon::Off);
129  ToggleCellConnectivity->setIcon(icon4);
130  ToggleCellConnectivity->setCheckable(true);
131 
132  hboxLayout->addWidget(ToggleCellConnectivity);
133 
134  ExportSpreadsheet = new QToolButton(pqSpreadSheetViewDecorator);
135  ExportSpreadsheet->setObjectName(QString::fromUtf8("ExportSpreadsheet"));
136 
137  hboxLayout->addWidget(ExportSpreadsheet);
138 
139  spacerItem = new QSpacerItem(58, 23, QSizePolicy::Expanding, QSizePolicy::Minimum);
140 
141  hboxLayout->addItem(spacerItem);
142 
143 
144  retranslateUi(pqSpreadSheetViewDecorator);
145 
146  QMetaObject::connectSlotsByName(pqSpreadSheetViewDecorator);
147  } // setupUi
148 
150  {
151  pqSpreadSheetViewDecorator->setWindowTitle(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Form", nullptr));
152 #if QT_CONFIG(tooltip)
153  actionExport->setToolTip(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Export Spreadsheet", nullptr));
154 #endif // QT_CONFIG(tooltip)
155  label->setText(QCoreApplication::translate("pqSpreadSheetViewDecorator", "<b>Showing </b>", nullptr));
156  label_2->setText(QCoreApplication::translate("pqSpreadSheetViewDecorator", "<b> Attribute:</b>", nullptr));
157  label_Precision->setText(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Precision:", nullptr));
158 #if QT_CONFIG(tooltip)
159  ToggleFixed->setToolTip(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Switches between scientific and fixed-point representation", nullptr));
160 #endif // QT_CONFIG(tooltip)
161 #if QT_CONFIG(statustip)
162  ToggleFixed->setStatusTip(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Toggle fixed-point representation (always show #Precision digits)", nullptr));
163 #endif // QT_CONFIG(statustip)
164 #if QT_CONFIG(whatsthis)
165  ToggleFixed->setWhatsThis(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Toggle fixed-point representation (always show #Precision digits)", nullptr));
166 #endif // QT_CONFIG(whatsthis)
167  ToggleFixed->setText(QCoreApplication::translate("pqSpreadSheetViewDecorator", "FixedRep", nullptr));
168 #if QT_CONFIG(tooltip)
169  SelectionOnly->setToolTip(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Show only selected elements.", nullptr));
170 #endif // QT_CONFIG(tooltip)
171 #if QT_CONFIG(statustip)
172  SelectionOnly->setStatusTip(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Show only selected elements.", nullptr));
173 #endif // QT_CONFIG(statustip)
174 #if QT_CONFIG(whatsthis)
175  SelectionOnly->setWhatsThis(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Show only selected elements.", nullptr));
176 #endif // QT_CONFIG(whatsthis)
177  SelectionOnly->setText(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Selected", nullptr));
178 #if QT_CONFIG(tooltip)
179  ToggleColumnVisibility->setToolTip(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Toggle column visibility", nullptr));
180 #endif // QT_CONFIG(tooltip)
181 #if QT_CONFIG(statustip)
182  ToggleColumnVisibility->setStatusTip(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Toggle column visibility", nullptr));
183 #endif // QT_CONFIG(statustip)
184 #if QT_CONFIG(whatsthis)
185  ToggleColumnVisibility->setWhatsThis(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Toggle column visibility", nullptr));
186 #endif // QT_CONFIG(whatsthis)
187  ToggleColumnVisibility->setText(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Toggle column visibility", nullptr));
188 #if QT_CONFIG(tooltip)
189  ToggleCellConnectivity->setToolTip(QCoreApplication::translate("pqSpreadSheetViewDecorator", "Toggle cell connectivity visibility", nullptr));
190 #endif // QT_CONFIG(tooltip)
191  ToggleCellConnectivity->setText(QCoreApplication::translate("pqSpreadSheetViewDecorator", "...", nullptr));
192  } // retranslateUi
193 
194 };
195 
196 namespace Ui {
198 } // namespace Ui
199 
200 QT_END_NAMESPACE
201 
202 #endif // UI_PQSPREADSHEETVIEWDECORATOR_H
void setupUi(QWidget *pqSpreadSheetViewDecorator)
pqSpreadSheetViewDecorator adds decoration to a spread-sheet view.
void retranslateUi(QWidget *pqSpreadSheetViewDecorator)
pqOutputPortComboBox is a combo-box that shows all outputports for all sources/filters.