QTfrontend/pages.cpp
changeset 600 f6e5f4e122db
parent 597 ec5f057ab268
child 603 d7877468653b
--- a/QTfrontend/pages.cpp	Tue Sep 18 18:53:54 2007 +0000
+++ b/QTfrontend/pages.cpp	Tue Sep 18 19:52:46 2007 +0000
@@ -583,6 +583,20 @@
 	BtnBack->setFont(*font14);
 	BtnBack->setText(QPushButton::tr("Back"));
 	pageLayout->addWidget(BtnBack, 1, 0);
-
 }
 
+PageSelectWeapon::PageSelectWeapon(QWidget* parent) : QWidget(parent)
+{
+	QFont * font14 = new QFont("MS Shell Dlg", 14);
+	QGridLayout * pageLayout = new QGridLayout(this);
+	pageLayout->setMargin(25);
+	pageLayout->setColumnStretch(0, 1);
+	pageLayout->setColumnStretch(1, 2);
+	pageLayout->setColumnStretch(2, 1);
+
+	BtnBack = new QPushButton(this);
+	BtnBack->setFont(*font14);
+	BtnBack->setText(QPushButton::tr("Back"));
+	pageLayout->addWidget(BtnBack, 1, 0);
+}
+