9 #ifndef UI_GUI_SHORTCUTENTRY_H 10 #define UI_GUI_SHORTCUTENTRY_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QHeaderView> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QPushButton> 20 #include <QtWidgets/QWidget> 21 #include "GUI/Preferences/Shortcuts/ShortcutLineEdit.h" 28 QHBoxLayout *horizontalLayout;
29 QLabel *lab_description;
31 QPushButton *btn_edit;
32 QPushButton *btn_default;
33 QPushButton *btn_test;
37 if (GUI_ShortcutEntry->objectName().isEmpty())
38 GUI_ShortcutEntry->setObjectName(QStringLiteral(
"GUI_ShortcutEntry"));
39 GUI_ShortcutEntry->resize(646, 35);
40 horizontalLayout =
new QHBoxLayout(GUI_ShortcutEntry);
41 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
42 horizontalLayout->setContentsMargins(-1, 4, -1, 4);
43 lab_description =
new QLabel(GUI_ShortcutEntry);
44 lab_description->setObjectName(QStringLiteral(
"lab_description"));
45 lab_description->setMinimumSize(QSize(200, 0));
47 horizontalLayout->addWidget(lab_description);
50 le_entry->setObjectName(QStringLiteral(
"le_entry"));
52 horizontalLayout->addWidget(le_entry);
54 btn_edit =
new QPushButton(GUI_ShortcutEntry);
55 btn_edit->setObjectName(QStringLiteral(
"btn_edit"));
56 btn_edit->setMinimumSize(QSize(24, 24));
57 btn_edit->setMaximumSize(QSize(24, 24));
58 btn_edit->setIconSize(QSize(20, 20));
59 btn_edit->setFlat(
true);
61 horizontalLayout->addWidget(btn_edit);
63 btn_default =
new QPushButton(GUI_ShortcutEntry);
64 btn_default->setObjectName(QStringLiteral(
"btn_default"));
65 btn_default->setMinimumSize(QSize(24, 24));
66 btn_default->setMaximumSize(QSize(24, 24));
67 btn_default->setIconSize(QSize(20, 20));
68 btn_default->setFlat(
true);
70 horizontalLayout->addWidget(btn_default);
72 btn_test =
new QPushButton(GUI_ShortcutEntry);
73 btn_test->setObjectName(QStringLiteral(
"btn_test"));
74 btn_test->setMinimumSize(QSize(24, 24));
75 btn_test->setMaximumSize(QSize(24, 24));
76 btn_test->setIconSize(QSize(20, 20));
77 btn_test->setFlat(
true);
79 horizontalLayout->addWidget(btn_test);
82 retranslateUi(GUI_ShortcutEntry);
84 QMetaObject::connectSlotsByName(GUI_ShortcutEntry);
87 void retranslateUi(QWidget *GUI_ShortcutEntry)
89 lab_description->setText(QString());
90 btn_edit->setText(QString());
91 btn_default->setText(QString());
92 btn_test->setText(QString());
93 Q_UNUSED(GUI_ShortcutEntry);
104 #endif // UI_GUI_SHORTCUTENTRY_H The delegate class for displaying a shortcut.
Definition: GUI_ShortcutEntry.h:38
The ShortcutLineEdit class.
Definition: ShortcutLineEdit.h:30
Definition: ui_GUI_SomaFM.h:208
Definition: ui_GUI_ShortcutEntry.h:99
Definition: ui_GUI_ShortcutEntry.h:25