9 #ifndef UI_PLAYLISTDOCK_H 10 #define UI_PLAYLISTDOCK_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QAction> 15 #include <QtWidgets/QApplication> 16 #include <QtWidgets/QDockWidget> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QHeaderView> 19 #include <QtWidgets/QPushButton> 20 #include <QtWidgets/QSpacerItem> 21 #include <QtWidgets/QStackedWidget> 22 #include <QtWidgets/QTextBrowser> 23 #include <QtWidgets/QVBoxLayout> 24 #include <QtWidgets/QWidget> 25 #include "widgets/playlistlistview.h" 26 #include "widgets/playlisttable.h" 33 QAction *actionInsertCut;
34 QAction *actionAppendCut;
35 QAction *actionInsertBlank;
36 QAction *actionAppendBlank;
37 QAction *actionUpdate;
39 QAction *actionRemove;
40 QAction *actionSetFileDate;
42 QAction *actionRemoveAll;
43 QAction *actionThumbnailsHidden;
44 QAction *actionLeftAndRight;
45 QAction *actionTopAndBottom;
46 QAction *actionInOnlySmall;
47 QAction *actionInOnlyLarge;
48 QAction *actionAddToTimeline;
49 QAction *actionSortByName;
50 QAction *actionSortByDate;
51 QAction *actionDetailed;
55 QAction *actionPlayAfterOpen;
56 QAction *actionSelectAll;
57 QAction *actionSelectNone;
58 QWidget *dockWidgetContents;
59 QVBoxLayout *verticalLayout;
60 QStackedWidget *stackedWidget;
62 QVBoxLayout *verticalLayout_2;
63 QTextBrowser *textBrowser;
65 QVBoxLayout *verticalLayout_3;
66 PlaylistTable *tableView;
67 PlaylistListView *listView;
68 QHBoxLayout *horizontalLayout;
69 QPushButton *addButton;
70 QPushButton *removeButton;
71 QPushButton *updateButton;
72 QPushButton *tilesButton;
73 QPushButton *iconsButton;
74 QPushButton *detailsButton;
75 QPushButton *menuButton;
76 QSpacerItem *horizontalSpacer;
78 void setupUi(QDockWidget *PlaylistDock)
80 if (PlaylistDock->objectName().isEmpty())
81 PlaylistDock->setObjectName(QString::fromUtf8(
"PlaylistDock"));
82 PlaylistDock->resize(460, 278);
84 QString iconThemeName = QString::fromUtf8(
"view-media-playlist");
85 if (QIcon::hasThemeIcon(iconThemeName)) {
86 icon = QIcon::fromTheme(iconThemeName);
88 icon.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-media-playlist.png"), QSize(), QIcon::Normal, QIcon::Off);
90 PlaylistDock->setWindowIcon(icon);
91 actionInsertCut =
new QAction(PlaylistDock);
92 actionInsertCut->setObjectName(QString::fromUtf8(
"actionInsertCut"));
93 actionAppendCut =
new QAction(PlaylistDock);
94 actionAppendCut->setObjectName(QString::fromUtf8(
"actionAppendCut"));
96 iconThemeName = QString::fromUtf8(
"list-add");
97 if (QIcon::hasThemeIcon(iconThemeName)) {
98 icon1 = QIcon::fromTheme(iconThemeName);
100 icon1.addFile(QString::fromUtf8(
"."), QSize(), QIcon::Normal, QIcon::Off);
102 actionAppendCut->setIcon(icon1);
103 actionInsertBlank =
new QAction(PlaylistDock);
104 actionInsertBlank->setObjectName(QString::fromUtf8(
"actionInsertBlank"));
105 actionAppendBlank =
new QAction(PlaylistDock);
106 actionAppendBlank->setObjectName(QString::fromUtf8(
"actionAppendBlank"));
107 actionUpdate =
new QAction(PlaylistDock);
108 actionUpdate->setObjectName(QString::fromUtf8(
"actionUpdate"));
109 actionOpen =
new QAction(PlaylistDock);
110 actionOpen->setObjectName(QString::fromUtf8(
"actionOpen"));
111 actionRemove =
new QAction(PlaylistDock);
112 actionRemove->setObjectName(QString::fromUtf8(
"actionRemove"));
113 actionSetFileDate =
new QAction(PlaylistDock);
114 actionSetFileDate->setObjectName(QString::fromUtf8(
"actionSetFileDate"));
115 actionGoto =
new QAction(PlaylistDock);
116 actionGoto->setObjectName(QString::fromUtf8(
"actionGoto"));
117 actionRemoveAll =
new QAction(PlaylistDock);
118 actionRemoveAll->setObjectName(QString::fromUtf8(
"actionRemoveAll"));
119 actionThumbnailsHidden =
new QAction(PlaylistDock);
120 actionThumbnailsHidden->setObjectName(QString::fromUtf8(
"actionThumbnailsHidden"));
121 actionThumbnailsHidden->setCheckable(
true);
122 actionLeftAndRight =
new QAction(PlaylistDock);
123 actionLeftAndRight->setObjectName(QString::fromUtf8(
"actionLeftAndRight"));
124 actionLeftAndRight->setCheckable(
true);
125 actionTopAndBottom =
new QAction(PlaylistDock);
126 actionTopAndBottom->setObjectName(QString::fromUtf8(
"actionTopAndBottom"));
127 actionTopAndBottom->setCheckable(
true);
128 actionInOnlySmall =
new QAction(PlaylistDock);
129 actionInOnlySmall->setObjectName(QString::fromUtf8(
"actionInOnlySmall"));
130 actionInOnlySmall->setCheckable(
true);
131 actionInOnlyLarge =
new QAction(PlaylistDock);
132 actionInOnlyLarge->setObjectName(QString::fromUtf8(
"actionInOnlyLarge"));
133 actionInOnlyLarge->setCheckable(
true);
134 actionAddToTimeline =
new QAction(PlaylistDock);
135 actionAddToTimeline->setObjectName(QString::fromUtf8(
"actionAddToTimeline"));
136 actionSortByName =
new QAction(PlaylistDock);
137 actionSortByName->setObjectName(QString::fromUtf8(
"actionSortByName"));
138 actionSortByDate =
new QAction(PlaylistDock);
139 actionSortByDate->setObjectName(QString::fromUtf8(
"actionSortByDate"));
140 actionDetailed =
new QAction(PlaylistDock);
141 actionDetailed->setObjectName(QString::fromUtf8(
"actionDetailed"));
142 actionDetailed->setCheckable(
true);
143 actionTiled =
new QAction(PlaylistDock);
144 actionTiled->setObjectName(QString::fromUtf8(
"actionTiled"));
145 actionTiled->setCheckable(
true);
146 actionIcons =
new QAction(PlaylistDock);
147 actionIcons->setObjectName(QString::fromUtf8(
"actionIcons"));
148 actionIcons->setCheckable(
true);
149 actionCopy =
new QAction(PlaylistDock);
150 actionCopy->setObjectName(QString::fromUtf8(
"actionCopy"));
151 actionPlayAfterOpen =
new QAction(PlaylistDock);
152 actionPlayAfterOpen->setObjectName(QString::fromUtf8(
"actionPlayAfterOpen"));
153 actionPlayAfterOpen->setCheckable(
true);
154 actionSelectAll =
new QAction(PlaylistDock);
155 actionSelectAll->setObjectName(QString::fromUtf8(
"actionSelectAll"));
156 actionSelectNone =
new QAction(PlaylistDock);
157 actionSelectNone->setObjectName(QString::fromUtf8(
"actionSelectNone"));
158 dockWidgetContents =
new QWidget();
159 dockWidgetContents->setObjectName(QString::fromUtf8(
"dockWidgetContents"));
160 verticalLayout =
new QVBoxLayout(dockWidgetContents);
161 verticalLayout->setSpacing(0);
162 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
163 verticalLayout->setContentsMargins(0, 0, 0, 0);
164 stackedWidget =
new QStackedWidget(dockWidgetContents);
165 stackedWidget->setObjectName(QString::fromUtf8(
"stackedWidget"));
166 page =
new QWidget();
167 page->setObjectName(QString::fromUtf8(
"page"));
168 verticalLayout_2 =
new QVBoxLayout(page);
169 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
170 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
171 textBrowser =
new QTextBrowser(page);
172 textBrowser->setObjectName(QString::fromUtf8(
"textBrowser"));
174 verticalLayout_2->addWidget(textBrowser);
176 stackedWidget->addWidget(page);
177 page_2 =
new QWidget();
178 page_2->setObjectName(QString::fromUtf8(
"page_2"));
179 verticalLayout_3 =
new QVBoxLayout(page_2);
180 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
181 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
182 tableView =
new PlaylistTable(page_2);
183 tableView->setObjectName(QString::fromUtf8(
"tableView"));
184 tableView->setContextMenuPolicy(Qt::CustomContextMenu);
185 tableView->setDragEnabled(
false);
186 tableView->setAlternatingRowColors(
true);
187 tableView->setSelectionMode(QAbstractItemView::ExtendedSelection);
188 tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
189 tableView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
190 tableView->horizontalHeader()->setHighlightSections(
false);
191 tableView->verticalHeader()->setVisible(
false);
193 verticalLayout_3->addWidget(tableView);
195 listView =
new PlaylistListView(page_2);
196 listView->setObjectName(QString::fromUtf8(
"listView"));
197 listView->setContextMenuPolicy(Qt::CustomContextMenu);
198 listView->setSelectionMode(QAbstractItemView::ExtendedSelection);
199 listView->setMovement(QListView::Static);
201 verticalLayout_3->addWidget(listView);
203 stackedWidget->addWidget(page_2);
205 verticalLayout->addWidget(stackedWidget);
207 horizontalLayout =
new QHBoxLayout();
208 horizontalLayout->setSpacing(6);
209 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
210 addButton =
new QPushButton(dockWidgetContents);
211 addButton->setObjectName(QString::fromUtf8(
"addButton"));
212 addButton->setEnabled(
false);
214 iconThemeName = QString::fromUtf8(
"list-add");
215 if (QIcon::hasThemeIcon(iconThemeName)) {
216 icon2 = QIcon::fromTheme(iconThemeName);
218 icon2.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-add.png"), QSize(), QIcon::Normal, QIcon::Off);
220 addButton->setIcon(icon2);
222 horizontalLayout->addWidget(addButton);
224 removeButton =
new QPushButton(dockWidgetContents);
225 removeButton->setObjectName(QString::fromUtf8(
"removeButton"));
226 removeButton->setEnabled(
false);
228 iconThemeName = QString::fromUtf8(
"list-remove");
229 if (QIcon::hasThemeIcon(iconThemeName)) {
230 icon3 = QIcon::fromTheme(iconThemeName);
232 icon3.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-remove.png"), QSize(), QIcon::Normal, QIcon::Off);
234 removeButton->setIcon(icon3);
236 horizontalLayout->addWidget(removeButton);
238 updateButton =
new QPushButton(dockWidgetContents);
239 updateButton->setObjectName(QString::fromUtf8(
"updateButton"));
240 updateButton->setEnabled(
false);
242 iconThemeName = QString::fromUtf8(
"dialog-ok");
243 if (QIcon::hasThemeIcon(iconThemeName)) {
244 icon4 = QIcon::fromTheme(iconThemeName);
246 icon4.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/dialog-ok.png"), QSize(), QIcon::Normal, QIcon::Off);
248 updateButton->setIcon(icon4);
250 horizontalLayout->addWidget(updateButton);
252 tilesButton =
new QPushButton(dockWidgetContents);
253 tilesButton->setObjectName(QString::fromUtf8(
"tilesButton"));
255 iconThemeName = QString::fromUtf8(
"view-list-details");
256 if (QIcon::hasThemeIcon(iconThemeName)) {
257 icon5 = QIcon::fromTheme(iconThemeName);
259 icon5.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-details.png"), QSize(), QIcon::Normal, QIcon::Off);
261 tilesButton->setIcon(icon5);
263 horizontalLayout->addWidget(tilesButton);
265 iconsButton =
new QPushButton(dockWidgetContents);
266 iconsButton->setObjectName(QString::fromUtf8(
"iconsButton"));
268 iconThemeName = QString::fromUtf8(
"view-list-icons");
269 if (QIcon::hasThemeIcon(iconThemeName)) {
270 icon6 = QIcon::fromTheme(iconThemeName);
272 icon6.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-icons.png"), QSize(), QIcon::Normal, QIcon::Off);
274 iconsButton->setIcon(icon6);
276 horizontalLayout->addWidget(iconsButton);
278 detailsButton =
new QPushButton(dockWidgetContents);
279 detailsButton->setObjectName(QString::fromUtf8(
"detailsButton"));
281 iconThemeName = QString::fromUtf8(
"view-list-text");
282 if (QIcon::hasThemeIcon(iconThemeName)) {
283 icon7 = QIcon::fromTheme(iconThemeName);
285 icon7.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-text.png"), QSize(), QIcon::Normal, QIcon::Off);
287 detailsButton->setIcon(icon7);
289 horizontalLayout->addWidget(detailsButton);
291 menuButton =
new QPushButton(dockWidgetContents);
292 menuButton->setObjectName(QString::fromUtf8(
"menuButton"));
294 iconThemeName = QString::fromUtf8(
"format-justify-fill");
295 if (QIcon::hasThemeIcon(iconThemeName)) {
296 icon8 = QIcon::fromTheme(iconThemeName);
298 icon8.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/format-justify-fill.png"), QSize(), QIcon::Normal, QIcon::Off);
300 menuButton->setIcon(icon8);
302 horizontalLayout->addWidget(menuButton);
304 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
306 horizontalLayout->addItem(horizontalSpacer);
309 verticalLayout->addLayout(horizontalLayout);
311 PlaylistDock->setWidget(dockWidgetContents);
313 retranslateUi(PlaylistDock);
315 stackedWidget->setCurrentIndex(0);
318 QMetaObject::connectSlotsByName(PlaylistDock);
321 void retranslateUi(QDockWidget *PlaylistDock)
323 PlaylistDock->setWindowTitle(QApplication::translate(
"PlaylistDock",
"Playlist",
nullptr));
324 actionInsertCut->setText(QApplication::translate(
"PlaylistDock",
"Insert",
nullptr));
325 #ifndef QT_NO_TOOLTIP 326 actionInsertCut->setToolTip(QApplication::translate(
"PlaylistDock",
"Insert",
nullptr));
327 #endif // QT_NO_TOOLTIP 328 #ifndef QT_NO_SHORTCUT 329 actionInsertCut->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+V",
nullptr));
330 #endif // QT_NO_SHORTCUT 331 actionAppendCut->setText(QApplication::translate(
"PlaylistDock",
"Append",
nullptr));
332 #ifndef QT_NO_TOOLTIP 333 actionAppendCut->setToolTip(QApplication::translate(
"PlaylistDock",
"Append",
nullptr));
334 #endif // QT_NO_TOOLTIP 335 #ifndef QT_NO_SHORTCUT 336 actionAppendCut->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+A",
nullptr));
337 #endif // QT_NO_SHORTCUT 338 actionInsertBlank->setText(QApplication::translate(
"PlaylistDock",
"Insert Blank",
nullptr));
339 actionAppendBlank->setText(QApplication::translate(
"PlaylistDock",
"Append Blank",
nullptr));
340 actionUpdate->setText(QApplication::translate(
"PlaylistDock",
"Replace",
nullptr));
341 #ifndef QT_NO_SHORTCUT 342 actionUpdate->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+B",
nullptr));
343 #endif // QT_NO_SHORTCUT 344 actionOpen->setText(QApplication::translate(
"PlaylistDock",
"Open ",
nullptr));
345 #ifndef QT_NO_TOOLTIP 346 actionOpen->setToolTip(QApplication::translate(
"PlaylistDock",
"Open the clip in the Source player",
nullptr));
347 #endif // QT_NO_TOOLTIP 348 #ifndef QT_NO_SHORTCUT 349 actionOpen->setShortcut(QApplication::translate(
"PlaylistDock",
"Return",
nullptr));
350 #endif // QT_NO_SHORTCUT 351 actionRemove->setText(QApplication::translate(
"PlaylistDock",
"Remove",
nullptr));
352 #ifndef QT_NO_SHORTCUT 353 actionRemove->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+X",
nullptr));
354 #endif // QT_NO_SHORTCUT 355 actionSetFileDate->setText(QApplication::translate(
"PlaylistDock",
"Set Creation Time...",
nullptr));
356 actionGoto->setText(QApplication::translate(
"PlaylistDock",
"Goto",
nullptr));
357 #ifndef QT_NO_TOOLTIP 358 actionGoto->setToolTip(QApplication::translate(
"PlaylistDock",
"Go to the start of this clip in the Project player",
nullptr));
359 #endif // QT_NO_TOOLTIP 360 #ifndef QT_NO_SHORTCUT 361 actionGoto->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+Return",
nullptr));
362 #endif // QT_NO_SHORTCUT 363 actionRemoveAll->setText(QApplication::translate(
"PlaylistDock",
"Remove All",
nullptr));
364 #ifndef QT_NO_TOOLTIP 365 actionRemoveAll->setToolTip(QApplication::translate(
"PlaylistDock",
"Remove all items from the playlist",
nullptr));
366 #endif // QT_NO_TOOLTIP 367 actionThumbnailsHidden->setText(QApplication::translate(
"PlaylistDock",
"Hidden",
nullptr));
368 actionLeftAndRight->setText(QApplication::translate(
"PlaylistDock",
"In and Out - Left/Right",
nullptr));
369 #ifndef QT_NO_TOOLTIP 370 actionLeftAndRight->setToolTip(QApplication::translate(
"PlaylistDock",
"In and Out - Left/Right",
nullptr));
371 #endif // QT_NO_TOOLTIP 372 actionTopAndBottom->setText(QApplication::translate(
"PlaylistDock",
"In and Out - Top/Bottom",
nullptr));
373 #ifndef QT_NO_TOOLTIP 374 actionTopAndBottom->setToolTip(QApplication::translate(
"PlaylistDock",
"In and Out - Top/Bottom",
nullptr));
375 #endif // QT_NO_TOOLTIP 376 actionInOnlySmall->setText(QApplication::translate(
"PlaylistDock",
"In Only - Small",
nullptr));
377 actionInOnlyLarge->setText(QApplication::translate(
"PlaylistDock",
"In Only - Large",
nullptr));
378 actionAddToTimeline->setText(QApplication::translate(
"PlaylistDock",
"Add Selected to Timeline",
nullptr));
379 actionSortByName->setText(QApplication::translate(
"PlaylistDock",
"Sort By Name",
nullptr));
380 actionSortByDate->setText(QApplication::translate(
"PlaylistDock",
"Sort By Date",
nullptr));
381 actionDetailed->setText(QApplication::translate(
"PlaylistDock",
"Details",
nullptr));
382 #ifndef QT_NO_TOOLTIP 383 actionDetailed->setToolTip(QApplication::translate(
"PlaylistDock",
"View as details",
nullptr));
384 #endif // QT_NO_TOOLTIP 385 actionTiled->setText(QApplication::translate(
"PlaylistDock",
"Tiles",
nullptr));
386 #ifndef QT_NO_TOOLTIP 387 actionTiled->setToolTip(QApplication::translate(
"PlaylistDock",
"View as tiles",
nullptr));
388 #endif // QT_NO_TOOLTIP 389 actionIcons->setText(QApplication::translate(
"PlaylistDock",
"Icons",
nullptr));
390 #ifndef QT_NO_TOOLTIP 391 actionIcons->setToolTip(QApplication::translate(
"PlaylistDock",
"View as icons",
nullptr));
392 #endif // QT_NO_TOOLTIP 393 actionCopy->setText(QApplication::translate(
"PlaylistDock",
"Copy",
nullptr));
394 #ifndef QT_NO_TOOLTIP 395 actionCopy->setToolTip(QApplication::translate(
"PlaylistDock",
"Open a copy of the clip in the Source player",
nullptr));
396 #endif // QT_NO_TOOLTIP 397 #ifndef QT_NO_SHORTCUT 398 actionCopy->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+C",
nullptr));
399 #endif // QT_NO_SHORTCUT 400 actionPlayAfterOpen->setText(QApplication::translate(
"PlaylistDock",
"Play After Open",
nullptr));
401 actionSelectAll->setText(QApplication::translate(
"PlaylistDock",
"Select All",
nullptr));
402 #ifndef QT_NO_SHORTCUT 403 actionSelectAll->setShortcut(QApplication::translate(
"PlaylistDock",
"Ctrl+Shift+A",
nullptr));
404 #endif // QT_NO_SHORTCUT 405 actionSelectNone->setText(QApplication::translate(
"PlaylistDock",
"Select None",
nullptr));
406 #ifndef QT_NO_SHORTCUT 407 actionSelectNone->setShortcut(QApplication::translate(
"PlaylistDock",
"Ctrl+Shift+D",
nullptr));
408 #endif // QT_NO_SHORTCUT 409 textBrowser->setHtml(QApplication::translate(
"PlaylistDock",
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 410 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 411 "p, li { white-space: pre-wrap; }\n" 412 "</style></head><body>\n" 413 "<p style=\" margin-top:12px; margin-bottom:16px; margin-left:-24px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Double-click</span> a playlist item to open it in the player.</p>\n" 414 "<p style=\" margin-top:0px; margin-bottom:16px; margin-left:-24px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">You can freely preview clips without necessarily adding them to the playlist or closing it.</p>\n" 415 "<p style=\" margin-top:0px; margin-bottom:16px; margin-left:-24px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">To trim or adjust a playlist item <span style=\" font-weight:600;\">Double-click</span> to open it, make the changes, and click the <span style=\" font-weight:600;\">Update</span> icon.</p>\n" 417 "yle=\" margin-top:0px; margin-bottom:16px; margin-left:-24px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Drag-n-drop</span> to rearrange the items.</p></body></html>",
nullptr));
418 #ifndef QT_NO_TOOLTIP 419 tableView->setToolTip(QApplication::translate(
"PlaylistDock",
"<html><head/><body><p>Double-click a playlist item to open it in the player.</p></body></html>",
nullptr));
420 #endif // QT_NO_TOOLTIP 421 #ifndef QT_NO_TOOLTIP 422 addButton->setToolTip(QApplication::translate(
"PlaylistDock",
"Add the Source to the playlist",
nullptr));
423 #endif // QT_NO_TOOLTIP 424 addButton->setText(QString());
425 #ifndef QT_NO_TOOLTIP 426 removeButton->setToolTip(QApplication::translate(
"PlaylistDock",
"Remove cut",
nullptr));
427 #endif // QT_NO_TOOLTIP 428 removeButton->setText(QString());
429 #ifndef QT_NO_TOOLTIP 430 updateButton->setToolTip(QApplication::translate(
"PlaylistDock",
"Update",
nullptr));
431 #endif // QT_NO_TOOLTIP 432 updateButton->setText(QString());
433 #ifndef QT_NO_TOOLTIP 434 tilesButton->setToolTip(QApplication::translate(
"PlaylistDock",
"View as tiles",
nullptr));
435 #endif // QT_NO_TOOLTIP 436 tilesButton->setText(QString());
437 #ifndef QT_NO_TOOLTIP 438 iconsButton->setToolTip(QApplication::translate(
"PlaylistDock",
"View as icons",
nullptr));
439 #endif // QT_NO_TOOLTIP 440 iconsButton->setText(QString());
441 #ifndef QT_NO_TOOLTIP 442 detailsButton->setToolTip(QApplication::translate(
"PlaylistDock",
"View as details",
nullptr));
443 #endif // QT_NO_TOOLTIP 444 detailsButton->setText(QString());
445 #ifndef QT_NO_TOOLTIP 446 menuButton->setToolTip(QApplication::translate(
"PlaylistDock",
"Display a menu of additional actions",
nullptr));
447 #endif // QT_NO_TOOLTIP 448 menuButton->setText(QString());
454 class PlaylistDock:
public Ui_PlaylistDock {};
459 #endif // UI_PLAYLISTDOCK_H