#ifndef UI_MAINWINDOW_H
#define UI_MAINWINDOW_H
//Push button_6 and push button_7 does not appear in the gui when i run the project.but it s n the file
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QHeaderView>
#include <QtGui/QMainWindow>
#include <QtGui/QMenu>
#include <QtGui/QMenuBar>
#include <QtGui/QPushButton>
#include <QtGui/QStatusBar>
#include <QtGui/QToolBar>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_MainWindow
{
public:
QMenu *menuCONTROL_CENTER;
{
if (MainWindow->objectName().isEmpty())
MainWindow
->setObjectName
(QString::fromUtf8("MainWindow"));
MainWindow->resize(600, 347);
centralWidget
= new QWidget(MainWindow
);
centralWidget
->setObjectName
(QString::fromUtf8("centralWidget"));
pushButton
->setObjectName
(QString::fromUtf8("pushButton"));
pushButton
->setGeometry
(QRect(50,
50,
171,
41));
pushButton_2
->setObjectName
(QString::fromUtf8("pushButton_2"));
pushButton_2
->setGeometry
(QRect(360,
50,
171,
41));
pushButton_3
->setObjectName
(QString::fromUtf8("pushButton_3"));
pushButton_3
->setGeometry
(QRect(50,
180,
171,
41));
pushButton_4
->setObjectName
(QString::fromUtf8("pushButton_4"));
pushButton_4
->setGeometry
(QRect(360,
180,
171,
41));
pushButton_5
->setObjectName
(QString::fromUtf8("pushButton_5"));
pushButton_5
->setGeometry
(QRect(240,
250,
91,
27));
pushButton_6
->setObjectName
(QString::fromUtf8("pushButton_6"));
pushButton_6
->setGeometry
(QRect(200,
130,
96,
27));
pushButton_7
->setObjectName
(QString::fromUtf8("pushButton_7"));
pushButton_7
->setGeometry
(QRect(370,
130,
96,
27));
MainWindow->setCentralWidget(centralWidget);
menuBar
->setObjectName
(QString::fromUtf8("menuBar"));
menuBar
->setGeometry
(QRect(0,
0,
600,
27));
menuCONTROL_CENTER
= new QMenu(menuBar
);
menuCONTROL_CENTER
->setObjectName
(QString::fromUtf8("menuCONTROL_CENTER"));
MainWindow->setMenuBar(menuBar);
mainToolBar
->setObjectName
(QString::fromUtf8("mainToolBar"));
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
statusBar
->setObjectName
(QString::fromUtf8("statusBar"));
MainWindow->setStatusBar(statusBar);
menuBar->addAction(menuCONTROL_CENTER->menuAction());
retranslateUi(MainWindow);
QObject::connect(pushButton,
SIGNAL(clicked
()), MainWindow,
SLOT(update
()));
QObject::connect(pushButton_5,
SIGNAL(clicked
()), MainWindow,
SLOT(close
()));
QObject::connect(pushButton_2,
SIGNAL(clicked
()), MainWindow,
SLOT(update
()));
} // setupUi
{
} // retranslateUi
};
namespace Ui {
class MainWindow: public Ui_MainWindow {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_MAINWINDOW_H
#ifndef UI_MAINWINDOW_H
#define UI_MAINWINDOW_H
//Push button_6 and push button_7 does not appear in the gui when i run the project.but it s n the file
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QHeaderView>
#include <QtGui/QMainWindow>
#include <QtGui/QMenu>
#include <QtGui/QMenuBar>
#include <QtGui/QPushButton>
#include <QtGui/QStatusBar>
#include <QtGui/QToolBar>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_MainWindow
{
public:
QWidget *centralWidget;
QPushButton *pushButton;
QPushButton *pushButton_2;
QPushButton *pushButton_3;
QPushButton *pushButton_4;
QPushButton *pushButton_5;
QPushButton *pushButton_6;
QPushButton *pushButton_7;
QMenuBar *menuBar;
QMenu *menuCONTROL_CENTER;
QToolBar *mainToolBar;
QStatusBar *statusBar;
void setupUi(QMainWindow *MainWindow)
{
if (MainWindow->objectName().isEmpty())
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
MainWindow->resize(600, 347);
centralWidget = new QWidget(MainWindow);
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
pushButton = new QPushButton(centralWidget);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
pushButton->setGeometry(QRect(50, 50, 171, 41));
pushButton_2 = new QPushButton(centralWidget);
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
pushButton_2->setGeometry(QRect(360, 50, 171, 41));
pushButton_3 = new QPushButton(centralWidget);
pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
pushButton_3->setGeometry(QRect(50, 180, 171, 41));
pushButton_4 = new QPushButton(centralWidget);
pushButton_4->setObjectName(QString::fromUtf8("pushButton_4"));
pushButton_4->setGeometry(QRect(360, 180, 171, 41));
pushButton_5 = new QPushButton(centralWidget);
pushButton_5->setObjectName(QString::fromUtf8("pushButton_5"));
pushButton_5->setGeometry(QRect(240, 250, 91, 27));
pushButton_6 = new QPushButton(centralWidget);
pushButton_6->setObjectName(QString::fromUtf8("pushButton_6"));
pushButton_6->setGeometry(QRect(200, 130, 96, 27));
pushButton_7 = new QPushButton(centralWidget);
pushButton_7->setObjectName(QString::fromUtf8("pushButton_7"));
pushButton_7->setGeometry(QRect(370, 130, 96, 27));
MainWindow->setCentralWidget(centralWidget);
menuBar = new QMenuBar(MainWindow);
menuBar->setObjectName(QString::fromUtf8("menuBar"));
menuBar->setGeometry(QRect(0, 0, 600, 27));
menuCONTROL_CENTER = new QMenu(menuBar);
menuCONTROL_CENTER->setObjectName(QString::fromUtf8("menuCONTROL_CENTER"));
MainWindow->setMenuBar(menuBar);
mainToolBar = new QToolBar(MainWindow);
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
statusBar = new QStatusBar(MainWindow);
statusBar->setObjectName(QString::fromUtf8("statusBar"));
MainWindow->setStatusBar(statusBar);
menuBar->addAction(menuCONTROL_CENTER->menuAction());
retranslateUi(MainWindow);
QObject::connect(pushButton, SIGNAL(clicked()), MainWindow, SLOT(update()));
QObject::connect(pushButton_5, SIGNAL(clicked()), MainWindow, SLOT(close()));
QObject::connect(pushButton_2, SIGNAL(clicked()), MainWindow, SLOT(update()));
QMetaObject::connectSlotsByName(MainWindow);
} // setupUi
void retranslateUi(QMainWindow *MainWindow)
{
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
pushButton->setText(QApplication::translate("MainWindow", "Date and Time", 0, QApplication::UnicodeUTF8));
pushButton_2->setText(QApplication::translate("MainWindow", "Display Settings", 0, QApplication::UnicodeUTF8));
pushButton_3->setText(QApplication::translate("MainWindow", "Networking", 0, QApplication::UnicodeUTF8));
pushButton_4->setText(QApplication::translate("MainWindow", "User Accounts", 0, QApplication::UnicodeUTF8));
pushButton_5->setText(QApplication::translate("MainWindow", "Cancel", 0, QApplication::UnicodeUTF8));
pushButton_6->setText(QApplication::translate("MainWindow", "PushButton", 0, QApplication::UnicodeUTF8));
pushButton_7->setText(QApplication::translate("MainWindow", "PushButton", 0, QApplication::UnicodeUTF8));
menuCONTROL_CENTER->setTitle(QApplication::translate("MainWindow", "CONTROL CENTER", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class MainWindow: public Ui_MainWindow {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_MAINWINDOW_H
To copy to clipboard, switch view to plain text mode
Bookmarks