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

#include <src/ckb/ui_kbprofiledialog.h>

+ Inheritance diagram for Ui_KbProfileDialog:
+ Collaboration diagram for Ui_KbProfileDialog:

Public Member Functions

void setupUi (QDialog *KbProfileDialog)
 
void retranslateUi (QDialog *KbProfileDialog)
 

Data Fields

QGridLayout * gridLayout
 
QSpacerItem * horizontalSpacer
 
QSpacerItem * horizontalSpacer_2
 
RListWidgetprofileList
 
QDialogButtonBox * buttonBox
 

Detailed Description

Definition at line 25 of file ui_kbprofiledialog.h.

Member Function Documentation

void Ui_KbProfileDialog::retranslateUi ( QDialog KbProfileDialog)
inline

Definition at line 73 of file ui_kbprofiledialog.h.

Referenced by setupUi().

74  {
75  KbProfileDialog->setWindowTitle(QApplication::translate("KbProfileDialog", "Keyboard Profiles", Q_NULLPTR));
76  } // retranslateUi

+ Here is the caller graph for this function:

void Ui_KbProfileDialog::setupUi ( QDialog KbProfileDialog)
inline

Definition at line 34 of file ui_kbprofiledialog.h.

References buttonBox, gridLayout, horizontalSpacer, horizontalSpacer_2, profileList, and retranslateUi().

Referenced by KbProfileDialog::KbProfileDialog().

35  {
36  if (KbProfileDialog->objectName().isEmpty())
37  KbProfileDialog->setObjectName(QStringLiteral("KbProfileDialog"));
38  KbProfileDialog->resize(400, 300);
39  KbProfileDialog->setFocusPolicy(Qt::ClickFocus);
40  gridLayout = new QGridLayout(KbProfileDialog);
41  gridLayout->setObjectName(QStringLiteral("gridLayout"));
42  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
43 
44  gridLayout->addItem(horizontalSpacer, 0, 0, 1, 1);
45 
46  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
47 
48  gridLayout->addItem(horizontalSpacer_2, 0, 2, 1, 1);
49 
50  profileList = new RListWidget(KbProfileDialog);
51  profileList->setObjectName(QStringLiteral("profileList"));
52  profileList->setContextMenuPolicy(Qt::CustomContextMenu);
53  profileList->setFrameShadow(QFrame::Plain);
54  profileList->setIconSize(QSize(24, 24));
55 
56  gridLayout->addWidget(profileList, 0, 1, 1, 1);
57 
58  buttonBox = new QDialogButtonBox(KbProfileDialog);
59  buttonBox->setObjectName(QStringLiteral("buttonBox"));
60  buttonBox->setOrientation(Qt::Horizontal);
61  buttonBox->setStandardButtons(QDialogButtonBox::Ok);
62 
63  gridLayout->addWidget(buttonBox, 1, 0, 1, 3);
64 
65 
66  retranslateUi(KbProfileDialog);
67  QObject::connect(buttonBox, SIGNAL(accepted()), KbProfileDialog, SLOT(accept()));
68  QObject::connect(buttonBox, SIGNAL(rejected()), KbProfileDialog, SLOT(reject()));
69 
70  QMetaObject::connectSlotsByName(KbProfileDialog);
71  } // setupUi
QSpacerItem * horizontalSpacer_2
RListWidget * profileList
QGridLayout * gridLayout
void retranslateUi(QDialog *KbProfileDialog)
QDialogButtonBox * buttonBox
QSpacerItem * horizontalSpacer

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

QDialogButtonBox* Ui_KbProfileDialog::buttonBox

Definition at line 32 of file ui_kbprofiledialog.h.

Referenced by setupUi().

QGridLayout* Ui_KbProfileDialog::gridLayout

Definition at line 28 of file ui_kbprofiledialog.h.

Referenced by setupUi().

QSpacerItem* Ui_KbProfileDialog::horizontalSpacer

Definition at line 29 of file ui_kbprofiledialog.h.

Referenced by setupUi().

QSpacerItem* Ui_KbProfileDialog::horizontalSpacer_2

Definition at line 30 of file ui_kbprofiledialog.h.

Referenced by setupUi().


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