cockpit
This commit is contained in:
@@ -62,6 +62,7 @@ LIBS += -L$$PWD/../thirdpart/lib -lSkin
|
||||
LIBS += -L$$PWD/../thirdpart/lib -lSerialPort
|
||||
LIBS += -L$$PWD/../thirdpart/lib -lClientLink
|
||||
LIBS += -L$$PWD/../thirdpart/lib -lqNavigation
|
||||
LIBS += -L$$PWD/../thirdpart/lib -lCockpit
|
||||
|
||||
|
||||
|
||||
|
||||
+7
-1
@@ -10,6 +10,9 @@
|
||||
|
||||
#include "QHBoxLayout"
|
||||
|
||||
|
||||
#include "Cockpit.h"
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
{
|
||||
@@ -18,10 +21,13 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
|
||||
QNavigationWidget *nav = new QNavigationWidget(this);
|
||||
|
||||
Cockpit *copk = new Cockpit(this);
|
||||
|
||||
copk->setGeometry(this->width() - copk->width(),0,copk->width(),copk->height());
|
||||
|
||||
|
||||
nav->setGeometry(0,0,50,this->height());
|
||||
|
||||
|
||||
nav->addItem("map");
|
||||
nav->addItem("setting");
|
||||
nav->addItem("help");
|
||||
|
||||
Reference in New Issue
Block a user