QTfrontend/ui/page/pageoptions.cpp
changeset 6699 83dd3447a212
parent 6616 f77bb02b669f
child 6700 e04da46ee43c
equal deleted inserted replaced
6698:804e9076d136 6699:83dd3447a212
   121 
   121 
   122         SchemesName = new QComboBox(groupWeapons);
   122         SchemesName = new QComboBox(groupWeapons);
   123         WeaponsLayout->addWidget(SchemesName, 1, 1);
   123         WeaponsLayout->addWidget(SchemesName, 1, 1);
   124 
   124 
   125         SchemeNew = new QPushButton(groupWeapons);
   125         SchemeNew = new QPushButton(groupWeapons);
   126         SchemeNew->setToolTip(tr("New scheme"));
   126         SchemeNew->setWhatsThis(tr("New scheme"));
   127         SchemeNew->setIconSize(pmNew.size());
   127         SchemeNew->setIconSize(pmNew.size());
   128         SchemeNew->setIcon(pmNew);
   128         SchemeNew->setIcon(pmNew);
   129         SchemeNew->setMaximumWidth(pmNew.width() + 6);
   129         SchemeNew->setMaximumWidth(pmNew.width() + 6);
   130         WeaponsLayout->addWidget(SchemeNew, 1, 2);
   130         WeaponsLayout->addWidget(SchemeNew, 1, 2);
   131 
   131 
   132         SchemeEdit = new QPushButton(groupWeapons);
   132         SchemeEdit = new QPushButton(groupWeapons);
   133         SchemeEdit->setToolTip(tr("Edit scheme"));
   133         SchemeEdit->setWhatsThis(tr("Edit scheme"));
   134         SchemeEdit->setIconSize(pmEdit.size());
   134         SchemeEdit->setIconSize(pmEdit.size());
   135         SchemeEdit->setIcon(pmEdit);
   135         SchemeEdit->setIcon(pmEdit);
   136         SchemeEdit->setMaximumWidth(pmEdit.width() + 6);
   136         SchemeEdit->setMaximumWidth(pmEdit.width() + 6);
   137         WeaponsLayout->addWidget(SchemeEdit, 1, 3);
   137         WeaponsLayout->addWidget(SchemeEdit, 1, 3);
   138 
   138 
   139         SchemeDelete = new QPushButton(groupWeapons);
   139         SchemeDelete = new QPushButton(groupWeapons);
   140         SchemeDelete->setToolTip(tr("Delete scheme"));
   140         SchemeDelete->setWhatsThis(tr("Delete scheme"));
   141         SchemeDelete->setIconSize(pmDelete.size());
   141         SchemeDelete->setIconSize(pmDelete.size());
   142         SchemeDelete->setIcon(pmDelete);
   142         SchemeDelete->setIcon(pmDelete);
   143         SchemeDelete->setMaximumWidth(pmDelete.width() + 6);
   143         SchemeDelete->setMaximumWidth(pmDelete.width() + 6);
   144         WeaponsLayout->addWidget(SchemeDelete, 1, 4);
   144         WeaponsLayout->addWidget(SchemeDelete, 1, 4);
   145 
   145 
   149 
   149 
   150         WeaponsName = new QComboBox(groupWeapons);
   150         WeaponsName = new QComboBox(groupWeapons);
   151         WeaponsLayout->addWidget(WeaponsName, 2, 1);
   151         WeaponsLayout->addWidget(WeaponsName, 2, 1);
   152 
   152 
   153         WeaponNew = new QPushButton(groupWeapons);
   153         WeaponNew = new QPushButton(groupWeapons);
   154         WeaponNew->setToolTip(tr("New weapon set"));
   154         WeaponNew->setWhatsThis(tr("New weapon set"));
   155         WeaponNew->setIconSize(pmNew.size());
   155         WeaponNew->setIconSize(pmNew.size());
   156         WeaponNew->setIcon(pmNew);
   156         WeaponNew->setIcon(pmNew);
   157         WeaponNew->setMaximumWidth(pmNew.width() + 6);
   157         WeaponNew->setMaximumWidth(pmNew.width() + 6);
   158         WeaponsLayout->addWidget(WeaponNew, 2, 2);
   158         WeaponsLayout->addWidget(WeaponNew, 2, 2);
   159 
   159 
   160         WeaponEdit = new QPushButton(groupWeapons);
   160         WeaponEdit = new QPushButton(groupWeapons);
   161         WeaponEdit->setToolTip(tr("Edit weapon set"));
   161         WeaponEdit->setWhatsThis(tr("Edit weapon set"));
   162         WeaponEdit->setIconSize(pmEdit.size());
   162         WeaponEdit->setIconSize(pmEdit.size());
   163         WeaponEdit->setIcon(pmEdit);
   163         WeaponEdit->setIcon(pmEdit);
   164         WeaponEdit->setMaximumWidth(pmEdit.width() + 6);
   164         WeaponEdit->setMaximumWidth(pmEdit.width() + 6);
   165         WeaponsLayout->addWidget(WeaponEdit, 2, 3);
   165         WeaponsLayout->addWidget(WeaponEdit, 2, 3);
   166 
   166 
   167         WeaponDelete = new QPushButton(groupWeapons);
   167         WeaponDelete = new QPushButton(groupWeapons);
   168         WeaponDelete->setToolTip(tr("Delete weapon set"));
   168         WeaponDelete->setWhatsThis(tr("Delete weapon set"));
   169         WeaponDelete->setIconSize(pmDelete.size());
   169         WeaponDelete->setIconSize(pmDelete.size());
   170         WeaponDelete->setIcon(pmDelete);
   170         WeaponDelete->setIcon(pmDelete);
   171         WeaponDelete->setMaximumWidth(pmDelete.width() + 6);
   171         WeaponDelete->setMaximumWidth(pmDelete.width() + 6);
   172         WeaponsLayout->addWidget(WeaponDelete, 2, 4);
   172         WeaponsLayout->addWidget(WeaponDelete, 2, 4);
   173 
   173