QTfrontend/selectWeapon.cpp
changeset 723 35f7bdb93268
parent 719 bea32693bd7a
child 724 21706280d913
equal deleted inserted replaced
722:993faebbe546 723:35f7bdb93268
    91     weaponItems[i]=new SelWeaponItem(i, currentState[i].digitValue(), this);
    91     weaponItems[i]=new SelWeaponItem(i, currentState[i].digitValue(), this);
    92     pLayout->addWidget(weaponItems[i], j, k%4);
    92     pLayout->addWidget(weaponItems[i], j, k%4);
    93     ++k;
    93     ++k;
    94   }
    94   }
    95 
    95 
    96   pLayout->setRowStretch(5, 100);
    96   //pLayout->setRowStretch(5, 100);
    97   m_name = new QLineEdit(this);
    97   m_name = new QLineEdit(this);
    98   pLayout->addWidget(m_name, i, 0, 1, 5);
    98   pLayout->addWidget(m_name, i, 0, 1, 5);
    99 }
    99 }
   100 
   100 
   101 void SelWeaponWidget::setWeapons(const QString& ammo)
   101 void SelWeaponWidget::setWeapons(const QString& ammo)