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 QAction *actionUpdateThumbnails;
59 QWidget *dockWidgetContents;
60 QVBoxLayout *verticalLayout;
61 QStackedWidget *stackedWidget;
63 QVBoxLayout *verticalLayout_2;
64 QTextBrowser *textBrowser;
66 QVBoxLayout *verticalLayout_3;
67 PlaylistTable *tableView;
68 PlaylistListView *listView;
69 QHBoxLayout *horizontalLayout;
70 QPushButton *addButton;
71 QPushButton *removeButton;
72 QPushButton *updateButton;
73 QPushButton *tilesButton;
74 QPushButton *iconsButton;
75 QPushButton *detailsButton;
76 QPushButton *menuButton;
77 QSpacerItem *horizontalSpacer;
79 void setupUi(QDockWidget *PlaylistDock)
81 if (PlaylistDock->objectName().isEmpty())
82 PlaylistDock->setObjectName(QString::fromUtf8(
"PlaylistDock"));
83 PlaylistDock->resize(460, 278);
85 QString iconThemeName = QString::fromUtf8(
"view-media-playlist");
86 if (QIcon::hasThemeIcon(iconThemeName)) {
87 icon = QIcon::fromTheme(iconThemeName);
89 icon.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-media-playlist.png"), QSize(), QIcon::Normal, QIcon::Off);
91 PlaylistDock->setWindowIcon(icon);
92 actionInsertCut =
new QAction(PlaylistDock);
93 actionInsertCut->setObjectName(QString::fromUtf8(
"actionInsertCut"));
94 actionAppendCut =
new QAction(PlaylistDock);
95 actionAppendCut->setObjectName(QString::fromUtf8(
"actionAppendCut"));
97 iconThemeName = QString::fromUtf8(
"list-add");
98 if (QIcon::hasThemeIcon(iconThemeName)) {
99 icon1 = QIcon::fromTheme(iconThemeName);
101 icon1.addFile(QString::fromUtf8(
"."), QSize(), QIcon::Normal, QIcon::Off);
103 actionAppendCut->setIcon(icon1);
104 actionInsertBlank =
new QAction(PlaylistDock);
105 actionInsertBlank->setObjectName(QString::fromUtf8(
"actionInsertBlank"));
106 actionAppendBlank =
new QAction(PlaylistDock);
107 actionAppendBlank->setObjectName(QString::fromUtf8(
"actionAppendBlank"));
108 actionUpdate =
new QAction(PlaylistDock);
109 actionUpdate->setObjectName(QString::fromUtf8(
"actionUpdate"));
110 actionOpen =
new QAction(PlaylistDock);
111 actionOpen->setObjectName(QString::fromUtf8(
"actionOpen"));
112 actionRemove =
new QAction(PlaylistDock);
113 actionRemove->setObjectName(QString::fromUtf8(
"actionRemove"));
114 actionSetFileDate =
new QAction(PlaylistDock);
115 actionSetFileDate->setObjectName(QString::fromUtf8(
"actionSetFileDate"));
116 actionGoto =
new QAction(PlaylistDock);
117 actionGoto->setObjectName(QString::fromUtf8(
"actionGoto"));
118 actionRemoveAll =
new QAction(PlaylistDock);
119 actionRemoveAll->setObjectName(QString::fromUtf8(
"actionRemoveAll"));
120 actionThumbnailsHidden =
new QAction(PlaylistDock);
121 actionThumbnailsHidden->setObjectName(QString::fromUtf8(
"actionThumbnailsHidden"));
122 actionThumbnailsHidden->setCheckable(
true);
123 actionLeftAndRight =
new QAction(PlaylistDock);
124 actionLeftAndRight->setObjectName(QString::fromUtf8(
"actionLeftAndRight"));
125 actionLeftAndRight->setCheckable(
true);
126 actionTopAndBottom =
new QAction(PlaylistDock);
127 actionTopAndBottom->setObjectName(QString::fromUtf8(
"actionTopAndBottom"));
128 actionTopAndBottom->setCheckable(
true);
129 actionInOnlySmall =
new QAction(PlaylistDock);
130 actionInOnlySmall->setObjectName(QString::fromUtf8(
"actionInOnlySmall"));
131 actionInOnlySmall->setCheckable(
true);
132 actionInOnlyLarge =
new QAction(PlaylistDock);
133 actionInOnlyLarge->setObjectName(QString::fromUtf8(
"actionInOnlyLarge"));
134 actionInOnlyLarge->setCheckable(
true);
135 actionAddToTimeline =
new QAction(PlaylistDock);
136 actionAddToTimeline->setObjectName(QString::fromUtf8(
"actionAddToTimeline"));
137 actionSortByName =
new QAction(PlaylistDock);
138 actionSortByName->setObjectName(QString::fromUtf8(
"actionSortByName"));
139 actionSortByDate =
new QAction(PlaylistDock);
140 actionSortByDate->setObjectName(QString::fromUtf8(
"actionSortByDate"));
141 actionDetailed =
new QAction(PlaylistDock);
142 actionDetailed->setObjectName(QString::fromUtf8(
"actionDetailed"));
143 actionDetailed->setCheckable(
true);
144 actionTiled =
new QAction(PlaylistDock);
145 actionTiled->setObjectName(QString::fromUtf8(
"actionTiled"));
146 actionTiled->setCheckable(
true);
147 actionIcons =
new QAction(PlaylistDock);
148 actionIcons->setObjectName(QString::fromUtf8(
"actionIcons"));
149 actionIcons->setCheckable(
true);
150 actionCopy =
new QAction(PlaylistDock);
151 actionCopy->setObjectName(QString::fromUtf8(
"actionCopy"));
152 actionPlayAfterOpen =
new QAction(PlaylistDock);
153 actionPlayAfterOpen->setObjectName(QString::fromUtf8(
"actionPlayAfterOpen"));
154 actionPlayAfterOpen->setCheckable(
true);
155 actionSelectAll =
new QAction(PlaylistDock);
156 actionSelectAll->setObjectName(QString::fromUtf8(
"actionSelectAll"));
157 actionSelectNone =
new QAction(PlaylistDock);
158 actionSelectNone->setObjectName(QString::fromUtf8(
"actionSelectNone"));
159 actionUpdateThumbnails =
new QAction(PlaylistDock);
160 actionUpdateThumbnails->setObjectName(QString::fromUtf8(
"actionUpdateThumbnails"));
161 dockWidgetContents =
new QWidget();
162 dockWidgetContents->setObjectName(QString::fromUtf8(
"dockWidgetContents"));
163 verticalLayout =
new QVBoxLayout(dockWidgetContents);
164 verticalLayout->setSpacing(0);
165 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
166 verticalLayout->setContentsMargins(0, 0, 0, 0);
167 stackedWidget =
new QStackedWidget(dockWidgetContents);
168 stackedWidget->setObjectName(QString::fromUtf8(
"stackedWidget"));
169 page =
new QWidget();
170 page->setObjectName(QString::fromUtf8(
"page"));
171 verticalLayout_2 =
new QVBoxLayout(page);
172 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
173 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
174 textBrowser =
new QTextBrowser(page);
175 textBrowser->setObjectName(QString::fromUtf8(
"textBrowser"));
177 verticalLayout_2->addWidget(textBrowser);
179 stackedWidget->addWidget(page);
180 page_2 =
new QWidget();
181 page_2->setObjectName(QString::fromUtf8(
"page_2"));
182 verticalLayout_3 =
new QVBoxLayout(page_2);
183 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
184 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
185 tableView =
new PlaylistTable(page_2);
186 tableView->setObjectName(QString::fromUtf8(
"tableView"));
187 tableView->setContextMenuPolicy(Qt::CustomContextMenu);
188 tableView->setDragEnabled(
false);
189 tableView->setAlternatingRowColors(
true);
190 tableView->setSelectionMode(QAbstractItemView::ExtendedSelection);
191 tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
192 tableView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
193 tableView->horizontalHeader()->setHighlightSections(
false);
194 tableView->verticalHeader()->setVisible(
false);
196 verticalLayout_3->addWidget(tableView);
198 listView =
new PlaylistListView(page_2);
199 listView->setObjectName(QString::fromUtf8(
"listView"));
200 listView->setContextMenuPolicy(Qt::CustomContextMenu);
201 listView->setSelectionMode(QAbstractItemView::ExtendedSelection);
202 listView->setMovement(QListView::Static);
204 verticalLayout_3->addWidget(listView);
206 stackedWidget->addWidget(page_2);
208 verticalLayout->addWidget(stackedWidget);
210 horizontalLayout =
new QHBoxLayout();
211 horizontalLayout->setSpacing(6);
212 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
213 addButton =
new QPushButton(dockWidgetContents);
214 addButton->setObjectName(QString::fromUtf8(
"addButton"));
215 addButton->setEnabled(
false);
217 iconThemeName = QString::fromUtf8(
"list-add");
218 if (QIcon::hasThemeIcon(iconThemeName)) {
219 icon2 = QIcon::fromTheme(iconThemeName);
221 icon2.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-add.png"), QSize(), QIcon::Normal, QIcon::Off);
223 addButton->setIcon(icon2);
225 horizontalLayout->addWidget(addButton);
227 removeButton =
new QPushButton(dockWidgetContents);
228 removeButton->setObjectName(QString::fromUtf8(
"removeButton"));
229 removeButton->setEnabled(
false);
231 iconThemeName = QString::fromUtf8(
"list-remove");
232 if (QIcon::hasThemeIcon(iconThemeName)) {
233 icon3 = QIcon::fromTheme(iconThemeName);
235 icon3.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/list-remove.png"), QSize(), QIcon::Normal, QIcon::Off);
237 removeButton->setIcon(icon3);
239 horizontalLayout->addWidget(removeButton);
241 updateButton =
new QPushButton(dockWidgetContents);
242 updateButton->setObjectName(QString::fromUtf8(
"updateButton"));
243 updateButton->setEnabled(
false);
245 iconThemeName = QString::fromUtf8(
"dialog-ok");
246 if (QIcon::hasThemeIcon(iconThemeName)) {
247 icon4 = QIcon::fromTheme(iconThemeName);
249 icon4.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/dialog-ok.png"), QSize(), QIcon::Normal, QIcon::Off);
251 updateButton->setIcon(icon4);
253 horizontalLayout->addWidget(updateButton);
255 tilesButton =
new QPushButton(dockWidgetContents);
256 tilesButton->setObjectName(QString::fromUtf8(
"tilesButton"));
258 iconThemeName = QString::fromUtf8(
"view-list-details");
259 if (QIcon::hasThemeIcon(iconThemeName)) {
260 icon5 = QIcon::fromTheme(iconThemeName);
262 icon5.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-details.png"), QSize(), QIcon::Normal, QIcon::Off);
264 tilesButton->setIcon(icon5);
266 horizontalLayout->addWidget(tilesButton);
268 iconsButton =
new QPushButton(dockWidgetContents);
269 iconsButton->setObjectName(QString::fromUtf8(
"iconsButton"));
271 iconThemeName = QString::fromUtf8(
"view-list-icons");
272 if (QIcon::hasThemeIcon(iconThemeName)) {
273 icon6 = QIcon::fromTheme(iconThemeName);
275 icon6.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-icons.png"), QSize(), QIcon::Normal, QIcon::Off);
277 iconsButton->setIcon(icon6);
279 horizontalLayout->addWidget(iconsButton);
281 detailsButton =
new QPushButton(dockWidgetContents);
282 detailsButton->setObjectName(QString::fromUtf8(
"detailsButton"));
284 iconThemeName = QString::fromUtf8(
"view-list-text");
285 if (QIcon::hasThemeIcon(iconThemeName)) {
286 icon7 = QIcon::fromTheme(iconThemeName);
288 icon7.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/view-list-text.png"), QSize(), QIcon::Normal, QIcon::Off);
290 detailsButton->setIcon(icon7);
292 horizontalLayout->addWidget(detailsButton);
294 menuButton =
new QPushButton(dockWidgetContents);
295 menuButton->setObjectName(QString::fromUtf8(
"menuButton"));
297 iconThemeName = QString::fromUtf8(
"format-justify-fill");
298 if (QIcon::hasThemeIcon(iconThemeName)) {
299 icon8 = QIcon::fromTheme(iconThemeName);
301 icon8.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/format-justify-fill.png"), QSize(), QIcon::Normal, QIcon::Off);
303 menuButton->setIcon(icon8);
305 horizontalLayout->addWidget(menuButton);
307 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
309 horizontalLayout->addItem(horizontalSpacer);
312 verticalLayout->addLayout(horizontalLayout);
314 PlaylistDock->setWidget(dockWidgetContents);
316 retranslateUi(PlaylistDock);
318 stackedWidget->setCurrentIndex(0);
321 QMetaObject::connectSlotsByName(PlaylistDock);
324 void retranslateUi(QDockWidget *PlaylistDock)
326 PlaylistDock->setWindowTitle(QApplication::translate(
"PlaylistDock",
"Playlist",
nullptr));
327 actionInsertCut->setText(QApplication::translate(
"PlaylistDock",
"Insert",
nullptr));
328 #ifndef QT_NO_TOOLTIP 329 actionInsertCut->setToolTip(QApplication::translate(
"PlaylistDock",
"Insert",
nullptr));
330 #endif // QT_NO_TOOLTIP 331 #ifndef QT_NO_SHORTCUT 332 actionInsertCut->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+V",
nullptr));
333 #endif // QT_NO_SHORTCUT 334 actionAppendCut->setText(QApplication::translate(
"PlaylistDock",
"Append",
nullptr));
335 #ifndef QT_NO_TOOLTIP 336 actionAppendCut->setToolTip(QApplication::translate(
"PlaylistDock",
"Append",
nullptr));
337 #endif // QT_NO_TOOLTIP 338 #ifndef QT_NO_SHORTCUT 339 actionAppendCut->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+A",
nullptr));
340 #endif // QT_NO_SHORTCUT 341 actionInsertBlank->setText(QApplication::translate(
"PlaylistDock",
"Insert Blank",
nullptr));
342 actionAppendBlank->setText(QApplication::translate(
"PlaylistDock",
"Append Blank",
nullptr));
343 actionUpdate->setText(QApplication::translate(
"PlaylistDock",
"Replace",
nullptr));
344 #ifndef QT_NO_SHORTCUT 345 actionUpdate->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+B",
nullptr));
346 #endif // QT_NO_SHORTCUT 347 actionOpen->setText(QApplication::translate(
"PlaylistDock",
"Open ",
nullptr));
348 #ifndef QT_NO_TOOLTIP 349 actionOpen->setToolTip(QApplication::translate(
"PlaylistDock",
"Open the clip in the Source player",
nullptr));
350 #endif // QT_NO_TOOLTIP 351 #ifndef QT_NO_SHORTCUT 352 actionOpen->setShortcut(QApplication::translate(
"PlaylistDock",
"Return",
nullptr));
353 #endif // QT_NO_SHORTCUT 354 actionRemove->setText(QApplication::translate(
"PlaylistDock",
"Remove",
nullptr));
355 #ifndef QT_NO_SHORTCUT 356 actionRemove->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+X",
nullptr));
357 #endif // QT_NO_SHORTCUT 358 actionSetFileDate->setText(QApplication::translate(
"PlaylistDock",
"Set Creation Time...",
nullptr));
359 actionGoto->setText(QApplication::translate(
"PlaylistDock",
"Goto",
nullptr));
360 #ifndef QT_NO_TOOLTIP 361 actionGoto->setToolTip(QApplication::translate(
"PlaylistDock",
"Go to the start of this clip in the Project player",
nullptr));
362 #endif // QT_NO_TOOLTIP 363 #ifndef QT_NO_SHORTCUT 364 actionGoto->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+Return",
nullptr));
365 #endif // QT_NO_SHORTCUT 366 actionRemoveAll->setText(QApplication::translate(
"PlaylistDock",
"Remove All",
nullptr));
367 #ifndef QT_NO_TOOLTIP 368 actionRemoveAll->setToolTip(QApplication::translate(
"PlaylistDock",
"Remove all items from the playlist",
nullptr));
369 #endif // QT_NO_TOOLTIP 370 actionThumbnailsHidden->setText(QApplication::translate(
"PlaylistDock",
"Hidden",
nullptr));
371 actionLeftAndRight->setText(QApplication::translate(
"PlaylistDock",
"In and Out - Left/Right",
nullptr));
372 #ifndef QT_NO_TOOLTIP 373 actionLeftAndRight->setToolTip(QApplication::translate(
"PlaylistDock",
"In and Out - Left/Right",
nullptr));
374 #endif // QT_NO_TOOLTIP 375 actionTopAndBottom->setText(QApplication::translate(
"PlaylistDock",
"In and Out - Top/Bottom",
nullptr));
376 #ifndef QT_NO_TOOLTIP 377 actionTopAndBottom->setToolTip(QApplication::translate(
"PlaylistDock",
"In and Out - Top/Bottom",
nullptr));
378 #endif // QT_NO_TOOLTIP 379 actionInOnlySmall->setText(QApplication::translate(
"PlaylistDock",
"In Only - Small",
nullptr));
380 actionInOnlyLarge->setText(QApplication::translate(
"PlaylistDock",
"In Only - Large",
nullptr));
381 actionAddToTimeline->setText(QApplication::translate(
"PlaylistDock",
"Add Selected to Timeline",
nullptr));
382 actionSortByName->setText(QApplication::translate(
"PlaylistDock",
"Sort By Name",
nullptr));
383 actionSortByDate->setText(QApplication::translate(
"PlaylistDock",
"Sort By Date",
nullptr));
384 actionDetailed->setText(QApplication::translate(
"PlaylistDock",
"Details",
nullptr));
385 #ifndef QT_NO_TOOLTIP 386 actionDetailed->setToolTip(QApplication::translate(
"PlaylistDock",
"View as details",
nullptr));
387 #endif // QT_NO_TOOLTIP 388 actionTiled->setText(QApplication::translate(
"PlaylistDock",
"Tiles",
nullptr));
389 #ifndef QT_NO_TOOLTIP 390 actionTiled->setToolTip(QApplication::translate(
"PlaylistDock",
"View as tiles",
nullptr));
391 #endif // QT_NO_TOOLTIP 392 actionIcons->setText(QApplication::translate(
"PlaylistDock",
"Icons",
nullptr));
393 #ifndef QT_NO_TOOLTIP 394 actionIcons->setToolTip(QApplication::translate(
"PlaylistDock",
"View as icons",
nullptr));
395 #endif // QT_NO_TOOLTIP 396 actionCopy->setText(QApplication::translate(
"PlaylistDock",
"Copy",
nullptr));
397 #ifndef QT_NO_TOOLTIP 398 actionCopy->setToolTip(QApplication::translate(
"PlaylistDock",
"Open a copy of the clip in the Source player",
nullptr));
399 #endif // QT_NO_TOOLTIP 400 #ifndef QT_NO_SHORTCUT 401 actionCopy->setShortcut(QApplication::translate(
"PlaylistDock",
"Shift+C",
nullptr));
402 #endif // QT_NO_SHORTCUT 403 actionPlayAfterOpen->setText(QApplication::translate(
"PlaylistDock",
"Play After Open",
nullptr));
404 actionSelectAll->setText(QApplication::translate(
"PlaylistDock",
"Select All",
nullptr));
405 #ifndef QT_NO_SHORTCUT 406 actionSelectAll->setShortcut(QApplication::translate(
"PlaylistDock",
"Ctrl+Shift+A",
nullptr));
407 #endif // QT_NO_SHORTCUT 408 actionSelectNone->setText(QApplication::translate(
"PlaylistDock",
"Select None",
nullptr));
409 #ifndef QT_NO_SHORTCUT 410 actionSelectNone->setShortcut(QApplication::translate(
"PlaylistDock",
"Ctrl+Shift+D",
nullptr));
411 #endif // QT_NO_SHORTCUT 412 actionUpdateThumbnails->setText(QApplication::translate(
"PlaylistDock",
"Update Thumbnails",
nullptr));
413 textBrowser->setHtml(QApplication::translate(
"PlaylistDock",
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 414 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 415 "p, li { white-space: pre-wrap; }\n" 416 "</style></head><body>\n" 417 "<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" 418 "<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" 419 "<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" 421 "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));
422 #ifndef QT_NO_TOOLTIP 423 tableView->setToolTip(QApplication::translate(
"PlaylistDock",
"<html><head/><body><p>Double-click a playlist item to open it in the player.</p></body></html>",
nullptr));
424 #endif // QT_NO_TOOLTIP 425 #ifndef QT_NO_TOOLTIP 426 addButton->setToolTip(QApplication::translate(
"PlaylistDock",
"Add the Source to the playlist",
nullptr));
427 #endif // QT_NO_TOOLTIP 428 addButton->setText(QString());
429 #ifndef QT_NO_TOOLTIP 430 removeButton->setToolTip(QApplication::translate(
"PlaylistDock",
"Remove cut",
nullptr));
431 #endif // QT_NO_TOOLTIP 432 removeButton->setText(QString());
433 #ifndef QT_NO_TOOLTIP 434 updateButton->setToolTip(QApplication::translate(
"PlaylistDock",
"Update",
nullptr));
435 #endif // QT_NO_TOOLTIP 436 updateButton->setText(QString());
437 #ifndef QT_NO_TOOLTIP 438 tilesButton->setToolTip(QApplication::translate(
"PlaylistDock",
"View as tiles",
nullptr));
439 #endif // QT_NO_TOOLTIP 440 tilesButton->setText(QString());
441 #ifndef QT_NO_TOOLTIP 442 iconsButton->setToolTip(QApplication::translate(
"PlaylistDock",
"View as icons",
nullptr));
443 #endif // QT_NO_TOOLTIP 444 iconsButton->setText(QString());
445 #ifndef QT_NO_TOOLTIP 446 detailsButton->setToolTip(QApplication::translate(
"PlaylistDock",
"View as details",
nullptr));
447 #endif // QT_NO_TOOLTIP 448 detailsButton->setText(QString());
449 #ifndef QT_NO_TOOLTIP 450 menuButton->setToolTip(QApplication::translate(
"PlaylistDock",
"Display a menu of additional actions",
nullptr));
451 #endif // QT_NO_TOOLTIP 452 menuButton->setText(QString());
458 class PlaylistDock:
public Ui_PlaylistDock {};
463 #endif // UI_PLAYLISTDOCK_H