9 #ifndef UI_GUI_LASTFM_H 10 #define UI_GUI_LASTFM_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QHeaderView> 20 #include <QtWidgets/QLabel> 21 #include <QtWidgets/QLineEdit> 22 #include <QtWidgets/QPushButton> 23 #include <QtWidgets/QSpacerItem> 24 #include <QtWidgets/QSpinBox> 25 #include <QtWidgets/QWidget> 32 QGridLayout *gridLayout;
36 QCheckBox *cb_activate;
38 QSpinBox *sb_scrobble_time;
40 QHBoxLayout *horizontalLayout;
42 QSpacerItem *horizontalSpacer;
43 QPushButton *btn_login;
44 QLineEdit *tf_password;
45 QLineEdit *tf_username;
49 if (GUI_LastFM->objectName().isEmpty())
50 GUI_LastFM->setObjectName(QStringLiteral(
"GUI_LastFM"));
51 GUI_LastFM->resize(457, 189);
52 gridLayout =
new QGridLayout(GUI_LastFM);
53 gridLayout->setSpacing(10);
54 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
55 lab_activate =
new QLabel(GUI_LastFM);
56 lab_activate->setObjectName(QStringLiteral(
"lab_activate"));
57 lab_activate->setText(QStringLiteral(
"Active"));
59 gridLayout->addWidget(lab_activate, 1, 0, 1, 1);
61 label_2 =
new QLabel(GUI_LastFM);
62 label_2->setObjectName(QStringLiteral(
"label_2"));
64 gridLayout->addWidget(label_2, 2, 0, 1, 1);
66 label_3 =
new QLabel(GUI_LastFM);
67 label_3->setObjectName(QStringLiteral(
"label_3"));
69 gridLayout->addWidget(label_3, 3, 0, 1, 1);
71 cb_activate =
new QCheckBox(GUI_LastFM);
72 cb_activate->setObjectName(QStringLiteral(
"cb_activate"));
73 cb_activate->setFocusPolicy(Qt::StrongFocus);
74 cb_activate->setLayoutDirection(Qt::LeftToRight);
76 gridLayout->addWidget(cb_activate, 1, 1, 1, 1);
78 label =
new QLabel(GUI_LastFM);
79 label->setObjectName(QStringLiteral(
"label"));
81 gridLayout->addWidget(label, 4, 0, 1, 1);
83 sb_scrobble_time =
new QSpinBox(GUI_LastFM);
84 sb_scrobble_time->setObjectName(QStringLiteral(
"sb_scrobble_time"));
85 sb_scrobble_time->setMinimum(5);
86 sb_scrobble_time->setValue(10);
88 gridLayout->addWidget(sb_scrobble_time, 4, 1, 1, 1);
90 lab_sec =
new QLabel(GUI_LastFM);
91 lab_sec->setObjectName(QStringLiteral(
"lab_sec"));
92 lab_sec->setText(QStringLiteral(
"sec"));
94 gridLayout->addWidget(lab_sec, 4, 2, 1, 1);
96 horizontalLayout =
new QHBoxLayout();
97 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
98 lab_status =
new QLabel(GUI_LastFM);
99 lab_status->setObjectName(QStringLiteral(
"lab_status"));
101 horizontalLayout->addWidget(lab_status);
103 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
105 horizontalLayout->addItem(horizontalSpacer);
107 btn_login =
new QPushButton(GUI_LastFM);
108 btn_login->setObjectName(QStringLiteral(
"btn_login"));
110 horizontalLayout->addWidget(btn_login);
113 gridLayout->addLayout(horizontalLayout, 5, 0, 1, 3);
115 tf_password =
new QLineEdit(GUI_LastFM);
116 tf_password->setObjectName(QStringLiteral(
"tf_password"));
117 tf_password->setEchoMode(QLineEdit::Password);
119 gridLayout->addWidget(tf_password, 3, 1, 1, 2);
121 tf_username =
new QLineEdit(GUI_LastFM);
122 tf_username->setObjectName(QStringLiteral(
"tf_username"));
124 gridLayout->addWidget(tf_username, 2, 1, 1, 2);
127 retranslateUi(GUI_LastFM);
129 QMetaObject::connectSlotsByName(GUI_LastFM);
132 void retranslateUi(QWidget *GUI_LastFM)
134 label_2->setText(QApplication::translate(
"GUI_LastFM",
"Username", Q_NULLPTR));
135 label_3->setText(QApplication::translate(
"GUI_LastFM",
"Password", Q_NULLPTR));
136 cb_activate->setText(QString());
137 label->setText(QApplication::translate(
"GUI_LastFM",
"Scrobble after", Q_NULLPTR));
138 lab_status->setText(QString());
139 btn_login->setText(QApplication::translate(
"GUI_LastFM",
"Login now", Q_NULLPTR));
140 Q_UNUSED(GUI_LastFM);
151 #endif // UI_GUI_LASTFM_H Definition: ui_GUI_SomaFM.h:208
Definition: ui_GUI_LastFM.h:29
Definition: GUI_LastFM.h:42
Definition: ui_GUI_LastFM.h:146