mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
31 lines
656 B
C++
31 lines
656 B
C++
|
#include "qnelwindow.h"
|
||
|
|
||
|
#include <QSplitter>
|
||
|
|
||
|
#include "qnelwidget.h"
|
||
|
|
||
|
QNelWindow::QNelWindow (QWidget *parent, Qt::WFlags f) : QMainWindow (parent, f)
|
||
|
{
|
||
|
initWindow();
|
||
|
}
|
||
|
|
||
|
void QNelWindow::initWindow()
|
||
|
{
|
||
|
|
||
|
/// Create ogre widget.
|
||
|
|
||
|
/// Create our gui stuff
|
||
|
QSplitter *splitter = new QSplitter (Qt::Vertical);
|
||
|
//myWidget = new CameraTrackWidget (splitter);
|
||
|
QNelWidget *nelWidget = new QNelWidget();
|
||
|
splitter->addWidget((QWidget*)nelWidget);
|
||
|
//myWidget2 = new CameraTrackWidget (splitter);
|
||
|
//splitter->addWidget (myWidget2);
|
||
|
|
||
|
nelWidget->show();
|
||
|
//myWidget2->show();
|
||
|
splitter->show();
|
||
|
|
||
|
setCentralWidget (splitter);
|
||
|
}
|