1 #include "qui/SubanalysisWindow.hpp"
6 SubanalysisWindow::SubanalysisWindow(QWidget *parent)
12 //model.setStringList(string_list);
14 QHBoxLayout *buttonLayout = new QHBoxLayout();
15 QVBoxLayout *verticalLayout = new QVBoxLayout();
17 ok = new QPushButton(tr("&OK"), this);
18 cancel = new QPushButton(tr("Cancel"), this);
19 table = new QTableView(this);
20 table->setModel(&model);
22 buttonLayout->addWidget(ok);
23 buttonLayout->addWidget(cancel);
24 verticalLayout->addWidget(table);
25 verticalLayout->addLayout(buttonLayout);
26 setLayout(verticalLayout);