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_AnimAddDialog Class Reference

#include <src/ckb/ui_animadddialog.h>

+ Inheritance diagram for Ui_AnimAddDialog:
+ Collaboration diagram for Ui_AnimAddDialog:

Public Member Functions

void setupUi (QDialog *AnimAddDialog)
 
void retranslateUi (QDialog *AnimAddDialog)
 

Data Fields

QGridLayout * gridLayout
 
QHBoxLayout * horizontalLayout
 
QDialogButtonBox * buttonBox
 
QSpacerItem * horizontalSpacer_2
 
QComboBox * animBox
 
QLabel * label_2
 
QSpacerItem * verticalSpacer_2
 
QLabel * label
 
QSpacerItem * verticalSpacer_3
 
QComboBox * presetBox
 
QSpacerItem * horizontalSpacer
 
QCheckBox * previewBox
 

Detailed Description

Definition at line 28 of file ui_animadddialog.h.

Member Function Documentation

void Ui_AnimAddDialog::retranslateUi ( QDialog AnimAddDialog)
inline

Definition at line 135 of file ui_animadddialog.h.

References label, label_2, and previewBox.

Referenced by setupUi().

136  {
137  AnimAddDialog->setWindowTitle(QApplication::translate("AnimAddDialog", "Add Animation", Q_NULLPTR));
138  label_2->setText(QApplication::translate("AnimAddDialog", "Preset:", Q_NULLPTR));
139  label->setText(QApplication::translate("AnimAddDialog", "Animation:", Q_NULLPTR));
140  previewBox->setText(QApplication::translate("AnimAddDialog", "Show preview", Q_NULLPTR));
141  } // retranslateUi
QCheckBox * previewBox

+ Here is the caller graph for this function:

void Ui_AnimAddDialog::setupUi ( QDialog AnimAddDialog)
inline

Definition at line 44 of file ui_animadddialog.h.

References animBox, buttonBox, gridLayout, horizontalLayout, horizontalSpacer, horizontalSpacer_2, label, label_2, presetBox, previewBox, retranslateUi(), verticalSpacer_2, and verticalSpacer_3.

Referenced by AnimAddDialog::AnimAddDialog().

45  {
46  if (AnimAddDialog->objectName().isEmpty())
47  AnimAddDialog->setObjectName(QStringLiteral("AnimAddDialog"));
48  AnimAddDialog->resize(350, 205);
49  QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
50  sizePolicy.setHorizontalStretch(0);
51  sizePolicy.setVerticalStretch(0);
52  sizePolicy.setHeightForWidth(AnimAddDialog->sizePolicy().hasHeightForWidth());
53  AnimAddDialog->setSizePolicy(sizePolicy);
54  gridLayout = new QGridLayout(AnimAddDialog);
55  gridLayout->setObjectName(QStringLiteral("gridLayout"));
56  horizontalLayout = new QHBoxLayout();
57  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
58  buttonBox = new QDialogButtonBox(AnimAddDialog);
59  buttonBox->setObjectName(QStringLiteral("buttonBox"));
60  buttonBox->setOrientation(Qt::Horizontal);
61  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
62  buttonBox->setCenterButtons(false);
63 
64  horizontalLayout->addWidget(buttonBox);
65 
66 
67  gridLayout->addLayout(horizontalLayout, 5, 0, 1, 4);
68 
69  horizontalSpacer_2 = new QSpacerItem(50, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
70 
71  gridLayout->addItem(horizontalSpacer_2, 1, 3, 1, 1);
72 
73  animBox = new QComboBox(AnimAddDialog);
74  animBox->setObjectName(QStringLiteral("animBox"));
75  QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
76  sizePolicy1.setHorizontalStretch(0);
77  sizePolicy1.setVerticalStretch(0);
78  sizePolicy1.setHeightForWidth(animBox->sizePolicy().hasHeightForWidth());
79  animBox->setSizePolicy(sizePolicy1);
80 
81  gridLayout->addWidget(animBox, 1, 2, 1, 1);
82 
83  label_2 = new QLabel(AnimAddDialog);
84  label_2->setObjectName(QStringLiteral("label_2"));
85  QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
86  sizePolicy2.setHorizontalStretch(0);
87  sizePolicy2.setVerticalStretch(0);
88  sizePolicy2.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
89  label_2->setSizePolicy(sizePolicy2);
90  label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
91 
92  gridLayout->addWidget(label_2, 2, 1, 1, 1);
93 
94  verticalSpacer_2 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
95 
96  gridLayout->addItem(verticalSpacer_2, 4, 2, 1, 1);
97 
98  label = new QLabel(AnimAddDialog);
99  label->setObjectName(QStringLiteral("label"));
100  sizePolicy2.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
101  label->setSizePolicy(sizePolicy2);
102  label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
103 
104  gridLayout->addWidget(label, 1, 1, 1, 1);
105 
106  verticalSpacer_3 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
107 
108  gridLayout->addItem(verticalSpacer_3, 0, 2, 1, 1);
109 
110  presetBox = new QComboBox(AnimAddDialog);
111  presetBox->setObjectName(QStringLiteral("presetBox"));
112  sizePolicy1.setHeightForWidth(presetBox->sizePolicy().hasHeightForWidth());
113  presetBox->setSizePolicy(sizePolicy1);
114 
115  gridLayout->addWidget(presetBox, 2, 2, 1, 1);
116 
117  horizontalSpacer = new QSpacerItem(50, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
118 
119  gridLayout->addItem(horizontalSpacer, 1, 0, 1, 1);
120 
121  previewBox = new QCheckBox(AnimAddDialog);
122  previewBox->setObjectName(QStringLiteral("previewBox"));
123  previewBox->setChecked(true);
124 
125  gridLayout->addWidget(previewBox, 3, 2, 1, 1);
126 
127 
128  retranslateUi(AnimAddDialog);
129  QObject::connect(buttonBox, SIGNAL(accepted()), AnimAddDialog, SLOT(accept()));
130  QObject::connect(buttonBox, SIGNAL(rejected()), AnimAddDialog, SLOT(reject()));
131 
132  QMetaObject::connectSlotsByName(AnimAddDialog);
133  } // setupUi
QSpacerItem * horizontalSpacer_2
QSpacerItem * verticalSpacer_2
QGridLayout * gridLayout
QCheckBox * previewBox
void retranslateUi(QDialog *AnimAddDialog)
QComboBox * animBox
QDialogButtonBox * buttonBox
QHBoxLayout * horizontalLayout
QSpacerItem * verticalSpacer_3
QSpacerItem * horizontalSpacer
QComboBox * presetBox

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

QComboBox* Ui_AnimAddDialog::animBox
QDialogButtonBox* Ui_AnimAddDialog::buttonBox

Definition at line 33 of file ui_animadddialog.h.

Referenced by setupUi().

QGridLayout* Ui_AnimAddDialog::gridLayout

Definition at line 31 of file ui_animadddialog.h.

Referenced by setupUi().

QHBoxLayout* Ui_AnimAddDialog::horizontalLayout

Definition at line 32 of file ui_animadddialog.h.

Referenced by setupUi().

QSpacerItem* Ui_AnimAddDialog::horizontalSpacer

Definition at line 41 of file ui_animadddialog.h.

Referenced by setupUi().

QSpacerItem* Ui_AnimAddDialog::horizontalSpacer_2

Definition at line 34 of file ui_animadddialog.h.

Referenced by setupUi().

QLabel* Ui_AnimAddDialog::label

Definition at line 38 of file ui_animadddialog.h.

Referenced by retranslateUi(), and setupUi().

QLabel* Ui_AnimAddDialog::label_2

Definition at line 36 of file ui_animadddialog.h.

Referenced by retranslateUi(), and setupUi().

QComboBox* Ui_AnimAddDialog::presetBox
QCheckBox* Ui_AnimAddDialog::previewBox

Definition at line 42 of file ui_animadddialog.h.

Referenced by retranslateUi(), and setupUi().

QSpacerItem* Ui_AnimAddDialog::verticalSpacer_2

Definition at line 37 of file ui_animadddialog.h.

Referenced by setupUi().

QSpacerItem* Ui_AnimAddDialog::verticalSpacer_3

Definition at line 39 of file ui_animadddialog.h.

Referenced by setupUi().


The documentation for this class was generated from the following file: