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

#include <src/ckb/ui_modeselectdialog.h>

+ Inheritance diagram for Ui::ModeSelectDialog:
+ Collaboration diagram for Ui::ModeSelectDialog:

Public Member Functions

void setupUi (QDialog *ModeSelectDialog)
 
void retranslateUi (QDialog *ModeSelectDialog)
 

Data Fields

QGridLayout * gridLayout
 
QLabel * label
 
QDialogButtonBox * buttonBox
 
QListWidgetmodeList
 
QPushButtonselAllButton
 
QPushButtonselNoneButton
 

Detailed Description

Definition at line 95 of file ui_modeselectdialog.h.

Member Function Documentation

void Ui_ModeSelectDialog::retranslateUi ( QDialog ModeSelectDialog)
inlineinherited

Definition at line 84 of file ui_modeselectdialog.h.

References Ui_ModeSelectDialog::label, Ui_ModeSelectDialog::selAllButton, and Ui_ModeSelectDialog::selNoneButton.

Referenced by Ui_ModeSelectDialog::setupUi().

85  {
86  ModeSelectDialog->setWindowTitle(QApplication::translate("ModeSelectDialog", "Select Modes", Q_NULLPTR));
87  label->setText(QApplication::translate("ModeSelectDialog", "TextLabel", Q_NULLPTR));
88  selAllButton->setText(QApplication::translate("ModeSelectDialog", "Select All", Q_NULLPTR));
89  selNoneButton->setText(QApplication::translate("ModeSelectDialog", "Select None", Q_NULLPTR));
90  } // retranslateUi
QPushButton * selAllButton
QPushButton * selNoneButton

+ Here is the caller graph for this function:

void Ui_ModeSelectDialog::setupUi ( QDialog ModeSelectDialog)
inlineinherited

Definition at line 36 of file ui_modeselectdialog.h.

References Ui_ModeSelectDialog::buttonBox, Ui_ModeSelectDialog::gridLayout, Ui_ModeSelectDialog::label, Ui_ModeSelectDialog::modeList, Ui_ModeSelectDialog::retranslateUi(), Ui_ModeSelectDialog::selAllButton, and Ui_ModeSelectDialog::selNoneButton.

Referenced by ModeSelectDialog::ModeSelectDialog().

37  {
38  if (ModeSelectDialog->objectName().isEmpty())
39  ModeSelectDialog->setObjectName(QStringLiteral("ModeSelectDialog"));
40  ModeSelectDialog->resize(320, 320);
41  gridLayout = new QGridLayout(ModeSelectDialog);
42  gridLayout->setObjectName(QStringLiteral("gridLayout"));
43  label = new QLabel(ModeSelectDialog);
44  label->setObjectName(QStringLiteral("label"));
45  label->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
46 
47  gridLayout->addWidget(label, 0, 0, 1, 2);
48 
49  buttonBox = new QDialogButtonBox(ModeSelectDialog);
50  buttonBox->setObjectName(QStringLiteral("buttonBox"));
51  buttonBox->setOrientation(Qt::Vertical);
52  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
53  buttonBox->setCenterButtons(false);
54 
55  gridLayout->addWidget(buttonBox, 0, 2, 3, 1);
56 
57  modeList = new QListWidget(ModeSelectDialog);
58  modeList->setObjectName(QStringLiteral("modeList"));
59  modeList->setFrameShadow(QFrame::Plain);
60  modeList->setSelectionMode(QAbstractItemView::ExtendedSelection);
61 
62  gridLayout->addWidget(modeList, 1, 0, 1, 2);
63 
64  selAllButton = new QPushButton(ModeSelectDialog);
65  selAllButton->setObjectName(QStringLiteral("selAllButton"));
66 
67  gridLayout->addWidget(selAllButton, 2, 0, 1, 1);
68 
69  selNoneButton = new QPushButton(ModeSelectDialog);
70  selNoneButton->setObjectName(QStringLiteral("selNoneButton"));
71 
72  gridLayout->addWidget(selNoneButton, 2, 1, 1, 1);
73 
74  QWidget::setTabOrder(modeList, selAllButton);
75  QWidget::setTabOrder(selAllButton, selNoneButton);
76 
77  retranslateUi(ModeSelectDialog);
78  QObject::connect(buttonBox, SIGNAL(accepted()), ModeSelectDialog, SLOT(accept()));
79  QObject::connect(buttonBox, SIGNAL(rejected()), ModeSelectDialog, SLOT(reject()));
80 
81  QMetaObject::connectSlotsByName(ModeSelectDialog);
82  } // setupUi
void retranslateUi(QDialog *ModeSelectDialog)
QPushButton * selAllButton
QPushButton * selNoneButton
QDialogButtonBox * buttonBox

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

QDialogButtonBox* Ui_ModeSelectDialog::buttonBox
inherited

Definition at line 31 of file ui_modeselectdialog.h.

Referenced by Ui_ModeSelectDialog::setupUi().

QGridLayout* Ui_ModeSelectDialog::gridLayout
inherited

Definition at line 29 of file ui_modeselectdialog.h.

Referenced by Ui_ModeSelectDialog::setupUi().

QLabel* Ui_ModeSelectDialog::label
inherited
QPushButton* Ui_ModeSelectDialog::selAllButton
inherited
QPushButton* Ui_ModeSelectDialog::selNoneButton
inherited

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