mainwindow.cpp
19 lines
| 388 B
| text/x-c
|
CppLexer
/ mainwindowaswidget / mainwindow.cpp
|
r35 | #include "mainwindow.h" | ||
MainWindow::MainWindow(QWidget *parent) | ||||
: QMainWindow(parent) | ||||
{ | ||||
spwTabWidget = new QTabWidget(); | ||||
wfPage = new WFPage(); | ||||
wfDisplay = new WFDisplay(); | ||||
spwTabWidget->addTab((QWidget*) wfDisplay, "wdDisplay"); | ||||
spwTabWidget->addTab((QWidget*) wfPage, "wfPage"); | ||||
this->setCentralWidget(spwTabWidget); | ||||
} | ||||
MainWindow::~MainWindow() | ||||
{ | ||||
} | ||||