QTfrontend/selectWeapon.cpp
changeset 624 e7673b036db5
parent 612 333d095319de
child 629 fb03a39a10ff
equal deleted inserted replaced
623:ca1c1bd15915 624:e7673b036db5
    13  *
    13  *
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  */
    17  */
       
    18  
       
    19 #include "selectWeapon.h"
    18 
    20 
    19 #include "selectWeapon.h"
    21 #include <QPushButton>
       
    22 #include <QGridLayout>
       
    23 
       
    24 #include "weaponItem.h"
    20 
    25 
    21 SelWeaponWidget::SelWeaponWidget(QWidget* parent) :
    26 SelWeaponWidget::SelWeaponWidget(QWidget* parent) :
    22 QWidget(parent)
    27 QWidget(parent)
    23 {
    28 {
       
    29   pLayout=new QGridLayout(this);
       
    30   
       
    31   WeaponItem* item=new WeaponItem(QImage(":/res/M2Round2.jpg"), this);
       
    32   pLayout->addWidget(item);
    24 }
    33 }