9 #ifndef UI_GUI_EMPTYLIBRARY_H 10 #define UI_GUI_EMPTYLIBRARY_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QFrame> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QProgressBar> 20 #include <QtWidgets/QPushButton> 21 #include <QtWidgets/QSpacerItem> 22 #include <QtWidgets/QWidget> 29 QGridLayout *gridLayout;
30 QPushButton *btn_setLibrary;
32 QHBoxLayout *horizontalLayout;
34 QSpacerItem *horizontalSpacer_3;
35 QSpacerItem *horizontalSpacer;
36 QSpacerItem *horizontalSpacer_2;
37 QSpacerItem *verticalSpacer_2;
38 QProgressBar *pb_progress;
39 QSpacerItem *verticalSpacer;
43 void setupUi(QWidget *GUI_EmptyLibrary)
45 if (GUI_EmptyLibrary->objectName().isEmpty())
46 GUI_EmptyLibrary->setObjectName(QStringLiteral(
"GUI_EmptyLibrary"));
47 GUI_EmptyLibrary->resize(989, 652);
48 gridLayout =
new QGridLayout(GUI_EmptyLibrary);
49 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
50 btn_setLibrary =
new QPushButton(GUI_EmptyLibrary);
51 btn_setLibrary->setObjectName(QStringLiteral(
"btn_setLibrary"));
52 btn_setLibrary->setFocusPolicy(Qt::NoFocus);
54 icon.addFile(QStringLiteral(
":/Icons/icons/import.svg.png"), QSize(), QIcon::Normal, QIcon::Off);
55 btn_setLibrary->setIcon(icon);
57 gridLayout->addWidget(btn_setLibrary, 5, 1, 1, 1);
59 label =
new QLabel(GUI_EmptyLibrary);
60 label->setObjectName(QStringLiteral(
"label"));
61 QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
62 sizePolicy.setHorizontalStretch(0);
63 sizePolicy.setVerticalStretch(0);
64 sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
65 label->setSizePolicy(sizePolicy);
66 label->setAlignment(Qt::AlignCenter);
68 gridLayout->addWidget(label, 3, 1, 1, 1);
70 horizontalLayout =
new QHBoxLayout();
71 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
72 header_frame =
new QFrame(GUI_EmptyLibrary);
73 header_frame->setObjectName(QStringLiteral(
"header_frame"));
74 header_frame->setFrameShape(QFrame::StyledPanel);
75 header_frame->setFrameShadow(QFrame::Raised);
77 horizontalLayout->addWidget(header_frame);
79 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
81 horizontalLayout->addItem(horizontalSpacer_3);
84 gridLayout->addLayout(horizontalLayout, 0, 0, 1, 3);
86 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
88 gridLayout->addItem(horizontalSpacer, 5, 0, 1, 1);
90 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
92 gridLayout->addItem(horizontalSpacer_2, 5, 2, 1, 1);
94 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
96 gridLayout->addItem(verticalSpacer_2, 7, 1, 1, 1);
98 pb_progress =
new QProgressBar(GUI_EmptyLibrary);
99 pb_progress->setObjectName(QStringLiteral(
"pb_progress"));
100 pb_progress->setValue(24);
102 gridLayout->addWidget(pb_progress, 9, 1, 1, 1);
104 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
106 gridLayout->addItem(verticalSpacer, 2, 1, 1, 1);
108 line =
new QFrame(GUI_EmptyLibrary);
109 line->setObjectName(QStringLiteral(
"line"));
110 line->setFrameShape(QFrame::HLine);
111 line->setFrameShadow(QFrame::Sunken);
113 gridLayout->addWidget(line, 1, 0, 1, 3);
115 line_2 =
new QFrame(GUI_EmptyLibrary);
116 line_2->setObjectName(QStringLiteral(
"line_2"));
117 line_2->setFrameShape(QFrame::HLine);
118 line_2->setFrameShadow(QFrame::Sunken);
120 gridLayout->addWidget(line_2, 8, 0, 1, 3);
123 retranslateUi(GUI_EmptyLibrary);
125 QMetaObject::connectSlotsByName(GUI_EmptyLibrary);
128 void retranslateUi(QWidget *GUI_EmptyLibrary)
130 btn_setLibrary->setText(QApplication::translate(
"GUI_EmptyLibrary",
"Set library path",
nullptr));
131 label->setText(QApplication::translate(
"GUI_EmptyLibrary",
"You haven't specified a library path yet",
nullptr));
132 Q_UNUSED(GUI_EmptyLibrary);
143 #endif // UI_GUI_EMPTYLIBRARY_H Definition: ui_GUI_SomaFM.h:206
Definition: ui_GUI_EmptyLibrary.h:26
Definition: ui_GUI_EmptyLibrary.h:138