9 #ifndef UI_GUI_DELETEDIALOG_H
10 #define UI_GUI_DELETEDIALOG_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QDialog>
15 #include <QtWidgets/QGridLayout>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QPushButton>
19 #include <QtWidgets/QSpacerItem>
26 QGridLayout *gridLayout;
30 QHBoxLayout *horizontalLayout;
31 QSpacerItem *horizontalSpacer;
32 QPushButton *btn_only_from_library;
43 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
44 gridLayout->setHorizontalSpacing(10);
46 lab_warning->setObjectName(QString::fromUtf8(
"lab_warning"));
50 lab_warning->setFont(font);
51 lab_warning->setText(QString::fromUtf8(
"Delete"));
53 gridLayout->addWidget(lab_warning, 0, 1, 1, 1);
56 lab_info->setObjectName(QString::fromUtf8(
"lab_info"));
57 lab_info->setText(QString::fromUtf8(
"TextLabel"));
59 gridLayout->addWidget(lab_info, 1, 1, 1, 1);
62 lab_icon->setObjectName(QString::fromUtf8(
"lab_icon"));
63 lab_icon->setStyleSheet(QString::fromUtf8(
"min-width: 10ex; min-height: 10ex; max-height: 10ex; max-width: 10ex;"));
64 lab_icon->setScaledContents(
true);
66 gridLayout->addWidget(lab_icon, 0, 0, 2, 1);
68 horizontalLayout =
new QHBoxLayout();
69 horizontalLayout->setSpacing(6);
70 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
71 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
73 horizontalLayout->addItem(horizontalSpacer);
76 btn_only_from_library->setObjectName(QString::fromUtf8(
"btn_only_from_library"));
77 btn_only_from_library->setText(QString::fromUtf8(
"Only from library"));
79 horizontalLayout->addWidget(btn_only_from_library);
82 btn_yes->setObjectName(QString::fromUtf8(
"btn_yes"));
83 btn_yes->setText(QString::fromUtf8(
"Yes"));
85 horizontalLayout->addWidget(btn_yes);
88 btn_no->setObjectName(QString::fromUtf8(
"btn_no"));
89 btn_no->setText(QString::fromUtf8(
"No"));
91 horizontalLayout->addWidget(btn_no);
94 gridLayout->addLayout(horizontalLayout, 2, 0, 1, 2);
104 lab_icon->setText(QString());
116 #endif // UI_GUI_DELETEDIALOG_H