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::LayoutDialog Class Reference

#include <src/ckb/ui_layoutdialog.h>

+ Inheritance diagram for Ui::LayoutDialog:
+ Collaboration diagram for Ui::LayoutDialog:

Public Member Functions

void setupUi (QDialog *LayoutDialog)
 
void retranslateUi (QDialog *LayoutDialog)
 

Data Fields

QGridLayout * gridLayout
 
QSpacerItem * verticalSpacer
 
QSpacerItem * verticalSpacer_3
 
QDialogButtonBox * buttonBox
 
QLabel * label
 
QSpacerItem * horizontalSpacer_2
 
QSpacerItem * verticalSpacer_2
 
QSpacerItem * horizontalSpacer
 
QComboBox * comboBox
 
QLabel * label_2
 
QSpacerItem * verticalSpacer_4
 

Detailed Description

Definition at line 119 of file ui_layoutdialog.h.

Member Function Documentation

void Ui_LayoutDialog::retranslateUi ( QDialog LayoutDialog)
inlineinherited

Definition at line 109 of file ui_layoutdialog.h.

References Ui_LayoutDialog::label, and Ui_LayoutDialog::label_2.

Referenced by Ui_LayoutDialog::setupUi().

110  {
111  LayoutDialog->setWindowTitle(QApplication::translate("LayoutDialog", "Keyboard Layout", Q_NULLPTR));
112  label->setText(QApplication::translate("LayoutDialog", "Please select your keyboard layout:", Q_NULLPTR));
113  label_2->setText(QApplication::translate("LayoutDialog", "Note: this only controls the layout within the ckb application. If your keys are typing the wrong characters, check your system preferences.", Q_NULLPTR));
114  } // retranslateUi

+ Here is the caller graph for this function:

void Ui_LayoutDialog::setupUi ( QDialog LayoutDialog)
inlineinherited

Definition at line 41 of file ui_layoutdialog.h.

References Ui_LayoutDialog::buttonBox, Ui_LayoutDialog::comboBox, Ui_LayoutDialog::gridLayout, Ui_LayoutDialog::horizontalSpacer, Ui_LayoutDialog::horizontalSpacer_2, Ui_LayoutDialog::label, Ui_LayoutDialog::label_2, Ui_LayoutDialog::retranslateUi(), Ui_LayoutDialog::verticalSpacer, Ui_LayoutDialog::verticalSpacer_2, Ui_LayoutDialog::verticalSpacer_3, and Ui_LayoutDialog::verticalSpacer_4.

Referenced by LayoutDialog::LayoutDialog().

42  {
43  if (LayoutDialog->objectName().isEmpty())
44  LayoutDialog->setObjectName(QStringLiteral("LayoutDialog"));
45  LayoutDialog->resize(400, 240);
46  gridLayout = new QGridLayout(LayoutDialog);
47  gridLayout->setObjectName(QStringLiteral("gridLayout"));
48  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
49 
50  gridLayout->addItem(verticalSpacer, 6, 0, 1, 3);
51 
52  verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
53 
54  gridLayout->addItem(verticalSpacer_3, 0, 1, 1, 1);
55 
56  buttonBox = new QDialogButtonBox(LayoutDialog);
57  buttonBox->setObjectName(QStringLiteral("buttonBox"));
58  buttonBox->setOrientation(Qt::Horizontal);
59  buttonBox->setStandardButtons(QDialogButtonBox::Ok);
60 
61  gridLayout->addWidget(buttonBox, 7, 0, 1, 3);
62 
63  label = new QLabel(LayoutDialog);
64  label->setObjectName(QStringLiteral("label"));
65  label->setAlignment(Qt::AlignCenter);
66 
67  gridLayout->addWidget(label, 1, 0, 1, 3);
68 
69  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
70 
71  gridLayout->addItem(horizontalSpacer_2, 3, 2, 1, 1);
72 
73  verticalSpacer_2 = new QSpacerItem(20, 15, QSizePolicy::Minimum, QSizePolicy::Fixed);
74 
75  gridLayout->addItem(verticalSpacer_2, 4, 1, 1, 1);
76 
77  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
78 
79  gridLayout->addItem(horizontalSpacer, 3, 0, 1, 1);
80 
81  comboBox = new QComboBox(LayoutDialog);
82  comboBox->setObjectName(QStringLiteral("comboBox"));
83 
84  gridLayout->addWidget(comboBox, 3, 1, 1, 1);
85 
86  label_2 = new QLabel(LayoutDialog);
87  label_2->setObjectName(QStringLiteral("label_2"));
88  QFont font;
89  font.setPointSize(8);
90  font.setItalic(true);
91  label_2->setFont(font);
92  label_2->setAlignment(Qt::AlignCenter);
93  label_2->setWordWrap(true);
94 
95  gridLayout->addWidget(label_2, 5, 0, 1, 3);
96 
97  verticalSpacer_4 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
98 
99  gridLayout->addItem(verticalSpacer_4, 2, 1, 1, 1);
100 
101 
102  retranslateUi(LayoutDialog);
103  QObject::connect(buttonBox, SIGNAL(accepted()), LayoutDialog, SLOT(accept()));
104  QObject::connect(buttonBox, SIGNAL(rejected()), LayoutDialog, SLOT(reject()));
105 
106  QMetaObject::connectSlotsByName(LayoutDialog);
107  } // setupUi
QSpacerItem * verticalSpacer
QDialogButtonBox * buttonBox
QSpacerItem * verticalSpacer_3
QSpacerItem * horizontalSpacer_2
QSpacerItem * verticalSpacer_2
QComboBox * comboBox
QGridLayout * gridLayout
QSpacerItem * verticalSpacer_4
QSpacerItem * horizontalSpacer
void retranslateUi(QDialog *LayoutDialog)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

QDialogButtonBox* Ui_LayoutDialog::buttonBox
inherited

Definition at line 32 of file ui_layoutdialog.h.

Referenced by Ui_LayoutDialog::setupUi().

QComboBox* Ui_LayoutDialog::comboBox
inherited
QGridLayout* Ui_LayoutDialog::gridLayout
inherited

Definition at line 29 of file ui_layoutdialog.h.

Referenced by Ui_LayoutDialog::setupUi().

QSpacerItem* Ui_LayoutDialog::horizontalSpacer
inherited

Definition at line 36 of file ui_layoutdialog.h.

Referenced by Ui_LayoutDialog::setupUi().

QSpacerItem* Ui_LayoutDialog::horizontalSpacer_2
inherited

Definition at line 34 of file ui_layoutdialog.h.

Referenced by Ui_LayoutDialog::setupUi().

QLabel* Ui_LayoutDialog::label
inherited

Definition at line 33 of file ui_layoutdialog.h.

Referenced by Ui_LayoutDialog::retranslateUi(), and Ui_LayoutDialog::setupUi().

QLabel* Ui_LayoutDialog::label_2
inherited

Definition at line 38 of file ui_layoutdialog.h.

Referenced by Ui_LayoutDialog::retranslateUi(), and Ui_LayoutDialog::setupUi().

QSpacerItem* Ui_LayoutDialog::verticalSpacer
inherited

Definition at line 30 of file ui_layoutdialog.h.

Referenced by Ui_LayoutDialog::setupUi().

QSpacerItem* Ui_LayoutDialog::verticalSpacer_2
inherited

Definition at line 35 of file ui_layoutdialog.h.

Referenced by Ui_LayoutDialog::setupUi().

QSpacerItem* Ui_LayoutDialog::verticalSpacer_3
inherited

Definition at line 31 of file ui_layoutdialog.h.

Referenced by Ui_LayoutDialog::setupUi().

QSpacerItem* Ui_LayoutDialog::verticalSpacer_4
inherited

Definition at line 39 of file ui_layoutdialog.h.

Referenced by Ui_LayoutDialog::setupUi().


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