9 #ifndef UI_PQEDITMENUBUILDER_H 10 #define UI_PQEDITMENUBUILDER_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QMenu> 48 if (pqEditMenuBuilder->objectName().isEmpty())
49 pqEditMenuBuilder->setObjectName(QString::fromUtf8(
"pqEditMenuBuilder"));
50 actionEditUndo =
new QAction(pqEditMenuBuilder);
51 actionEditUndo->setObjectName(QString::fromUtf8(
"actionEditUndo"));
52 actionEditUndo->setCheckable(
false);
53 actionEditUndo->setEnabled(
false);
55 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqUndo.svg"), QSize(), QIcon::Normal, QIcon::Off);
56 actionEditUndo->setIcon(icon);
57 actionEditRedo =
new QAction(pqEditMenuBuilder);
58 actionEditRedo->setObjectName(QString::fromUtf8(
"actionEditRedo"));
59 actionEditRedo->setEnabled(
false);
61 icon1.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqRedo.svg"), QSize(), QIcon::Normal, QIcon::Off);
62 actionEditRedo->setIcon(icon1);
63 actionEditCameraUndo =
new QAction(pqEditMenuBuilder);
64 actionEditCameraUndo->setObjectName(QString::fromUtf8(
"actionEditCameraUndo"));
66 icon2.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqUndoCamera.svg"), QSize(), QIcon::Normal, QIcon::Off);
67 actionEditCameraUndo->setIcon(icon2);
68 actionEditCameraRedo =
new QAction(pqEditMenuBuilder);
69 actionEditCameraRedo->setObjectName(QString::fromUtf8(
"actionEditCameraRedo"));
71 icon3.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqRedoCamera.svg"), QSize(), QIcon::Normal, QIcon::Off);
72 actionEditCameraRedo->setIcon(icon3);
73 actionChangeFile =
new QAction(pqEditMenuBuilder);
74 actionChangeFile->setObjectName(QString::fromUtf8(
"actionChangeFile"));
75 actionChangeInput =
new QAction(pqEditMenuBuilder);
76 actionChangeInput->setObjectName(QString::fromUtf8(
"actionChangeInput"));
78 icon4.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqChangeInput.svg"), QSize(), QIcon::Normal, QIcon::Off);
79 actionChangeInput->setIcon(icon4);
80 actionRename =
new QAction(pqEditMenuBuilder);
81 actionRename->setObjectName(QString::fromUtf8(
"actionRename"));
82 actionCopyScreenshotToClipboard =
new QAction(pqEditMenuBuilder);
83 actionCopyScreenshotToClipboard->setObjectName(QString::fromUtf8(
"actionCopyScreenshotToClipboard"));
85 icon5.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqCaptureScreenshot.svg"), QSize(), QIcon::Normal, QIcon::Off);
86 actionCopyScreenshotToClipboard->setIcon(icon5);
87 actionCopy =
new QAction(pqEditMenuBuilder);
88 actionCopy->setObjectName(QString::fromUtf8(
"actionCopy"));
90 icon6.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqCopy.svg"), QSize(), QIcon::Normal, QIcon::Off);
91 actionCopy->setIcon(icon6);
92 actionPaste =
new QAction(pqEditMenuBuilder);
93 actionPaste->setObjectName(QString::fromUtf8(
"actionPaste"));
95 icon7.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqPaste.svg"), QSize(), QIcon::Normal, QIcon::Off);
96 actionPaste->setIcon(icon7);
97 actionCopyPipeline =
new QAction(pqEditMenuBuilder);
98 actionCopyPipeline->setObjectName(QString::fromUtf8(
"actionCopyPipeline"));
99 actionCopyPipeline->setIcon(icon6);
100 actionPastePipeline =
new QAction(pqEditMenuBuilder);
101 actionPastePipeline->setObjectName(QString::fromUtf8(
"actionPastePipeline"));
102 actionPastePipeline->setIcon(icon7);
103 actionDelete =
new QAction(pqEditMenuBuilder);
104 actionDelete->setObjectName(QString::fromUtf8(
"actionDelete"));
106 icon8.addFile(QString::fromUtf8(
":/QtWidgets/Icons/pqDelete.svg"), QSize(), QIcon::Normal, QIcon::Off);
107 actionDelete->setIcon(icon8);
108 actionDeleteTree =
new QAction(pqEditMenuBuilder);
109 actionDeleteTree->setObjectName(QString::fromUtf8(
"actionDeleteTree"));
110 actionDeleteTree->setIcon(icon8);
111 actionDelete_All =
new QAction(pqEditMenuBuilder);
112 actionDelete_All->setObjectName(QString::fromUtf8(
"actionDelete_All"));
114 icon9.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqResetSession.svg"), QSize(), QIcon::Normal, QIcon::Off);
115 actionDelete_All->setIcon(icon9);
116 actionShow_All =
new QAction(pqEditMenuBuilder);
117 actionShow_All->setObjectName(QString::fromUtf8(
"actionShow_All"));
119 icon10.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqEyeball.svg"), QSize(), QIcon::Normal, QIcon::Off);
120 actionShow_All->setIcon(icon10);
121 actionHide_All =
new QAction(pqEditMenuBuilder);
122 actionHide_All->setObjectName(QString::fromUtf8(
"actionHide_All"));
124 icon11.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqEyeballClosed.svg"), QSize(), QIcon::Normal, QIcon::Off);
125 actionHide_All->setIcon(icon11);
126 actionIgnoreTime =
new QAction(pqEditMenuBuilder);
127 actionIgnoreTime->setObjectName(QString::fromUtf8(
"actionIgnoreTime"));
128 actionIgnoreTime->setCheckable(
true);
129 actionEditSettings =
new QAction(pqEditMenuBuilder);
130 actionEditSettings->setObjectName(QString::fromUtf8(
"actionEditSettings"));
132 icon12.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqSettings.svg"), QSize(), QIcon::Normal, QIcon::Off);
133 actionEditSettings->setIcon(icon12);
134 actionQuery =
new QAction(pqEditMenuBuilder);
135 actionQuery->setObjectName(QString::fromUtf8(
"actionQuery"));
137 icon13.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqFindData.svg"), QSize(), QIcon::Normal, QIcon::Off);
138 actionQuery->setIcon(icon13);
139 actionSearch =
new QAction(pqEditMenuBuilder);
140 actionSearch->setObjectName(QString::fromUtf8(
"actionSearch"));
141 actionResetDefaultSettings =
new QAction(pqEditMenuBuilder);
142 actionResetDefaultSettings->setObjectName(QString::fromUtf8(
"actionResetDefaultSettings"));
144 icon14.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqResetSettings.svg"), QSize(), QIcon::Normal, QIcon::Off);
145 actionResetDefaultSettings->setIcon(icon14);
146 actionSetMainWindowTitle =
new QAction(pqEditMenuBuilder);
147 actionSetMainWindowTitle->setObjectName(QString::fromUtf8(
"actionSetMainWindowTitle"));
149 icon15.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqRenameWindow.svg"), QSize(), QIcon::Normal, QIcon::Off);
150 actionSetMainWindowTitle->setIcon(icon15);
152 pqEditMenuBuilder->addAction(actionEditUndo);
153 pqEditMenuBuilder->addAction(actionEditRedo);
154 pqEditMenuBuilder->addSeparator();
155 pqEditMenuBuilder->addAction(actionEditCameraUndo);
156 pqEditMenuBuilder->addAction(actionEditCameraRedo);
157 pqEditMenuBuilder->addSeparator();
158 pqEditMenuBuilder->addAction(actionCopyScreenshotToClipboard);
159 pqEditMenuBuilder->addSeparator();
160 pqEditMenuBuilder->addAction(actionCopy);
161 pqEditMenuBuilder->addAction(actionPaste);
162 pqEditMenuBuilder->addAction(actionCopyPipeline);
163 pqEditMenuBuilder->addAction(actionPastePipeline);
164 pqEditMenuBuilder->addSeparator();
165 pqEditMenuBuilder->addAction(actionDelete);
166 pqEditMenuBuilder->addAction(actionDeleteTree);
167 pqEditMenuBuilder->addAction(actionRename);
168 pqEditMenuBuilder->addAction(actionChangeInput);
169 pqEditMenuBuilder->addAction(actionIgnoreTime);
170 pqEditMenuBuilder->addSeparator();
171 pqEditMenuBuilder->addAction(actionShow_All);
172 pqEditMenuBuilder->addAction(actionHide_All);
173 pqEditMenuBuilder->addAction(actionDelete_All);
174 pqEditMenuBuilder->addSeparator();
175 pqEditMenuBuilder->addAction(actionQuery);
176 pqEditMenuBuilder->addAction(actionSearch);
177 pqEditMenuBuilder->addSeparator();
178 pqEditMenuBuilder->addAction(actionEditSettings);
179 pqEditMenuBuilder->addAction(actionResetDefaultSettings);
180 pqEditMenuBuilder->addSeparator();
181 pqEditMenuBuilder->addAction(actionSetMainWindowTitle);
185 QMetaObject::connectSlotsByName(pqEditMenuBuilder);
190 pqEditMenuBuilder->setTitle(QCoreApplication::translate(
"pqEditMenuBuilder",
"&Edit",
nullptr));
191 actionEditUndo->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"&Undo",
nullptr));
192 #if QT_CONFIG(shortcut) 193 actionEditUndo->setShortcut(QCoreApplication::translate(
"pqEditMenuBuilder",
"Ctrl+Z",
nullptr));
194 #endif // QT_CONFIG(shortcut) 195 actionEditRedo->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"&Redo",
nullptr));
196 #if QT_CONFIG(shortcut) 197 actionEditRedo->setShortcut(QCoreApplication::translate(
"pqEditMenuBuilder",
"Ctrl+Y",
nullptr));
198 #endif // QT_CONFIG(shortcut) 199 actionEditCameraUndo->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Camera Undo",
nullptr));
200 #if QT_CONFIG(shortcut) 201 actionEditCameraUndo->setShortcut(QCoreApplication::translate(
"pqEditMenuBuilder",
"Ctrl+B",
nullptr));
202 #endif // QT_CONFIG(shortcut) 203 actionEditCameraRedo->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Camera Redo",
nullptr));
204 #if QT_CONFIG(shortcut) 205 actionEditCameraRedo->setShortcut(QCoreApplication::translate(
"pqEditMenuBuilder",
"Ctrl+G",
nullptr));
206 #endif // QT_CONFIG(shortcut) 207 actionChangeFile->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Change File...",
nullptr));
208 actionChangeFile->setIconText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Change File...",
nullptr));
209 #if QT_CONFIG(tooltip) 210 actionChangeFile->setToolTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Change File",
nullptr));
211 #endif // QT_CONFIG(tooltip) 212 #if QT_CONFIG(statustip) 213 actionChangeFile->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Change File",
nullptr));
214 #endif // QT_CONFIG(statustip) 215 actionChangeInput->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Change &Input...",
nullptr));
216 actionChangeInput->setIconText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Change Input...",
nullptr));
217 #if QT_CONFIG(tooltip) 218 actionChangeInput->setToolTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Change a Filter's Input",
nullptr));
219 #endif // QT_CONFIG(tooltip) 220 #if QT_CONFIG(statustip) 221 actionChangeInput->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Change a Filter's Input",
nullptr));
222 #endif // QT_CONFIG(statustip) 223 actionRename->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Rename...",
nullptr));
224 actionRename->setIconText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Rename...",
nullptr));
225 #if QT_CONFIG(tooltip) 226 actionRename->setToolTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Rename selected source (or filter)",
nullptr));
227 #endif // QT_CONFIG(tooltip) 228 #if QT_CONFIG(statustip) 229 actionRename->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Rename selected source (or filter)",
nullptr));
230 #endif // QT_CONFIG(statustip) 231 actionCopyScreenshotToClipboard->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"&Copy Screenshot to Clipboard",
nullptr));
232 #if QT_CONFIG(statustip) 233 actionCopyScreenshotToClipboard->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Copy Screenshot to Clipboard",
nullptr));
234 #endif // QT_CONFIG(statustip) 235 actionCopy->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"&Copy",
nullptr));
236 #if QT_CONFIG(statustip) 237 actionCopy->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Copy properties",
nullptr));
238 #endif // QT_CONFIG(statustip) 239 actionPaste->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"&Paste",
nullptr));
240 #if QT_CONFIG(statustip) 241 actionPaste->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Paste copied properties",
nullptr));
242 #endif // QT_CONFIG(statustip) 243 actionCopyPipeline->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Copy Pipeline",
nullptr));
244 #if QT_CONFIG(statustip) 245 actionCopyPipeline->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Copy Pipeline",
nullptr));
246 #endif // QT_CONFIG(statustip) 247 actionPastePipeline->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Paste Pipeline",
nullptr));
248 #if QT_CONFIG(statustip) 249 actionPastePipeline->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Paste copied pipeline",
nullptr));
250 #endif // QT_CONFIG(statustip) 251 actionDelete->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"&Delete",
nullptr));
252 #if QT_CONFIG(statustip) 253 actionDelete->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Delete",
nullptr));
254 #endif // QT_CONFIG(statustip) 255 actionDeleteTree->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Delete Downstream Pipeline",
nullptr));
256 #if QT_CONFIG(statustip) 257 actionDeleteTree->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Delete selection and all downstream filters",
nullptr));
258 #endif // QT_CONFIG(statustip) 259 actionDelete_All->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Reset Session",
nullptr));
260 #if QT_CONFIG(shortcut) 261 actionDelete_All->setShortcut(QCoreApplication::translate(
"pqEditMenuBuilder",
"Ctrl+R",
nullptr));
262 #endif // QT_CONFIG(shortcut) 263 actionShow_All->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Show All",
nullptr));
264 #if QT_CONFIG(tooltip) 265 actionShow_All->setToolTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Show all sources in selected view",
nullptr));
266 #endif // QT_CONFIG(tooltip) 267 actionHide_All->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Hide All",
nullptr));
268 actionIgnoreTime->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Ignore Time",
nullptr));
269 #if QT_CONFIG(tooltip) 270 actionIgnoreTime->setToolTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Disregard this source/filter's time from animations",
nullptr));
271 #endif // QT_CONFIG(tooltip) 272 #if QT_CONFIG(statustip) 273 actionIgnoreTime->setStatusTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Disregard this source/filter's time from animations",
nullptr));
274 #endif // QT_CONFIG(statustip) 275 actionEditSettings->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Settings...",
nullptr));
276 actionEditSettings->setIconText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Settings",
nullptr));
277 #if QT_CONFIG(tooltip) 278 actionEditSettings->setToolTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Settings",
nullptr));
279 #endif // QT_CONFIG(tooltip) 280 actionQuery->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Find Data...",
nullptr));
281 actionQuery->setIconText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Find Data",
nullptr));
282 #if QT_CONFIG(tooltip) 283 actionQuery->setToolTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Find data matching various criteria from the current source.",
nullptr));
284 #endif // QT_CONFIG(tooltip) 285 #if QT_CONFIG(shortcut) 286 actionQuery->setShortcut(QCoreApplication::translate(
"pqEditMenuBuilder",
"V",
nullptr));
287 #endif // QT_CONFIG(shortcut) 288 actionSearch->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Search in item list",
nullptr));
289 actionSearch->setIconText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Search in item list",
nullptr));
290 #if QT_CONFIG(tooltip) 291 actionSearch->setToolTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Pops up a search dialog if focus is on an item list",
nullptr));
292 #endif // QT_CONFIG(tooltip) 293 #if QT_CONFIG(shortcut) 294 actionSearch->setShortcut(QCoreApplication::translate(
"pqEditMenuBuilder",
"Ctrl+F",
nullptr));
295 #endif // QT_CONFIG(shortcut) 296 actionResetDefaultSettings->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Reset to Default Settings",
nullptr));
297 actionResetDefaultSettings->setIconText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Reset to Default Settings",
nullptr));
298 #if QT_CONFIG(tooltip) 299 actionResetDefaultSettings->setToolTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Reset user settings to default.",
nullptr));
300 #endif // QT_CONFIG(tooltip) 301 actionSetMainWindowTitle->setText(QCoreApplication::translate(
"pqEditMenuBuilder",
"Rename Window",
nullptr));
302 #if QT_CONFIG(tooltip) 303 actionSetMainWindowTitle->setToolTip(QCoreApplication::translate(
"pqEditMenuBuilder",
"Change the main window title",
nullptr));
304 #endif // QT_CONFIG(tooltip) 315 #endif // UI_PQEDITMENUBUILDER_H