QTfrontend/selectWeapon.cpp
changeset 624 e7673b036db5
parent 612 333d095319de
child 629 fb03a39a10ff
--- a/QTfrontend/selectWeapon.cpp	Fri Oct 26 18:55:27 2007 +0000
+++ b/QTfrontend/selectWeapon.cpp	Fri Nov 30 18:31:41 2007 +0000
@@ -15,10 +15,19 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
+ 
+#include "selectWeapon.h"
 
-#include "selectWeapon.h"
+#include <QPushButton>
+#include <QGridLayout>
+
+#include "weaponItem.h"
 
 SelWeaponWidget::SelWeaponWidget(QWidget* parent) :
 QWidget(parent)
 {
+  pLayout=new QGridLayout(this);
+  
+  WeaponItem* item=new WeaponItem(QImage(":/res/M2Round2.jpg"), this);
+  pLayout->addWidget(item);
 }