1628 glBSLayout->addWidget(l,4,0,1,1); |
1624 glBSLayout->addWidget(l,4,0,1,1); |
1629 l = new QLabel(gbBasicSettings); |
1625 l = new QLabel(gbBasicSettings); |
1630 l->setFixedSize(32,32); |
1626 l->setFixedSize(32,32); |
1631 l->setPixmap(QPixmap(":/res/iconBox.png")); |
1627 l->setPixmap(QPixmap(":/res/iconBox.png")); |
1632 glBSLayout->addWidget(l,4,1,1,1); |
1628 glBSLayout->addWidget(l,4,1,1,1); |
1633 |
|
1634 SB_CaseProb = new FreqSpinBox(gbBasicSettings); |
1629 SB_CaseProb = new FreqSpinBox(gbBasicSettings); |
1635 SB_CaseProb->setRange(0, 9); |
1630 SB_CaseProb->setRange(0, 9); |
1636 SB_CaseProb->setValue(5); |
1631 SB_CaseProb->setValue(5); |
1637 glBSLayout->addWidget(SB_CaseProb,4,2,1,1); |
1632 glBSLayout->addWidget(SB_CaseProb,4,2,1,1); |
1638 |
1633 |
1639 l = new QLabel(gbBasicSettings); |
1634 l = new QLabel(gbBasicSettings); |
|
1635 l->setText(QLabel::tr("% Health Crates")); |
|
1636 l->setWordWrap(true); |
|
1637 glBSLayout->addWidget(l,5,0,1,1); |
|
1638 l = new QLabel(gbBasicSettings); |
|
1639 l->setFixedSize(32,32); |
|
1640 l->setPixmap(QPixmap(":/res/iconHealth.png")); // TODO: icon |
|
1641 glBSLayout->addWidget(l,5,1,1,1); |
|
1642 SB_HealthCrates = new QSpinBox(gbBasicSettings); |
|
1643 SB_HealthCrates->setRange(0, 100); |
|
1644 SB_HealthCrates->setValue(35); |
|
1645 SB_HealthCrates->setSingleStep(5); |
|
1646 glBSLayout->addWidget(SB_HealthCrates,5,2,1,1); |
|
1647 |
|
1648 l = new QLabel(gbBasicSettings); |
|
1649 l->setText(QLabel::tr("Health in Crates")); |
|
1650 l->setWordWrap(true); |
|
1651 glBSLayout->addWidget(l,6,0,1,1); |
|
1652 l = new QLabel(gbBasicSettings); |
|
1653 l->setFixedSize(32,32); |
|
1654 l->setPixmap(QPixmap(":/res/iconHealth.png")); // TODO: icon |
|
1655 glBSLayout->addWidget(l,6,1,1,1); |
|
1656 SB_CrateHealth = new QSpinBox(gbBasicSettings); |
|
1657 SB_CrateHealth->setRange(0, 200); |
|
1658 SB_CrateHealth->setValue(25); |
|
1659 SB_CrateHealth->setSingleStep(5); |
|
1660 glBSLayout->addWidget(SB_CrateHealth,6,2,1,1); |
|
1661 |
|
1662 l = new QLabel(gbBasicSettings); |
1640 l->setText(QLabel::tr("Mines Time")); |
1663 l->setText(QLabel::tr("Mines Time")); |
1641 l->setWordWrap(true); |
1664 l->setWordWrap(true); |
1642 glBSLayout->addWidget(l,5,0,1,1); |
1665 glBSLayout->addWidget(l,7,0,1,1); |
1643 l = new QLabel(gbBasicSettings); |
1666 l = new QLabel(gbBasicSettings); |
1644 l->setFixedSize(32,32); |
1667 l->setFixedSize(32,32); |
1645 l->setPixmap(QPixmap(":/res/iconTime.png")); // TODO: icon |
1668 l->setPixmap(QPixmap(":/res/iconTime.png")); // TODO: icon |
1646 glBSLayout->addWidget(l,5,1,1,1); |
1669 glBSLayout->addWidget(l,7,1,1,1); |
1647 SB_MinesTime = new QSpinBox(gbBasicSettings); |
1670 SB_MinesTime = new QSpinBox(gbBasicSettings); |
1648 SB_MinesTime->setRange(-1, 5); |
1671 SB_MinesTime->setRange(-1, 5); |
1649 SB_MinesTime->setValue(3); |
1672 SB_MinesTime->setValue(3); |
1650 SB_MinesTime->setSingleStep(1); |
1673 SB_MinesTime->setSingleStep(1); |
1651 SB_MinesTime->setSpecialValueText(tr("Random")); |
1674 SB_MinesTime->setSpecialValueText(tr("Random")); |
1652 SB_MinesTime->setSuffix(" "+ tr("Seconds")); |
1675 SB_MinesTime->setSuffix(" "+ tr("Seconds")); |
1653 glBSLayout->addWidget(SB_MinesTime,5,2,1,1); |
1676 glBSLayout->addWidget(SB_MinesTime,7,2,1,1); |
1654 |
1677 |
1655 l = new QLabel(gbBasicSettings); |
1678 l = new QLabel(gbBasicSettings); |
1656 l->setText(QLabel::tr("Mines")); |
1679 l->setText(QLabel::tr("Mines")); |
1657 l->setWordWrap(true); |
1680 l->setWordWrap(true); |
1658 glBSLayout->addWidget(l,6,0,1,1); |
1681 glBSLayout->addWidget(l,8,0,1,1); |
1659 l = new QLabel(gbBasicSettings); |
1682 l = new QLabel(gbBasicSettings); |
1660 l->setFixedSize(32,32); |
1683 l->setFixedSize(32,32); |
1661 l->setPixmap(QPixmap(":/res/iconMine.png")); // TODO: icon |
1684 l->setPixmap(QPixmap(":/res/iconMine.png")); // TODO: icon |
1662 glBSLayout->addWidget(l,6,1,1,1); |
1685 glBSLayout->addWidget(l,8,1,1,1); |
1663 SB_Mines = new QSpinBox(gbBasicSettings); |
1686 SB_Mines = new QSpinBox(gbBasicSettings); |
1664 SB_Mines->setRange(0, 80); |
1687 SB_Mines->setRange(0, 80); |
1665 SB_Mines->setValue(0); |
1688 SB_Mines->setValue(0); |
1666 SB_Mines->setSingleStep(5); |
1689 SB_Mines->setSingleStep(5); |
1667 glBSLayout->addWidget(SB_Mines,6,2,1,1); |
1690 glBSLayout->addWidget(SB_Mines,8,2,1,1); |
1668 |
1691 |
1669 l = new QLabel(gbBasicSettings); |
1692 l = new QLabel(gbBasicSettings); |
1670 l->setText(QLabel::tr("% Dud Mines")); |
1693 l->setText(QLabel::tr("% Dud Mines")); |
1671 l->setWordWrap(true); |
1694 l->setWordWrap(true); |
1672 glBSLayout->addWidget(l,7,0,1,1); |
1695 glBSLayout->addWidget(l,9,0,1,1); |
1673 l = new QLabel(gbBasicSettings); |
1696 l = new QLabel(gbBasicSettings); |
1674 l->setFixedSize(32,32); |
1697 l->setFixedSize(32,32); |
1675 l->setPixmap(QPixmap(":/res/iconDud.png")); |
1698 l->setPixmap(QPixmap(":/res/iconDud.png")); |
1676 glBSLayout->addWidget(l,7,1,1,1); |
1699 glBSLayout->addWidget(l,9,1,1,1); |
1677 SB_MineDuds = new QSpinBox(gbBasicSettings); |
1700 SB_MineDuds = new QSpinBox(gbBasicSettings); |
1678 SB_MineDuds->setRange(0, 100); |
1701 SB_MineDuds->setRange(0, 100); |
1679 SB_MineDuds->setValue(0); |
1702 SB_MineDuds->setValue(0); |
1680 SB_MineDuds->setSingleStep(5); |
1703 SB_MineDuds->setSingleStep(5); |
1681 glBSLayout->addWidget(SB_MineDuds,7,2,1,1); |
1704 glBSLayout->addWidget(SB_MineDuds,9,2,1,1); |
1682 |
1705 |
1683 |
1706 |
1684 l = new QLabel(gbBasicSettings); |
1707 l = new QLabel(gbBasicSettings); |
1685 l->setText(QLabel::tr("Explosives")); |
1708 l->setText(QLabel::tr("Explosives")); |
1686 l->setWordWrap(true); |
1709 l->setWordWrap(true); |
1687 glBSLayout->addWidget(l,8,0,1,1); |
1710 glBSLayout->addWidget(l,10,0,1,1); |
1688 l = new QLabel(gbBasicSettings); |
1711 l = new QLabel(gbBasicSettings); |
1689 l->setFixedSize(32,32); |
1712 l->setFixedSize(32,32); |
1690 l->setPixmap(QPixmap(":/res/iconDamage.png")); |
1713 l->setPixmap(QPixmap(":/res/iconDamage.png")); |
1691 glBSLayout->addWidget(l,8,1,1,1); |
1714 glBSLayout->addWidget(l,10,1,1,1); |
1692 SB_Explosives = new QSpinBox(gbBasicSettings); |
1715 SB_Explosives = new QSpinBox(gbBasicSettings); |
1693 SB_Explosives->setRange(0, 40); |
1716 SB_Explosives->setRange(0, 40); |
1694 SB_Explosives->setValue(0); |
1717 SB_Explosives->setValue(0); |
1695 SB_Explosives->setSingleStep(1); |
1718 SB_Explosives->setSingleStep(1); |
1696 glBSLayout->addWidget(SB_Explosives,8,2,1,1); |
1719 glBSLayout->addWidget(SB_Explosives,10,2,1,1); |
1697 |
1720 |
1698 |
1721 |
1699 l = new QLabel(gbBasicSettings); |
1722 l = new QLabel(gbBasicSettings); |
1700 l->setText(QLabel::tr("Scheme Name:")); |
1723 l->setText(QLabel::tr("Scheme Name:")); |
1701 |
1724 |