ui/qt/window.cpp

changeset 67
f72c4f01bf4a
parent 66
8d490d97aab8
child 106
a4f4123ca12a
equal deleted inserted replaced
66:8d490d97aab8 67:f72c4f01bf4a
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);

mercurial