small set label changes, bigger touch field for show cards button

This commit is contained in:
doitux
2012-06-08 12:34:55 +02:00
parent 63a3f4be73
commit 4170a9a722
3 changed files with 28 additions and 19 deletions
+21 -18
View File
@@ -207,7 +207,7 @@
<property name="geometry">
<rect>
<x>57</x>
<y>123</y>
<y>122</y>
<width>100</width>
<height>15</height>
</rect>
@@ -555,7 +555,7 @@ p, li { white-space: pre-wrap; }
<property name="geometry">
<rect>
<x>57</x>
<y>0</y>
<y>1</y>
<width>100</width>
<height>15</height>
</rect>
@@ -949,7 +949,7 @@ p, li { white-space: pre-wrap; }
<property name="geometry">
<rect>
<x>57</x>
<y>123</y>
<y>122</y>
<width>100</width>
<height>15</height>
</rect>
@@ -1284,7 +1284,7 @@ p, li { white-space: pre-wrap; }
<property name="geometry">
<rect>
<x>57</x>
<y>123</y>
<y>122</y>
<width>100</width>
<height>15</height>
</rect>
@@ -1619,7 +1619,7 @@ p, li { white-space: pre-wrap; }
<property name="geometry">
<rect>
<x>57</x>
<y>123</y>
<y>122</y>
<width>100</width>
<height>15</height>
</rect>
@@ -2038,7 +2038,7 @@ p, li { white-space: pre-wrap; }
<property name="geometry">
<rect>
<x>57</x>
<y>123</y>
<y>122</y>
<width>100</width>
<height>15</height>
</rect>
@@ -2386,7 +2386,7 @@ p, li { white-space: pre-wrap; }
<property name="geometry">
<rect>
<x>57</x>
<y>0</y>
<y>1</y>
<width>100</width>
<height>15</height>
</rect>
@@ -3257,7 +3257,7 @@ p, li { white-space: pre-wrap; }
<property name="geometry">
<rect>
<x>57</x>
<y>0</y>
<y>1</y>
<width>100</width>
<height>15</height>
</rect>
@@ -3592,7 +3592,7 @@ p, li { white-space: pre-wrap; }
<property name="geometry">
<rect>
<x>57</x>
<y>0</y>
<y>1</y>
<width>100</width>
<height>15</height>
</rect>
@@ -3772,24 +3772,27 @@ p, li { white-space: pre-wrap; }
<widget class="MyActionButton" name="pushButton_showMyCards">
<property name="geometry">
<rect>
<x>68</x>
<y>64</y>
<width>80</width>
<height>25</height>
<x>58</x>
<y>47</y>
<width>100</width>
<height>60</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>80</width>
<height>25</height>
<width>100</width>
<height>60</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>25</height>
<width>100</width>
<height>60</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="text">
<string notr="true">Show!</string>
</property>
@@ -3952,7 +3955,7 @@ p, li { white-space: pre-wrap; }
<property name="geometry">
<rect>
<x>57</x>
<y>0</y>
<y>1</y>
<width>100</width>
<height>15</height>
</rect>
@@ -58,6 +58,12 @@
<property name="text">
<string>MessageText</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
+1 -1
View File
@@ -1567,7 +1567,7 @@ void GameTableStyleReader::setShowMyCardsButtonStyle( MyActionButton *sc)
sc->setMyStyle(this);
//Show My Cards Button has same look and feel all the time
sc->setStyleSheet("QPushButton { border:none; background-image: url(\""+ShowMyCardsButtonDefault+"\"); "+ font2String +" font-size: "+humanPlayerButtonFontSize+"px; font-weight: bold; color: #"+ShowMyCardsButtonTextColor+";} QPushButton:unchecked { background-image: url(\""+ShowMyCardsButtonDefault+"\"); } QPushButton:checked { background-image: url(\""+BetRaiseButtonDefault+"\");} QPushButton:hover { background-image: url(\""+ShowMyCardsButtonHover+"\"); } QPushButton:checked:hover { background-image: url(\""+ShowMyCardsButtonHover+"\");}");
sc->setStyleSheet("QPushButton { border:none; background-repeat: no-repeat; background-position: center center; background-image: url(\""+ShowMyCardsButtonDefault+"\"); "+ font2String +" font-size: "+humanPlayerButtonFontSize+"px; font-weight: bold; color: #"+ShowMyCardsButtonTextColor+";} QPushButton:unchecked { background-repeat: no-repeat; background-position: center center; background-image: url(\""+ShowMyCardsButtonDefault+"\"); } QPushButton:checked { background-repeat: no-repeat; background-position: center center; background-image: url(\""+BetRaiseButtonDefault+"\");} QPushButton:hover { background-repeat: no-repeat; background-position: center center; background-image: url(\""+ShowMyCardsButtonHover+"\"); } QPushButton:checked:hover { background-repeat: no-repeat; background-position: center center; background-image: url(\""+ShowMyCardsButtonHover+"\");}");
}