--- a/QTfrontend/hedgewars.qrc Wed Aug 06 12:47:42 2008 +0000
+++ b/QTfrontend/hedgewars.qrc Wed Aug 06 12:48:45 2008 +0000
@@ -29,5 +29,7 @@
<file>res/dropdown.png</file>
<file>res/checked.png</file>
<file>res/unchecked.png</file>
+ <file>res/graphicsicon.png</file>
+ <file>res/Save.png</file>
</qresource>
</RCC>
--- a/QTfrontend/main.cpp Wed Aug 06 12:47:42 2008 +0000
+++ b/QTfrontend/main.cpp Wed Aug 06 12:48:45 2008 +0000
@@ -65,7 +65,7 @@
"QPushButton{"
"border: solid;"
"border-width: 4px;"
- "border-radius: 8px;"
+ "border-radius: 10px;"
"border-color: orange;"
"background-origin: content;"
"}"
@@ -103,7 +103,7 @@
"QComboBox QAbstractItemView{"
"border: solid transparent;"
"border-width: 4px;"
- //"border-radius: 12px;"
+ //"border-radius: 12px;" -- bad corners look
"border-color: orange;"
"background-color: #0d0544;"
"color: orange;"
@@ -115,30 +115,29 @@
"border-width: 4px;"
"border-radius: 16px;"
"border-color: orange;"
- "background-color: #0d0544;"
+ "background-color: #130f2c;"
"color: orange;"
"font: bold 14px;"
"padding: 3px;"
+ "margin-top: 60px;"
+ "margin-left: 16px;"
+// "padding-top: 6px;"
"}"
- "QGroupBox:hover{"
- "border-color: yellow;"
+ "QGroupBox::indicator{"
+ "image: url(\":/res/graphicsicon.png\");"
"}"
- "QGroupBox:pressed{"
- "border-color: white;"
+ "QGroupBox::title{"
+ "subcontrol-origin: margin;"
+ "subcontrol-position: top left;"
+ "text-align: center;"
"}"
"QCheckBox{"
-// "background-color: #0d0544;"
"color: orange;"
"font: bold 14px;"
-// "padding: 3px;"
- "}"
- "QCheckBox::indicator{"
- "image-position: right;"
"}"
"QCheckBox::indicator:checked{"
"image: url(\":/res/checked.png\");"
- "image-position: right;"
"}"
"QCheckBox::indicator:unchecked{"
"image: url(\":/res/unchecked.png\");"
--- a/QTfrontend/pages.cpp Wed Aug 06 12:47:42 2008 +0000
+++ b/QTfrontend/pages.cpp Wed Aug 06 12:48:45 2008 +0000
@@ -284,6 +284,7 @@
BtnEditTeam = addButton(tr("Edit team"), GBTlayout, 0, 2);
AGGroupBox = new QGroupBox(this);
+ AGGroupBox->setCheckable(true);
AGGroupBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
AGGroupBox->setTitle(QGroupBox::tr("Audio/Graphic options"));
pageLayout->addWidget(AGGroupBox, 2, 1);
@@ -310,11 +311,11 @@
CBFullscreen->setText(QCheckBox::tr("Fullscreen"));
GBAlayout->addWidget(CBFullscreen);
- CBEnableSound = new QCheckBox(AGGroupBox);
+ CBEnableSound = new QCheckBox(AGGroupBox);
CBEnableSound->setText(QCheckBox::tr("Enable sound"));
GBAlayout->addWidget(CBEnableSound);
- CBEnableMusic = new QCheckBox(AGGroupBox);
+ CBEnableMusic = new QCheckBox(AGGroupBox);
CBEnableMusic->setText(QCheckBox::tr("Enable music"));
GBAlayout->addWidget(CBEnableMusic);
@@ -329,7 +330,7 @@
fpsedit = new FPSEdit(AGGroupBox);
GBAfpslayout->addWidget(fpsedit);
- BtnSaveOptions = addButton(tr("Save"), pageLayout, 4, 2);
+ BtnSaveOptions = addButton(":/res/Save.png", pageLayout, 4, 2, true);
BtnBack = addButton(":/res/Exit.png", pageLayout, 4, 0, true);
Binary file QTfrontend/res/Save.png has changed
Binary file QTfrontend/res/graphicsicon.png has changed