9 #ifndef UI_KBBINDWIDGET_H
10 #define UI_KBBINDWIDGET_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QFrame>
17 #include <QtWidgets/QGridLayout>
18 #include <QtWidgets/QHBoxLayout>
19 #include <QtWidgets/QHeaderView>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QPushButton>
22 #include <QtWidgets/QSpacerItem>
23 #include <QtWidgets/QVBoxLayout>
24 #include <QtWidgets/QWidget>
53 if (KbBindWidget->objectName().isEmpty())
54 KbBindWidget->setObjectName(QStringLiteral(
"KbBindWidget"));
55 KbBindWidget->resize(581, 473);
59 label =
new QLabel(KbBindWidget);
60 label->setObjectName(QStringLiteral(
"label"));
68 line =
new QFrame(KbBindWidget);
69 line->setObjectName(QStringLiteral(
"line"));
70 line->setFrameShape(QFrame::HLine);
71 line->setFrameShadow(QFrame::Sunken);
76 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
77 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
82 keyWidget->setObjectName(QStringLiteral(
"keyWidget"));
83 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
84 sizePolicy.setHorizontalStretch(0);
85 sizePolicy.setVerticalStretch(0);
86 sizePolicy.setHeightForWidth(
keyWidget->sizePolicy().hasHeightForWidth());
91 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
99 copyButton->setObjectName(QStringLiteral(
"copyButton"));
100 QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
101 sizePolicy1.setHorizontalStretch(0);
102 sizePolicy1.setVerticalStretch(0);
103 sizePolicy1.setHeightForWidth(
copyButton->sizePolicy().hasHeightForWidth());
106 copyButton->setMaximumSize(QSize(140, 16777215));
111 selectLabel->setObjectName(QStringLiteral(
"selectLabel"));
112 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
113 sizePolicy2.setHorizontalStretch(0);
114 sizePolicy2.setVerticalStretch(0);
115 sizePolicy2.setHeightForWidth(
selectLabel->sizePolicy().hasHeightForWidth());
122 resetButton->setObjectName(QStringLiteral(
"resetButton"));
123 QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Fixed);
124 sizePolicy3.setHorizontalStretch(0);
125 sizePolicy3.setVerticalStretch(0);
126 sizePolicy3.setHeightForWidth(
resetButton->sizePolicy().hasHeightForWidth());
139 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
143 label_2 =
new QLabel(KbBindWidget);
144 label_2->setObjectName(QStringLiteral(
"label_2"));
149 line_2 =
new QFrame(KbBindWidget);
150 line_2->setObjectName(QStringLiteral(
"line_2"));
151 line_2->setFrameShape(QFrame::HLine);
152 line_2->setFrameShadow(QFrame::Sunken);
157 widget->setObjectName(QStringLiteral(
"widget"));
158 QSizePolicy sizePolicy4(QSizePolicy::Preferred, QSizePolicy::Fixed);
159 sizePolicy4.setHorizontalStretch(0);
160 sizePolicy4.setVerticalStretch(0);
161 sizePolicy4.setHeightForWidth(
widget->sizePolicy().hasHeightForWidth());
162 widget->setSizePolicy(sizePolicy4);
163 widget->setMinimumSize(QSize(0, 280));
164 widget->setMaximumSize(QSize(16777215, 280));
167 gridLayout_2->setObjectName(QStringLiteral(
"gridLayout_2"));
170 rbWidget->setObjectName(QStringLiteral(
"rbWidget"));
171 QSizePolicy sizePolicy5(QSizePolicy::Expanding, QSizePolicy::Expanding);
172 sizePolicy5.setHorizontalStretch(0);
173 sizePolicy5.setVerticalStretch(0);
174 sizePolicy5.setHeightForWidth(
rbWidget->sizePolicy().hasHeightForWidth());
175 rbWidget->setSizePolicy(sizePolicy5);
186 QMetaObject::connectSlotsByName(KbBindWidget);
191 KbBindWidget->setWindowTitle(QApplication::translate(
"KbBindWidget",
"Form", Q_NULLPTR));
192 label->setText(QApplication::translate(
"KbBindWidget",
"Keys", Q_NULLPTR));
193 copyButton->setText(QApplication::translate(
"KbBindWidget",
"Copy to mode...", Q_NULLPTR));
194 selectLabel->setText(QApplication::translate(
"KbBindWidget",
"Click to select keys", Q_NULLPTR));
195 resetButton->setText(QApplication::translate(
"KbBindWidget",
"Reset", Q_NULLPTR));
196 label_2->setText(QApplication::translate(
"KbBindWidget",
"Binding", Q_NULLPTR));
207 #endif // UI_KBBINDWIDGET_H