49 ui_add_menus(obj, window); |
49 ui_add_menus(obj, window); |
50 |
50 |
51 QToolBar *toolbar = ui_create_toolbar(obj); |
51 QToolBar *toolbar = ui_create_toolbar(obj); |
52 window->addToolBar(Qt::TopToolBarArea, toolbar); |
52 window->addToolBar(Qt::TopToolBarArea, toolbar); |
53 |
53 |
54 //QBoxLayout *box = new QBoxLayout(QBoxLayout::TopToBottom); |
|
55 QBoxLayout *box = new QVBoxLayout(); |
54 QBoxLayout *box = new QVBoxLayout(); |
56 QWidget *boxWidget = new QWidget(); |
55 QWidget *boxWidget = new QWidget(); |
57 boxWidget->setLayout(box); |
56 boxWidget->setLayout(box); |
58 window->setCentralWidget(boxWidget); |
57 window->setCentralWidget(boxWidget); |
59 obj->container = new UiBoxContainer(box); |
58 obj->container = new UiBoxContainer(box); |