QTfrontend/pages.cpp
changeset 297 279e10ec31b4
parent 290 09738170c557
child 306 7b61834edcf6
--- a/QTfrontend/pages.cpp	Sun Dec 10 18:13:10 2006 +0000
+++ b/QTfrontend/pages.cpp	Sun Dec 10 18:57:05 2006 +0000
@@ -37,6 +37,7 @@
 #include "SquareLabel.h"
 #include "mapContainer.h"
 #include "about.h"
+#include "fpsedit.h"
 
 PageMain::PageMain(QWidget* parent) : QWidget(parent)
 {
@@ -345,6 +346,13 @@
 	CBEnableSound->setText(QCheckBox::tr("Enable sound"));
 	GBAlayout->addWidget(CBEnableSound, 0, 2);
 
+	CBShowFPS = new QCheckBox(AGGroupBox);
+	CBShowFPS->setText(QCheckBox::tr("Show FPS"));
+	GBAlayout->addWidget(CBShowFPS, 0, 3);
+
+	fpsedit = new FPSEdit(AGGroupBox);
+	GBAlayout->addWidget(fpsedit, 0, 4);
+
 	pageLayout->addWidget(new QWidget(), 3, 0, 1, 3);
 
 	BtnSaveOptions = new QPushButton(this);