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, 177);
52 gridLayout =
new QGridLayout(GUI_LastFM);
53 gridLayout->setSpacing(10);
54 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
55 label_4 =
new QLabel(GUI_LastFM);
56 label_4->setObjectName(QStringLiteral(
"label_4"));
58 gridLayout->addWidget(label_4, 1, 0, 1, 1);
60 label_2 =
new QLabel(GUI_LastFM);
61 label_2->setObjectName(QStringLiteral(
"label_2"));
63 gridLayout->addWidget(label_2, 2, 0, 1, 1);
65 label_3 =
new QLabel(GUI_LastFM);
66 label_3->setObjectName(QStringLiteral(
"label_3"));
68 gridLayout->addWidget(label_3, 3, 0, 1, 1);
70 cb_activate =
new QCheckBox(GUI_LastFM);
71 cb_activate->setObjectName(QStringLiteral(
"cb_activate"));
72 cb_activate->setFocusPolicy(Qt::StrongFocus);
73 cb_activate->setLayoutDirection(Qt::LeftToRight);
75 gridLayout->addWidget(cb_activate, 1, 1, 1, 1);
77 label =
new QLabel(GUI_LastFM);
78 label->setObjectName(QStringLiteral(
"label"));
80 gridLayout->addWidget(label, 4, 0, 1, 1);
82 sb_scrobble_time =
new QSpinBox(GUI_LastFM);
83 sb_scrobble_time->setObjectName(QStringLiteral(
"sb_scrobble_time"));
84 sb_scrobble_time->setMinimum(5);
85 sb_scrobble_time->setValue(10);
87 gridLayout->addWidget(sb_scrobble_time, 4, 1, 1, 1);
89 label_5 =
new QLabel(GUI_LastFM);
90 label_5->setObjectName(QStringLiteral(
"label_5"));
92 gridLayout->addWidget(label_5, 4, 2, 1, 1);
94 horizontalLayout =
new QHBoxLayout();
95 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
96 lab_status =
new QLabel(GUI_LastFM);
97 lab_status->setObjectName(QStringLiteral(
"lab_status"));
99 horizontalLayout->addWidget(lab_status);
101 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
103 horizontalLayout->addItem(horizontalSpacer);
105 btn_login =
new QPushButton(GUI_LastFM);
106 btn_login->setObjectName(QStringLiteral(
"btn_login"));
108 horizontalLayout->addWidget(btn_login);
111 gridLayout->addLayout(horizontalLayout, 5, 0, 1, 3);
113 tf_password =
new QLineEdit(GUI_LastFM);
114 tf_password->setObjectName(QStringLiteral(
"tf_password"));
115 tf_password->setEchoMode(QLineEdit::Password);
117 gridLayout->addWidget(tf_password, 3, 1, 1, 2);
119 tf_username =
new QLineEdit(GUI_LastFM);
120 tf_username->setObjectName(QStringLiteral(
"tf_username"));
122 gridLayout->addWidget(tf_username, 2, 1, 1, 2);
125 retranslateUi(GUI_LastFM);
127 QMetaObject::connectSlotsByName(GUI_LastFM);
130 void retranslateUi(QWidget *GUI_LastFM)
132 label_4->setText(QApplication::translate(
"GUI_LastFM",
"Activate", Q_NULLPTR));
133 label_2->setText(QApplication::translate(
"GUI_LastFM",
"Username", Q_NULLPTR));
134 label_3->setText(QApplication::translate(
"GUI_LastFM",
"Password", Q_NULLPTR));
135 cb_activate->setText(QString());
136 label->setText(QApplication::translate(
"GUI_LastFM",
"Scrobble after", Q_NULLPTR));
137 label_5->setText(QApplication::translate(
"GUI_LastFM",
"sec", 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:217
Definition: ui_GUI_LastFM.h:29
Definition: GUI_LastFM.h:37
Definition: ui_GUI_LastFM.h:146