9 #ifndef UI_CLOSEPLAYLISTPOPUP_H 10 #define UI_CLOSEPLAYLISTPOPUP_H 12 #include <QtCore/QLocale> 13 #include <QtCore/QVariant> 14 #include <QtWidgets/QAction> 15 #include <QtWidgets/QApplication> 16 #include <QtWidgets/QButtonGroup> 17 #include <QtWidgets/QCheckBox> 18 #include <QtWidgets/QDialog> 19 #include <QtWidgets/QDialogButtonBox> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QSpacerItem> 23 #include <QtWidgets/QVBoxLayout> 38 if (ClosePlaylistPopup->objectName().isEmpty())
39 ClosePlaylistPopup->setObjectName(QStringLiteral(
"ClosePlaylistPopup"));
40 ClosePlaylistPopup->setWindowModality(Qt::ApplicationModal);
41 ClosePlaylistPopup->resize(440, 124);
42 ClosePlaylistPopup->setLocale(QLocale(QLocale::English, QLocale::UnitedStates));
43 vboxLayout =
new QVBoxLayout(ClosePlaylistPopup);
44 vboxLayout->setObjectName(QStringLiteral(
"vboxLayout"));
45 labelPlaylist =
new QLabel(ClosePlaylistPopup);
46 labelPlaylist->setObjectName(QStringLiteral(
"labelPlaylist"));
48 font.setPointSize(10);
49 labelPlaylist->setFont(font);
50 labelPlaylist->setWordWrap(
true);
52 vboxLayout->addWidget(labelPlaylist);
54 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
56 vboxLayout->addItem(verticalSpacer);
58 buttonBox =
new QDialogButtonBox(ClosePlaylistPopup);
59 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
60 buttonBox->setOrientation(Qt::Horizontal);
61 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Discard|QDialogButtonBox::Save);
62 buttonBox->setCenterButtons(
true);
64 vboxLayout->addWidget(buttonBox);
66 checkBoxRememberChoice =
new QCheckBox(ClosePlaylistPopup);
67 checkBoxRememberChoice->setObjectName(QStringLiteral(
"checkBoxRememberChoice"));
69 vboxLayout->addWidget(checkBoxRememberChoice);
73 QObject::connect(buttonBox, SIGNAL(accepted()), ClosePlaylistPopup, SLOT(accept()));
74 QObject::connect(buttonBox, SIGNAL(rejected()), ClosePlaylistPopup, SLOT(reject()));
76 QMetaObject::connectSlotsByName(ClosePlaylistPopup);
81 ClosePlaylistPopup->setWindowTitle(QApplication::translate(
"ClosePlaylistPopup",
"Your attention is required", 0));
82 labelPlaylist->setText(QApplication::translate(
"ClosePlaylistPopup",
"You're about to close a playlist. What would you like to do?", 0));
84 checkBoxRememberChoice->setToolTip(QApplication::translate(
"ClosePlaylistPopup",
"This can be changed in options", 0));
85 #endif // QT_NO_TOOLTIP 86 checkBoxRememberChoice->setText(QApplication::translate(
"ClosePlaylistPopup",
"Remember my choice in the future", 0));
97 #endif // UI_CLOSEPLAYLISTPOPUP_H
Definition: ui_matchingrecords.h:88