22 lines
461 B
C++
22 lines
461 B
C++
#include "MainWindow.h"
|
|
#include <QSplitter>
|
|
#include "MainPanel.h"
|
|
#include "Core/ObjectsContext.h"
|
|
|
|
using namespace uLib;
|
|
|
|
MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent) {
|
|
m_panel = new MainPanel(this);
|
|
setCentralWidget(m_panel);
|
|
|
|
setWindowTitle("gcompose - Qt VTK Interface");
|
|
resize(1200, 800);
|
|
}
|
|
|
|
MainWindow::~MainWindow() {
|
|
}
|
|
|
|
void MainWindow::setContext(uLib::ObjectsContext* context) {
|
|
m_panel->setContext(context);
|
|
}
|