summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-01-21 20:46:31 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-01-21 20:46:31 -0500
commitda60ec232ac6b8bcd93b7ca9a1eafa5728bdc9dd (patch)
treee075f28c66871aa7a6edb8ce8e54e644499ba07e
parente287fdb7f62dac39b1c4c580b39ec4e88537bf63 (diff)
downloadsigen-da60ec232ac6b8bcd93b7ca9a1eafa5728bdc9dd.tar.gz
sigen-da60ec232ac6b8bcd93b7ca9a1eafa5728bdc9dd.tar.xz
sigen-da60ec232ac6b8bcd93b7ca9a1eafa5728bdc9dd.zip
Minor UI fixes
-rw-r--r--sigmodr/NatureUI.cpp4
-rw-r--r--sigmodr/gui/sound.ui3
2 files changed, 6 insertions, 1 deletions
diff --git a/sigmodr/NatureUI.cpp b/sigmodr/NatureUI.cpp
index c8c5ef40..814cb3d6 100644
--- a/sigmodr/NatureUI.cpp
+++ b/sigmodr/NatureUI.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -23,6 +23,8 @@
#include "../sigmod/Rules.h"
#include "../sigmod/Sigmod.h"
+// TODO: Use QTableView with delegates for stat editing
+
Sigmodr::NatureUI::NatureUI(Sigmod::Nature* nature, QWidget* parent) :
ObjectUI(parent)
{
diff --git a/sigmodr/gui/sound.ui b/sigmodr/gui/sound.ui
index 5908569f..0b300e8f 100644
--- a/sigmodr/gui/sound.ui
+++ b/sigmodr/gui/sound.ui
@@ -112,6 +112,9 @@
<property name="whatsThis" >
<string comment="Volume control" >Volume</string>
</property>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
</widget>
</item>
<item row="1" column="4" >