QTfrontend/pagemain.cpp
changeset 5763 d7a887c7e2d0
parent 5646 1d44c448cfa4
child 6042 8b5345758f62
--- a/QTfrontend/pagemain.cpp	Sun Sep 04 19:04:36 2011 +0400
+++ b/QTfrontend/pagemain.cpp	Sun Sep 04 12:06:10 2011 -0400
@@ -41,6 +41,7 @@
     pageLayout->setRowStretch(2, 0);
     pageLayout->setRowStretch(3, 1);
     pageLayout->setRowStretch(4, 1);
+    pageLayout->setRowStretch(5, 1);
 
     BtnSinglePlayer = addButton(":/res/LocalPlay.png", pageLayout, 2, 0, 1, 2, true);
     BtnSinglePlayer->setToolTip(tr("Local Game (Play a game on a single computer)"));
@@ -50,6 +51,9 @@
     BtnNet->setToolTip(tr("Network Game (Play a game across a network)"));
     pageLayout->setAlignment(BtnNet, Qt::AlignHCenter);
 
+    BtnDataDownload = addButton(tr("Downloadable Content"), pageLayout, 4, 0, 1, 4, false);
+    pageLayout->setAlignment(BtnDataDownload, Qt::AlignHCenter);
+
     mainNote = new QLabel(this);
     mainNote->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
     mainNote->setWordWrap(true);
@@ -119,9 +123,9 @@
     else
         mainNote->setText(QLabel::tr("This development build is 'work in progress' and may not be compatible with other versions of the game. Some features might be broken or incomplete. Use at your own risk!"));
 
-    pageLayout->addWidget(mainNote, 4, 1, 1, 2);
+    pageLayout->addWidget(mainNote, 5, 1, 1, 2);
 
-    BtnSetup = addButton(":/res/Settings.png", pageLayout, 4, 3, true);
+    BtnSetup = addButton(":/res/Settings.png", pageLayout, 5, 3, true);
 
     //BtnInfo = addButton(":/res/About.png", pageLayout, 3, 1, 1, 2, true);
     BtnInfo = addButton(":/res/HedgewarsTitle.png", pageLayout, 0, 0, 1, 4, true);
@@ -129,7 +133,7 @@
     pageLayout->setAlignment(BtnInfo, Qt::AlignHCenter);
     //pageLayout->setAlignment(BtnInfo, Qt::AlignHCenter);
 
-    BtnExit = addButton(":/res/Exit.png", pageLayout, 4, 0, 1, 1, true);
+    BtnExit = addButton(":/res/Exit.png", pageLayout, 5, 0, 1, 1, true);
     BtnExit->setFixedHeight(BtnSetup->height());
     BtnExit->setStyleSheet("QPushButton{margin-top: 2px;}");
 }