9 #ifndef UI_GUI_FONTCONFIG_H 10 #define UI_GUI_FONTCONFIG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QFontComboBox> 18 #include <QtWidgets/QFrame> 19 #include <QtWidgets/QGridLayout> 20 #include <QtWidgets/QHBoxLayout> 21 #include <QtWidgets/QHeaderView> 22 #include <QtWidgets/QLabel> 23 #include <QtWidgets/QPushButton> 24 #include <QtWidgets/QSpacerItem> 25 #include <QtWidgets/QWidget> 26 #include "GUI/Utils/Widgets/ComboBox.h" 33 QGridLayout *gridLayout;
41 QCheckBox *cb_lib_bold;
46 QHBoxLayout *horizontalLayout;
47 QSpacerItem *horizontalSpacer;
48 QPushButton *btn_default;
51 QFontComboBox *combo_fonts;
55 if (GUI_FontConfig->objectName().isEmpty())
56 GUI_FontConfig->setObjectName(QStringLiteral(
"GUI_FontConfig"));
57 GUI_FontConfig->resize(400, 316);
58 gridLayout =
new QGridLayout(GUI_FontConfig);
59 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
60 label_7 =
new QLabel(GUI_FontConfig);
61 label_7->setObjectName(QStringLiteral(
"label_7"));
63 gridLayout->addWidget(label_7, 8, 0, 1, 1);
66 combo_lib_size->setObjectName(QStringLiteral(
"combo_lib_size"));
68 gridLayout->addWidget(combo_lib_size, 7, 1, 1, 1);
70 lab_playlist =
new QLabel(GUI_FontConfig);
71 lab_playlist->setObjectName(QStringLiteral(
"lab_playlist"));
73 font.setPointSize(11);
76 lab_playlist->setFont(font);
77 lab_playlist->setText(QStringLiteral(
"Playlist"));
79 gridLayout->addWidget(lab_playlist, 10, 0, 1, 1);
81 lab_library =
new QLabel(GUI_FontConfig);
82 lab_library->setObjectName(QStringLiteral(
"lab_library"));
83 lab_library->setFont(font);
84 lab_library->setText(QStringLiteral(
"Library"));
86 gridLayout->addWidget(lab_library, 5, 0, 1, 1);
89 combo_pl_size->setObjectName(QStringLiteral(
"combo_pl_size"));
91 gridLayout->addWidget(combo_pl_size, 11, 1, 1, 1);
93 label_5 =
new QLabel(GUI_FontConfig);
94 label_5->setObjectName(QStringLiteral(
"label_5"));
96 gridLayout->addWidget(label_5, 7, 0, 1, 1);
98 label =
new QLabel(GUI_FontConfig);
99 label->setObjectName(QStringLiteral(
"label"));
101 gridLayout->addWidget(label, 1, 0, 1, 1);
103 cb_lib_bold =
new QCheckBox(GUI_FontConfig);
104 cb_lib_bold->setObjectName(QStringLiteral(
"cb_lib_bold"));
106 gridLayout->addWidget(cb_lib_bold, 8, 1, 1, 1);
108 line_2 =
new QFrame(GUI_FontConfig);
109 line_2->setObjectName(QStringLiteral(
"line_2"));
110 line_2->setFrameShape(QFrame::HLine);
111 line_2->setFrameShadow(QFrame::Sunken);
113 gridLayout->addWidget(line_2, 9, 0, 1, 2);
115 line_4 =
new QFrame(GUI_FontConfig);
116 line_4->setObjectName(QStringLiteral(
"line_4"));
117 line_4->setFrameShape(QFrame::HLine);
118 line_4->setFrameShadow(QFrame::Sunken);
120 gridLayout->addWidget(line_4, 12, 0, 1, 2);
122 label_6 =
new QLabel(GUI_FontConfig);
123 label_6->setObjectName(QStringLiteral(
"label_6"));
125 gridLayout->addWidget(label_6, 11, 0, 1, 1);
127 label_2 =
new QLabel(GUI_FontConfig);
128 label_2->setObjectName(QStringLiteral(
"label_2"));
130 gridLayout->addWidget(label_2, 0, 0, 1, 1);
132 horizontalLayout =
new QHBoxLayout();
133 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
134 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
136 horizontalLayout->addItem(horizontalSpacer);
138 btn_default =
new QPushButton(GUI_FontConfig);
139 btn_default->setObjectName(QStringLiteral(
"btn_default"));
140 btn_default->setText(QStringLiteral(
"Default"));
142 horizontalLayout->addWidget(btn_default);
145 gridLayout->addLayout(horizontalLayout, 13, 0, 4, 2);
147 line_3 =
new QFrame(GUI_FontConfig);
148 line_3->setObjectName(QStringLiteral(
"line_3"));
149 line_3->setFrameShape(QFrame::HLine);
150 line_3->setFrameShadow(QFrame::Sunken);
152 gridLayout->addWidget(line_3, 2, 0, 1, 2);
155 combo_sizes->setObjectName(QStringLiteral(
"combo_sizes"));
157 gridLayout->addWidget(combo_sizes, 1, 1, 1, 1);
159 combo_fonts =
new QFontComboBox(GUI_FontConfig);
160 combo_fonts->setObjectName(QStringLiteral(
"combo_fonts"));
162 gridLayout->addWidget(combo_fonts, 0, 1, 1, 1);
165 retranslateUi(GUI_FontConfig);
167 QMetaObject::connectSlotsByName(GUI_FontConfig);
170 void retranslateUi(QWidget *GUI_FontConfig)
172 label_7->setText(QApplication::translate(
"GUI_FontConfig",
"Bold", Q_NULLPTR));
173 label_5->setText(QApplication::translate(
"GUI_FontConfig",
"Font size", Q_NULLPTR));
174 label->setText(QApplication::translate(
"GUI_FontConfig",
"Font size", Q_NULLPTR));
175 cb_lib_bold->setText(QString());
176 label_6->setText(QApplication::translate(
"GUI_FontConfig",
"Font size", Q_NULLPTR));
177 label_2->setText(QApplication::translate(
"GUI_FontConfig",
"Font name", Q_NULLPTR));
178 Q_UNUSED(GUI_FontConfig);
189 #endif // UI_GUI_FONTCONFIG_H Definition: ui_GUI_SomaFM.h:208
Definition: ui_GUI_FontConfig.h:30
Definition: ui_GUI_FontConfig.h:184
Definition: GUI_FontConfig.h:31
Definition: ComboBox.h:31