9 #ifndef UI_PQMAINCONTROLSTOOLBAR_H 10 #define UI_PQMAINCONTROLSTOOLBAR_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QToolBar> 38 if (pqMainControlsToolbar->objectName().isEmpty())
39 pqMainControlsToolbar->setObjectName(QString::fromUtf8(
"pqMainControlsToolbar"));
40 pqMainControlsToolbar->resize(464, 39);
41 pqMainControlsToolbar->setOrientation(Qt::Horizontal);
42 actionOpenData =
new QAction(pqMainControlsToolbar);
43 actionOpenData->setObjectName(QString::fromUtf8(
"actionOpenData"));
45 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqOpen.svg"), QSize(), QIcon::Normal, QIcon::Off);
46 actionOpenData->setIcon(icon);
47 actionOpenData->setProperty(
"PV_MUST_BE_MASTER_TO_SHOW", QVariant(
true));
48 actionSaveData =
new QAction(pqMainControlsToolbar);
49 actionSaveData->setObjectName(QString::fromUtf8(
"actionSaveData"));
51 icon1.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqSave.svg"), QSize(), QIcon::Normal, QIcon::Off);
52 actionSaveData->setIcon(icon1);
53 actionSaveData->setProperty(
"PV_MUST_BE_MASTER_TO_SHOW", QVariant(
true));
54 actionServerConnect =
new QAction(pqMainControlsToolbar);
55 actionServerConnect->setObjectName(QString::fromUtf8(
"actionServerConnect"));
57 icon2.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqConnect.svg"), QSize(), QIcon::Normal, QIcon::Off);
58 actionServerConnect->setIcon(icon2);
59 actionServerDisconnect =
new QAction(pqMainControlsToolbar);
60 actionServerDisconnect->setObjectName(QString::fromUtf8(
"actionServerDisconnect"));
62 icon3.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqDisconnect.svg"), QSize(), QIcon::Normal, QIcon::Off);
63 actionServerDisconnect->setIcon(icon3);
64 actionUndo =
new QAction(pqMainControlsToolbar);
65 actionUndo->setObjectName(QString::fromUtf8(
"actionUndo"));
67 icon4.addFile(QString::fromUtf8(
":pqWidgets/Icons/pqUndo.svg"), QSize(), QIcon::Normal, QIcon::Off);
68 actionUndo->setIcon(icon4);
69 actionRedo =
new QAction(pqMainControlsToolbar);
70 actionRedo->setObjectName(QString::fromUtf8(
"actionRedo"));
72 icon5.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqRedo.svg"), QSize(), QIcon::Normal, QIcon::Off);
73 actionRedo->setIcon(icon5);
74 actionAutoApply =
new QAction(pqMainControlsToolbar);
75 actionAutoApply->setObjectName(QString::fromUtf8(
"actionAutoApply"));
76 actionAutoApply->setCheckable(
true);
78 icon6.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqAutoApply.svg"), QSize(), QIcon::Normal, QIcon::Off);
79 actionAutoApply->setIcon(icon6);
80 actionQuery =
new QAction(pqMainControlsToolbar);
81 actionQuery->setObjectName(QString::fromUtf8(
"actionQuery"));
82 actionQuery->setCheckable(
false);
83 actionQuery->setEnabled(
true);
85 icon7.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqFindData.svg"), QSize(), QIcon::Normal, QIcon::Off);
86 actionQuery->setIcon(icon7);
87 actionLoadPalette =
new QAction(pqMainControlsToolbar);
88 actionLoadPalette->setObjectName(QString::fromUtf8(
"actionLoadPalette"));
90 icon8.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqPalette.svg"), QSize(), QIcon::Normal, QIcon::Off);
91 actionLoadPalette->setIcon(icon8);
92 actionDelete =
new QAction(pqMainControlsToolbar);
93 actionDelete->setObjectName(QString::fromUtf8(
"actionDelete"));
95 icon9.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqResetSession.svg"), QSize(), QIcon::Normal, QIcon::Off);
96 actionDelete->setIcon(icon9);
97 actionGenerateExtracts =
new QAction(pqMainControlsToolbar);
98 actionGenerateExtracts->setObjectName(QString::fromUtf8(
"actionGenerateExtracts"));
100 icon10.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqExportScene.svg"), QSize(), QIcon::Normal, QIcon::Off);
101 actionGenerateExtracts->setIcon(icon10);
102 actionSaveState =
new QAction(pqMainControlsToolbar);
103 actionSaveState->setObjectName(QString::fromUtf8(
"actionSaveState"));
105 icon11.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqSaveState.svg"), QSize(), QIcon::Normal, QIcon::Off);
106 actionSaveState->setIcon(icon11);
107 actionSaveCatalystState =
new QAction(pqMainControlsToolbar);
108 actionSaveCatalystState->setObjectName(QString::fromUtf8(
"actionSaveCatalystState"));
110 icon12.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqCatalyst.svg"), QSize(), QIcon::Normal, QIcon::Off);
111 actionSaveCatalystState->setIcon(icon12);
113 pqMainControlsToolbar->addAction(actionOpenData);
114 pqMainControlsToolbar->addAction(actionSaveData);
115 pqMainControlsToolbar->addAction(actionSaveState);
116 pqMainControlsToolbar->addAction(actionGenerateExtracts);
117 pqMainControlsToolbar->addAction(actionSaveCatalystState);
118 pqMainControlsToolbar->addSeparator();
119 pqMainControlsToolbar->addAction(actionServerConnect);
120 pqMainControlsToolbar->addAction(actionServerDisconnect);
121 pqMainControlsToolbar->addAction(actionDelete);
122 pqMainControlsToolbar->addSeparator();
123 pqMainControlsToolbar->addAction(actionUndo);
124 pqMainControlsToolbar->addAction(actionRedo);
125 pqMainControlsToolbar->addSeparator();
126 pqMainControlsToolbar->addAction(actionAutoApply);
127 pqMainControlsToolbar->addAction(actionQuery);
128 pqMainControlsToolbar->addAction(actionLoadPalette);
132 QMetaObject::connectSlotsByName(pqMainControlsToolbar);
137 pqMainControlsToolbar->setWindowTitle(QCoreApplication::translate(
"pqMainControlsToolbar",
"Main Controls",
nullptr));
138 actionOpenData->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"Open...",
nullptr));
139 #if QT_CONFIG(statustip) 140 actionOpenData->setStatusTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Open",
nullptr));
141 #endif // QT_CONFIG(statustip) 142 actionSaveData->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"Save Data...",
nullptr));
143 actionServerConnect->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"&Connect...",
nullptr));
144 #if QT_CONFIG(statustip) 145 actionServerConnect->setStatusTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Connect",
nullptr));
146 #endif // QT_CONFIG(statustip) 147 actionServerDisconnect->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"&Disconnect",
nullptr));
148 #if QT_CONFIG(statustip) 149 actionServerDisconnect->setStatusTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Disconnect",
nullptr));
150 #endif // QT_CONFIG(statustip) 151 actionUndo->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"&Undo",
nullptr));
152 actionRedo->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"&Redo",
nullptr));
153 actionAutoApply->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"Auto Apply",
nullptr));
154 #if QT_CONFIG(tooltip) 155 actionAutoApply->setToolTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Apply changes to parameters automatically",
nullptr));
156 #endif // QT_CONFIG(tooltip) 157 actionQuery->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"Find Data...",
nullptr));
158 #if QT_CONFIG(tooltip) 159 actionQuery->setToolTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Find data matching various criteria from the current source (v)",
nullptr));
160 #endif // QT_CONFIG(tooltip) 161 actionLoadPalette->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"Load Palette",
nullptr));
162 #if QT_CONFIG(tooltip) 163 actionLoadPalette->setToolTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Load a color palette",
nullptr));
164 #endif // QT_CONFIG(tooltip) 165 actionDelete->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"Reset Session",
nullptr));
166 #if QT_CONFIG(tooltip) 167 actionDelete->setToolTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Reset Session",
nullptr));
168 #endif // QT_CONFIG(tooltip) 169 #if QT_CONFIG(statustip) 170 actionDelete->setStatusTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Reset Session",
nullptr));
171 #endif // QT_CONFIG(statustip) 172 actionGenerateExtracts->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"Save Extracts...",
nullptr));
173 #if QT_CONFIG(tooltip) 174 actionGenerateExtracts->setToolTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Save Extracts",
nullptr));
175 #endif // QT_CONFIG(tooltip) 176 actionSaveState->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"Save State...",
nullptr));
177 #if QT_CONFIG(tooltip) 178 actionSaveState->setToolTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Save State",
nullptr));
179 #endif // QT_CONFIG(tooltip) 180 actionSaveCatalystState->setText(QCoreApplication::translate(
"pqMainControlsToolbar",
"Save Catalyst State...",
nullptr));
181 #if QT_CONFIG(tooltip) 182 actionSaveCatalystState->setToolTip(QCoreApplication::translate(
"pqMainControlsToolbar",
"Save Catalyst State",
nullptr));
183 #endif // QT_CONFIG(tooltip) 194 #endif // UI_PQMAINCONTROLSTOOLBAR_H pqMainControlsToolbar is the toolbar with actions (and reactions) for the "Main Controls" toolbar in ...
void retranslateUi(QToolBar *pqMainControlsToolbar)
QAction * actionSaveState
QAction * actionServerDisconnect
QAction * actionAutoApply
QAction * actionServerConnect
void setupUi(QToolBar *pqMainControlsToolbar)
QAction * actionGenerateExtracts
QAction * actionSaveCatalystState
QAction * actionLoadPalette