equal
deleted
inserted
replaced
44 GBoxOptions->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); |
44 GBoxOptions->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); |
45 mainLayout.addWidget(GBoxOptions); |
45 mainLayout.addWidget(GBoxOptions); |
46 |
46 |
47 QGridLayout *GBoxOptionsLayout = new QGridLayout(GBoxOptions); |
47 QGridLayout *GBoxOptionsLayout = new QGridLayout(GBoxOptions); |
48 |
48 |
49 QTableView * tv = new QTableView(this); |
49 tv = new QTableView(this); |
50 tv->setModel(new AmmoSchemeModel); |
|
51 GBoxOptionsLayout->addWidget(tv, 0, 0, 1, 2); |
50 GBoxOptionsLayout->addWidget(tv, 0, 0, 1, 2); |
52 |
51 |
53 QPushButton * goToSchemePage = new QPushButton(GBoxOptions); |
52 QPushButton * goToSchemePage = new QPushButton(GBoxOptions); |
54 goToSchemePage->setText(tr("Edit schemes")); |
53 goToSchemePage->setText(tr("Edit schemes")); |
55 GBoxOptionsLayout->addWidget(goToSchemePage, 1, 0, 1, 2); |
54 GBoxOptionsLayout->addWidget(goToSchemePage, 1, 0, 1, 2); |