9 #ifndef UI_GUI_LASTFMPREFERENCES_H 10 #define UI_GUI_LASTFMPREFERENCES_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QGridLayout> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QLineEdit> 19 #include <QtWidgets/QPushButton> 20 #include <QtWidgets/QSpacerItem> 21 #include <QtWidgets/QSpinBox> 22 #include <QtWidgets/QWidget> 29 QGridLayout *gridLayout;
33 QCheckBox *cb_activate;
35 QSpinBox *sb_scrobble_time;
37 QHBoxLayout *horizontalLayout;
39 QSpacerItem *horizontalSpacer;
40 QPushButton *btn_login;
41 QLineEdit *tf_password;
42 QLineEdit *tf_username;
50 gridLayout->setSpacing(10);
51 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
53 lab_activate->setObjectName(QString::fromUtf8(
"lab_activate"));
54 lab_activate->setText(QString::fromUtf8(
"Active"));
56 gridLayout->addWidget(lab_activate, 1, 0, 1, 1);
59 label_2->setObjectName(QString::fromUtf8(
"label_2"));
61 gridLayout->addWidget(label_2, 2, 0, 1, 1);
64 label_3->setObjectName(QString::fromUtf8(
"label_3"));
66 gridLayout->addWidget(label_3, 3, 0, 1, 1);
69 cb_activate->setObjectName(QString::fromUtf8(
"cb_activate"));
70 cb_activate->setFocusPolicy(Qt::StrongFocus);
71 cb_activate->setLayoutDirection(Qt::LeftToRight);
73 gridLayout->addWidget(cb_activate, 1, 1, 1, 1);
76 label->setObjectName(QString::fromUtf8(
"label"));
78 gridLayout->addWidget(label, 4, 0, 1, 1);
81 sb_scrobble_time->setObjectName(QString::fromUtf8(
"sb_scrobble_time"));
82 sb_scrobble_time->setMinimum(5);
83 sb_scrobble_time->setValue(10);
85 gridLayout->addWidget(sb_scrobble_time, 4, 1, 1, 1);
88 lab_sec->setObjectName(QString::fromUtf8(
"lab_sec"));
89 lab_sec->setText(QString::fromUtf8(
"sec"));
91 gridLayout->addWidget(lab_sec, 4, 2, 1, 1);
93 horizontalLayout =
new QHBoxLayout();
94 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
96 lab_status->setObjectName(QString::fromUtf8(
"lab_status"));
98 horizontalLayout->addWidget(lab_status);
100 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
102 horizontalLayout->addItem(horizontalSpacer);
105 btn_login->setObjectName(QString::fromUtf8(
"btn_login"));
107 horizontalLayout->addWidget(btn_login);
110 gridLayout->addLayout(horizontalLayout, 5, 0, 1, 3);
113 tf_password->setObjectName(QString::fromUtf8(
"tf_password"));
114 tf_password->setEchoMode(QLineEdit::Password);
116 gridLayout->addWidget(tf_password, 3, 1, 1, 2);
119 tf_username->setObjectName(QString::fromUtf8(
"tf_username"));
121 gridLayout->addWidget(tf_username, 2, 1, 1, 2);
123 QWidget::setTabOrder(cb_activate, tf_username);
124 QWidget::setTabOrder(tf_username, tf_password);
125 QWidget::setTabOrder(tf_password, sb_scrobble_time);
126 QWidget::setTabOrder(sb_scrobble_time, btn_login);
135 label_2->setText(QApplication::translate(
"GUI_LastFmPreferences",
"Username",
nullptr));
136 label_3->setText(QApplication::translate(
"GUI_LastFmPreferences",
"Password",
nullptr));
137 cb_activate->setText(QString());
138 label->setText(QApplication::translate(
"GUI_LastFmPreferences",
"Scrobble after",
nullptr));
139 lab_status->setText(QString());
140 btn_login->setText(QApplication::translate(
"GUI_LastFmPreferences",
"Login now",
nullptr));
152 #endif // UI_GUI_LASTFMPREFERENCES_H Definition: ui_GUI_LastFmPreferences.h:147
Definition: GUI_LastFmPreferences.h:42
Definition: ui_GUI_LastFmPreferences.h:26