44 selectWeaponSet->setMaxVisibleItems(50); |
44 selectWeaponSet->setMaxVisibleItems(50); |
45 bottomLayout->addWidget(selectWeaponSet, 0, 0, 2, 1); |
45 bottomLayout->addWidget(selectWeaponSet, 0, 0, 2, 1); |
46 |
46 |
47 // first row |
47 // first row |
48 BtnNew = addButton(tr("New"), bottomLayout, 0, 1); |
48 BtnNew = addButton(tr("New"), bottomLayout, 0, 1); |
|
49 BtnNew->setStyleSheet("padding: 3px;"); |
49 BtnDefault = addButton(tr("Default"), bottomLayout, 0, 2); |
50 BtnDefault = addButton(tr("Default"), bottomLayout, 0, 2); |
|
51 BtnDefault->setStyleSheet("padding: 3px;"); |
50 |
52 |
51 // second row |
53 // second row |
52 BtnCopy = addButton(tr("Copy"), bottomLayout, 1, 1); |
54 BtnCopy = addButton(tr("Copy"), bottomLayout, 1, 1); |
|
55 BtnCopy->setStyleSheet("padding: 3px;"); |
53 BtnDelete = addButton(tr("Delete"), bottomLayout, 1, 2); |
56 BtnDelete = addButton(tr("Delete"), bottomLayout, 1, 2); |
|
57 BtnDelete->setStyleSheet("padding: 3px;"); |
54 |
58 |
55 bottomLayout->setColumnStretch(1,1); |
59 bottomLayout->setColumnStretch(1,1); |
56 bottomLayout->setColumnStretch(2,1); |
60 bottomLayout->setColumnStretch(2,1); |
57 |
61 |
58 return bottomLayout; |
62 return bottomLayout; |