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

#include <src/ckb/ui_mainwindow.h>

+ Inheritance diagram for Ui::MainWindow:
+ Collaboration diagram for Ui::MainWindow:

Public Member Functions

void setupUi (QMainWindow *MainWindow)
 
void retranslateUi (QMainWindow *MainWindow)
 

Data Fields

QAction * actionExit
 
QAction * actionAbout
 
QWidgetcentralWidget
 
QGridLayout * gridLayout
 
QTabWidget * tabWidget
 

Detailed Description

Definition at line 79 of file ui_mainwindow.h.

Member Function Documentation

void Ui_MainWindow::retranslateUi ( QMainWindow MainWindow)
inlineinherited

Definition at line 68 of file ui_mainwindow.h.

References Ui_MainWindow::actionAbout, and Ui_MainWindow::actionExit.

Referenced by Ui_MainWindow::setupUi().

69  {
70  MainWindow->setWindowTitle(QApplication::translate("MainWindow", "ckb-next", Q_NULLPTR));
71  actionExit->setText(QApplication::translate("MainWindow", "Exit", Q_NULLPTR));
72  actionExit->setShortcut(QApplication::translate("MainWindow", "Ctrl+Q", Q_NULLPTR));
73  actionAbout->setText(QApplication::translate("MainWindow", "About", Q_NULLPTR));
74  } // retranslateUi
QAction * actionAbout
Definition: ui_mainwindow.h:28
QAction * actionExit
Definition: ui_mainwindow.h:27

+ Here is the caller graph for this function:

void Ui_MainWindow::setupUi ( QMainWindow MainWindow)
inlineinherited

Definition at line 33 of file ui_mainwindow.h.

References Ui_MainWindow::actionAbout, Ui_MainWindow::actionExit, Ui_MainWindow::centralWidget, Ui_MainWindow::gridLayout, Ui_MainWindow::retranslateUi(), and Ui_MainWindow::tabWidget.

Referenced by MainWindow::MainWindow().

34  {
35  if (MainWindow->objectName().isEmpty())
36  MainWindow->setObjectName(QStringLiteral("MainWindow"));
37  MainWindow->resize(1000, 750);
38  MainWindow->setMinimumSize(QSize(1000, 750));
39  QIcon icon;
40  icon.addFile(QStringLiteral(":/img/ckb-logo.png"), QSize(), QIcon::Normal, QIcon::Off);
41  MainWindow->setWindowIcon(icon);
42  MainWindow->setUnifiedTitleAndToolBarOnMac(true);
43  actionExit = new QAction(MainWindow);
44  actionExit->setObjectName(QStringLiteral("actionExit"));
45  actionAbout = new QAction(MainWindow);
46  actionAbout->setObjectName(QStringLiteral("actionAbout"));
47  centralWidget = new QWidget(MainWindow);
48  centralWidget->setObjectName(QStringLiteral("centralWidget"));
49  gridLayout = new QGridLayout(centralWidget);
50  gridLayout->setSpacing(6);
51  gridLayout->setContentsMargins(11, 11, 11, 11);
52  gridLayout->setObjectName(QStringLiteral("gridLayout"));
53  tabWidget = new QTabWidget(centralWidget);
54  tabWidget->setObjectName(QStringLiteral("tabWidget"));
55 
56  gridLayout->addWidget(tabWidget, 0, 0, 1, 1);
57 
58  MainWindow->setCentralWidget(centralWidget);
59 
60  retranslateUi(MainWindow);
61 
62  tabWidget->setCurrentIndex(-1);
63 
64 
65  QMetaObject::connectSlotsByName(MainWindow);
66  } // setupUi
QWidget * centralWidget
Definition: ui_mainwindow.h:29
void retranslateUi(QMainWindow *MainWindow)
Definition: ui_mainwindow.h:68
QGridLayout * gridLayout
Definition: ui_mainwindow.h:30
QTabWidget * tabWidget
Definition: ui_mainwindow.h:31
QAction * actionAbout
Definition: ui_mainwindow.h:28
QAction * actionExit
Definition: ui_mainwindow.h:27

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

QAction* Ui_MainWindow::actionAbout
inherited

Definition at line 28 of file ui_mainwindow.h.

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

QAction* Ui_MainWindow::actionExit
inherited
QWidget* Ui_MainWindow::centralWidget
inherited

Definition at line 29 of file ui_mainwindow.h.

Referenced by Ui_MainWindow::setupUi().

QGridLayout* Ui_MainWindow::gridLayout
inherited

Definition at line 30 of file ui_mainwindow.h.

Referenced by Ui_MainWindow::setupUi().

QTabWidget* Ui_MainWindow::tabWidget
inherited

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