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_kbanimwidget.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'kbanimwidget.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_KBANIMWIDGET_H
10 #define UI_KBANIMWIDGET_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QComboBox>
17 #include <QtWidgets/QDoubleSpinBox>
18 #include <QtWidgets/QGridLayout>
19 #include <QtWidgets/QHBoxLayout>
20 #include <QtWidgets/QHeaderView>
21 #include <QtWidgets/QLabel>
22 #include <QtWidgets/QLineEdit>
23 #include <QtWidgets/QPushButton>
24 #include <QtWidgets/QSpacerItem>
25 #include <QtWidgets/QStackedWidget>
26 #include <QtWidgets/QVBoxLayout>
27 #include <QtWidgets/QWidget>
28 #include "rlistwidget.h"
29 
30 QT_BEGIN_NAMESPACE
31 
33 {
34 public:
35  QGridLayout *gridLayout;
36  QStackedWidget *selectionStack;
38  QGridLayout *gridLayout_2;
39  QLabel *noAnimLabel;
40  QSpacerItem *verticalSpacer;
42  QVBoxLayout *verticalLayout;
43  QHBoxLayout *horizontalLayout;
44  QLabel *aNameLabel;
45  QLabel *aVerLabel;
46  QSpacerItem *horizontalSpacer;
47  QLabel *aCopyLabel;
48  QSpacerItem *verticalSpacer_3;
49  QGridLayout *gridLayout_3;
50  QLineEdit *nameBox;
51  QDoubleSpinBox *opacityBox;
52  QComboBox *blendBox;
53  QLabel *label_6;
54  QSpacerItem *horizontalSpacer_4;
55  QSpacerItem *horizontalSpacer_2;
56  QLabel *label_5;
57  QSpacerItem *horizontalSpacer_3;
58  QLabel *label_7;
62  QSpacerItem *horizontalSpacer_5;
63  QSpacerItem *verticalSpacer_2;
65  QGridLayout *gridLayout_4;
66  QLabel *aMissingLabel;
68 
70  {
71  if (KbAnimWidget->objectName().isEmpty())
72  KbAnimWidget->setObjectName(QStringLiteral("KbAnimWidget"));
73  KbAnimWidget->resize(613, 300);
74  gridLayout = new QGridLayout(KbAnimWidget);
75  gridLayout->setObjectName(QStringLiteral("gridLayout"));
76  gridLayout->setContentsMargins(0, 0, 0, 0);
77  selectionStack = new QStackedWidget(KbAnimWidget);
78  selectionStack->setObjectName(QStringLiteral("selectionStack"));
79  noSelPage = new QWidget();
80  noSelPage->setObjectName(QStringLiteral("noSelPage"));
81  gridLayout_2 = new QGridLayout(noSelPage);
82  gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
83  gridLayout_2->setContentsMargins(6, 6, 6, 6);
84  noAnimLabel = new QLabel(noSelPage);
85  noAnimLabel->setObjectName(QStringLiteral("noAnimLabel"));
86 
87  gridLayout_2->addWidget(noAnimLabel, 0, 0, 1, 1);
88 
89  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
90 
91  gridLayout_2->addItem(verticalSpacer, 1, 0, 1, 1);
92 
93  selectionStack->addWidget(noSelPage);
94  animPage = new QWidget();
95  animPage->setObjectName(QStringLiteral("animPage"));
96  verticalLayout = new QVBoxLayout(animPage);
97  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
98  verticalLayout->setContentsMargins(6, 0, 0, 0);
99  horizontalLayout = new QHBoxLayout();
100  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
101  aNameLabel = new QLabel(animPage);
102  aNameLabel->setObjectName(QStringLiteral("aNameLabel"));
103  QFont font;
104  font.setBold(true);
105  font.setWeight(75);
106  aNameLabel->setFont(font);
107 
108  horizontalLayout->addWidget(aNameLabel);
109 
110  aVerLabel = new QLabel(animPage);
111  aVerLabel->setObjectName(QStringLiteral("aVerLabel"));
112 
113  horizontalLayout->addWidget(aVerLabel);
114 
115  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
116 
118 
119  aCopyLabel = new QLabel(animPage);
120  aCopyLabel->setObjectName(QStringLiteral("aCopyLabel"));
121 
122  horizontalLayout->addWidget(aCopyLabel);
123 
124 
125  verticalLayout->addLayout(horizontalLayout);
126 
127  verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
128 
130 
131  gridLayout_3 = new QGridLayout();
132  gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
133  nameBox = new QLineEdit(animPage);
134  nameBox->setObjectName(QStringLiteral("nameBox"));
135  QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
136  sizePolicy.setHorizontalStretch(0);
137  sizePolicy.setVerticalStretch(0);
138  sizePolicy.setHeightForWidth(nameBox->sizePolicy().hasHeightForWidth());
139  nameBox->setSizePolicy(sizePolicy);
140  nameBox->setMinimumSize(QSize(150, 0));
141  nameBox->setMaximumSize(QSize(150, 16777215));
142 
143  gridLayout_3->addWidget(nameBox, 0, 3, 1, 2);
144 
145  opacityBox = new QDoubleSpinBox(animPage);
146  opacityBox->setObjectName(QStringLiteral("opacityBox"));
147  opacityBox->setDecimals(1);
148  opacityBox->setValue(100);
149 
150  gridLayout_3->addWidget(opacityBox, 1, 3, 1, 1);
151 
152  blendBox = new QComboBox(animPage);
153  blendBox->setObjectName(QStringLiteral("blendBox"));
154 
155  gridLayout_3->addWidget(blendBox, 2, 3, 1, 2);
156 
157  label_6 = new QLabel(animPage);
158  label_6->setObjectName(QStringLiteral("label_6"));
159 
160  gridLayout_3->addWidget(label_6, 2, 1, 1, 1);
161 
162  horizontalSpacer_4 = new QSpacerItem(0, 0, QSizePolicy::Fixed, QSizePolicy::Minimum);
163 
164  gridLayout_3->addItem(horizontalSpacer_4, 0, 0, 1, 1);
165 
166  horizontalSpacer_2 = new QSpacerItem(30, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
167 
168  gridLayout_3->addItem(horizontalSpacer_2, 0, 2, 1, 1);
169 
170  label_5 = new QLabel(animPage);
171  label_5->setObjectName(QStringLiteral("label_5"));
172 
173  gridLayout_3->addWidget(label_5, 1, 1, 1, 1);
174 
175  horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
176 
177  gridLayout_3->addItem(horizontalSpacer_3, 0, 5, 1, 1);
178 
179  label_7 = new QLabel(animPage);
180  label_7->setObjectName(QStringLiteral("label_7"));
181 
182  gridLayout_3->addWidget(label_7, 0, 1, 1, 1);
183 
185  keyButton->setObjectName(QStringLiteral("keyButton"));
186 
187  gridLayout_3->addWidget(keyButton, 1, 6, 1, 1);
188 
190  deleteButton->setObjectName(QStringLiteral("deleteButton"));
191 
192  gridLayout_3->addWidget(deleteButton, 2, 6, 1, 1);
193 
195  propertyButton->setObjectName(QStringLiteral("propertyButton"));
196 
197  gridLayout_3->addWidget(propertyButton, 0, 6, 1, 1);
198 
199  horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
200 
201  gridLayout_3->addItem(horizontalSpacer_5, 1, 4, 1, 1);
202 
203 
204  verticalLayout->addLayout(gridLayout_3);
205 
206  verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
207 
209 
210  selectionStack->addWidget(animPage);
211  aMissingPage = new QWidget();
212  aMissingPage->setObjectName(QStringLiteral("aMissingPage"));
213  gridLayout_4 = new QGridLayout(aMissingPage);
214  gridLayout_4->setObjectName(QStringLiteral("gridLayout_4"));
215  aMissingLabel = new QLabel(aMissingPage);
216  aMissingLabel->setObjectName(QStringLiteral("aMissingLabel"));
217  aMissingLabel->setFont(font);
218 
219  gridLayout_4->addWidget(aMissingLabel, 0, 0, 1, 1);
220 
221  selectionStack->addWidget(aMissingPage);
222 
223  gridLayout->addWidget(selectionStack, 0, 2, 2, 1);
224 
225  animList = new RListWidget(KbAnimWidget);
226  animList->setObjectName(QStringLiteral("animList"));
227  animList->setMaximumSize(QSize(130, 16777215));
228  animList->setContextMenuPolicy(Qt::CustomContextMenu);
229  animList->setFrameShadow(QFrame::Plain);
230  animList->setDragDropMode(QAbstractItemView::InternalMove);
231  animList->setMovement(QListView::Snap);
232 
233  gridLayout->addWidget(animList, 0, 0, 2, 1);
234 
235 
236  retranslateUi(KbAnimWidget);
237 
238  QMetaObject::connectSlotsByName(KbAnimWidget);
239  } // setupUi
240 
242  {
243  KbAnimWidget->setWindowTitle(QApplication::translate("KbAnimWidget", "Form", Q_NULLPTR));
244  noAnimLabel->setText(QApplication::translate("KbAnimWidget", "No animations in this mode", Q_NULLPTR));
245  aNameLabel->setText(QApplication::translate("KbAnimWidget", "Animation name", Q_NULLPTR));
246  aVerLabel->setText(QApplication::translate("KbAnimWidget", "v0.0", Q_NULLPTR));
247  aCopyLabel->setText(QApplication::translate("KbAnimWidget", "Copyright \302\251", Q_NULLPTR));
248  opacityBox->setSuffix(QApplication::translate("KbAnimWidget", "%", Q_NULLPTR));
249  blendBox->clear();
250  blendBox->insertItems(0, QStringList()
251  << QApplication::translate("KbAnimWidget", "Normal", Q_NULLPTR)
252  << QApplication::translate("KbAnimWidget", "Add", Q_NULLPTR)
253  << QApplication::translate("KbAnimWidget", "Subtract", Q_NULLPTR)
254  << QApplication::translate("KbAnimWidget", "Multiply", Q_NULLPTR)
255  << QApplication::translate("KbAnimWidget", "Divide", Q_NULLPTR)
256  );
257  label_6->setText(QApplication::translate("KbAnimWidget", "Blend mode:", Q_NULLPTR));
258  label_5->setText(QApplication::translate("KbAnimWidget", "Opacity:", Q_NULLPTR));
259  label_7->setText(QApplication::translate("KbAnimWidget", "Name:", Q_NULLPTR));
260  keyButton->setText(QApplication::translate("KbAnimWidget", "Set keys", Q_NULLPTR));
261  deleteButton->setText(QApplication::translate("KbAnimWidget", "Delete animation", Q_NULLPTR));
262  propertyButton->setText(QApplication::translate("KbAnimWidget", "Edit properties", Q_NULLPTR));
263  aMissingLabel->setText(QApplication::translate("KbAnimWidget", "Mising animation", Q_NULLPTR));
264  } // retranslateUi
265 
266 };
267 
268 namespace Ui {
269  class KbAnimWidget: public Ui_KbAnimWidget {};
270 } // namespace Ui
271 
272 QT_END_NAMESPACE
273 
274 #endif // UI_KBANIMWIDGET_H
QVBoxLayout * verticalLayout
QSpacerItem * verticalSpacer_2
QLabel * aMissingLabel
QLineEdit * nameBox
QSpacerItem * horizontalSpacer_4
void retranslateUi(QWidget *KbAnimWidget)
QLabel * noAnimLabel
QStackedWidget * selectionStack
RListWidget * animList
QSpacerItem * horizontalSpacer_2
QComboBox * blendBox
QHBoxLayout * horizontalLayout
QSpacerItem * verticalSpacer_3
QSpacerItem * horizontalSpacer_3
QSpacerItem * horizontalSpacer
void setupUi(QWidget *KbAnimWidget)
QWidget * animPage
QWidget * aMissingPage
QGridLayout * gridLayout_2
QSpacerItem * horizontalSpacer_5
QPushButton * deleteButton
QGridLayout * gridLayout_4
QGridLayout * gridLayout
QGridLayout * gridLayout_3
QPushButton * propertyButton
QPushButton * keyButton
QSpacerItem * verticalSpacer
QDoubleSpinBox * opacityBox
QWidget * noSelPage