QTfrontend/pagemain.h
changeset 6042 8b5345758f62
parent 5763 d7a887c7e2d0
--- a/QTfrontend/pagemain.h	Mon Sep 26 21:45:33 2011 +0400
+++ b/QTfrontend/pagemain.h	Tue Sep 27 00:38:39 2011 +0200
@@ -26,15 +26,21 @@
     Q_OBJECT
 
 public:
-    PageMain(QWidget* parent = 0);
+    PageMain(QWidget * parent = 0);
 
-    QPushButton *BtnSinglePlayer;
-    QPushButton *BtnNet;
-    QPushButton *BtnSetup;
-    QPushButton *BtnInfo;
-    QPushButton *BtnExit;
-    QPushButton *BtnDataDownload;
-    QLabel *mainNote;
+    QPushButton * BtnSinglePlayer;
+    QPushButton * BtnNet;
+    QPushButton * BtnSetup;
+    QPushButton * BtnInfo;
+    QPushButton * BtnDataDownload;
+    QLabel * mainNote;
+
+private:
+    QLayout * bodyLayoutDefinition();
+    QLayout * footerLayoutDefinition();
+    void connectSignals();
+
+    QString randomTip() const;
 };
 
 #endif