ckb-next  v0.2.8 at branch master
ckb-next driver for corsair devices
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ui_kbbindwidget.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'kbbindwidget.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.7.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_KBBINDWIDGET_H
10 #define UI_KBBINDWIDGET_H
11 
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>
25 #include "keywidget.h"
26 #include "rebindwidget.h"
27 
28 QT_BEGIN_NAMESPACE
29 
31 {
32 public:
33  QVBoxLayout *verticalLayout;
34  QLabel *label;
35  QFrame *line;
36  QGridLayout *gridLayout;
37  QSpacerItem *horizontalSpacer_2;
39  QSpacerItem *horizontalSpacer;
40  QHBoxLayout *horizontalLayout_2;
42  QLabel *selectLabel;
44  QSpacerItem *verticalSpacer;
45  QLabel *label_2;
46  QFrame *line_2;
48  QGridLayout *gridLayout_2;
50 
52  {
53  if (KbBindWidget->objectName().isEmpty())
54  KbBindWidget->setObjectName(QStringLiteral("KbBindWidget"));
55  KbBindWidget->resize(581, 473);
56  verticalLayout = new QVBoxLayout(KbBindWidget);
57  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
58  verticalLayout->setContentsMargins(0, 0, 0, -1);
59  label = new QLabel(KbBindWidget);
60  label->setObjectName(QStringLiteral("label"));
61  QFont font;
62  font.setBold(true);
63  font.setWeight(75);
64  label->setFont(font);
65 
66  verticalLayout->addWidget(label);
67 
68  line = new QFrame(KbBindWidget);
69  line->setObjectName(QStringLiteral("line"));
70  line->setFrameShape(QFrame::HLine);
71  line->setFrameShadow(QFrame::Sunken);
72 
73  verticalLayout->addWidget(line);
74 
75  gridLayout = new QGridLayout();
76  gridLayout->setObjectName(QStringLiteral("gridLayout"));
77  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
78 
79  gridLayout->addItem(horizontalSpacer_2, 0, 4, 1, 1);
80 
81  keyWidget = new KeyWidget(KbBindWidget);
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());
87  keyWidget->setSizePolicy(sizePolicy);
88 
89  gridLayout->addWidget(keyWidget, 0, 1, 1, 3);
90 
91  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
92 
93  gridLayout->addItem(horizontalSpacer, 0, 0, 1, 1);
94 
95  horizontalLayout_2 = new QHBoxLayout();
96  horizontalLayout_2->setSpacing(0);
97  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
98  copyButton = new QPushButton(KbBindWidget);
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());
104  copyButton->setSizePolicy(sizePolicy1);
105  copyButton->setMinimumSize(QSize(140, 0));
106  copyButton->setMaximumSize(QSize(140, 16777215));
107 
108  horizontalLayout_2->addWidget(copyButton);
109 
110  selectLabel = new QLabel(KbBindWidget);
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());
116  selectLabel->setSizePolicy(sizePolicy2);
117  selectLabel->setAlignment(Qt::AlignCenter);
118 
119  horizontalLayout_2->addWidget(selectLabel);
120 
121  resetButton = new QPushButton(KbBindWidget);
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());
127  resetButton->setSizePolicy(sizePolicy3);
128  resetButton->setMinimumSize(QSize(140, 0));
129  resetButton->setMaximumSize(QSize(140, 16777215));
130 
131  horizontalLayout_2->addWidget(resetButton);
132 
133 
134  gridLayout->addLayout(horizontalLayout_2, 1, 1, 1, 3);
135 
136 
137  verticalLayout->addLayout(gridLayout);
138 
139  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
140 
141  verticalLayout->addItem(verticalSpacer);
142 
143  label_2 = new QLabel(KbBindWidget);
144  label_2->setObjectName(QStringLiteral("label_2"));
145  label_2->setFont(font);
146 
147  verticalLayout->addWidget(label_2);
148 
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);
153 
154  verticalLayout->addWidget(line_2);
155 
156  widget = new QWidget(KbBindWidget);
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));
165  gridLayout_2 = new QGridLayout(widget);
166  gridLayout_2->setSpacing(0);
167  gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
168  gridLayout_2->setContentsMargins(0, 0, 0, 0);
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);
176 
177  gridLayout_2->addWidget(rbWidget, 0, 0, 1, 1);
178 
179 
180  verticalLayout->addWidget(widget);
181 
182  QWidget::setTabOrder(copyButton, resetButton);
183 
184  retranslateUi(KbBindWidget);
185 
186  QMetaObject::connectSlotsByName(KbBindWidget);
187  } // setupUi
188 
190  {
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));
197  } // retranslateUi
198 
199 };
200 
201 namespace Ui {
202  class KbBindWidget: public Ui_KbBindWidget {};
203 } // namespace Ui
204 
205 QT_END_NAMESPACE
206 
207 #endif // UI_KBBINDWIDGET_H
QLabel * selectLabel
QSpacerItem * horizontalSpacer
QPushButton * copyButton
QSpacerItem * verticalSpacer
QGridLayout * gridLayout_2
QHBoxLayout * horizontalLayout_2
RebindWidget * rbWidget
QVBoxLayout * verticalLayout
QGridLayout * gridLayout
void setupUi(QWidget *KbBindWidget)
KeyWidget * keyWidget
QSpacerItem * horizontalSpacer_2
void retranslateUi(QWidget *KbBindWidget)
QPushButton * resetButton