some gui modifications for mobile platform in general and maemo in
particular
This commit is contained in:
@@ -46,10 +46,10 @@
|
||||
<RadioButtonCheckedHover value="radiobutton_checked_hover.png" /> <!-- optimal size width:height in px [13:13] -->
|
||||
<RadioButtonUnchecked value="radiobutton_unchecked.png" /> <!-- optimal size width:height in px [13:13] -->
|
||||
<RadioButtonUncheckedHover value="radiobutton_unchecked_hover.png" /> <!-- optimal size width:height in px [13:13] -->
|
||||
<PlayerTopSeatInactive value="playerSeatInactive.png" /> <!-- optimal size width:height in px [190:142] -->
|
||||
<PlayerTopSeatActive value="playerSeatActive.png" /> <!-- optimal size width:height in px [190:142] -->
|
||||
<PlayerBottomSeatInactive value="playerSeatInactive.png" /> <!-- optimal size width:height in px [190:142] -->
|
||||
<PlayerBottomSeatActive value="playerSeatActive.png" /> <!-- optimal size width:height in px [190:142] -->
|
||||
<PlayerTopSeatInactive value="playerSeatInactiveTop.png" /> <!-- optimal size width:height in px [190:142] -->
|
||||
<PlayerTopSeatActive value="playerSeatActiveTop.png" /> <!-- optimal size width:height in px [190:142] -->
|
||||
<PlayerBottomSeatInactive value="playerSeatInactiveBottom.png" /> <!-- optimal size width:height in px [190:142] -->
|
||||
<PlayerBottomSeatActive value="playerSeatActiveBottom.png" /> <!-- optimal size width:height in px [190:142] -->
|
||||
<Table value="table.png" /> <!-- minimal size width:height in px [1024:600] -->
|
||||
<ToolBoxBackground value="toolboxbg.png" /> <!-- minimal size width:height in px [260:188] -->
|
||||
<HandRanking value="handranking.png" /> <!-- minimal size width:height in px [240:153] -->
|
||||
|
||||
@@ -95,8 +95,8 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
|
||||
#ifdef GUI_800x480
|
||||
tabsDiag = new QDialog(this);
|
||||
tabs.setupUi(tabsDiag);
|
||||
textLabel_handLabel->hide();
|
||||
#ifdef ANDROID
|
||||
textLabel_handLabel->hide();
|
||||
tabsDiag->setStyleSheet("QObject { font: 26px; } QDialog { background-image: url(:/android/android-data/gfx/gui/table/default_800x480/table_dark.png); background-position: bottom center; background-origin: content; background-repeat: no-repeat;}");
|
||||
#endif
|
||||
tabs.label_chance->setMyStyle(myGameTableStyle);
|
||||
|
||||
@@ -56,6 +56,19 @@
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_11">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>13</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
||||
<property name="spacing">
|
||||
@@ -71,7 +84,7 @@
|
||||
<number>5</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_handNumber">
|
||||
<widget class="QLabel" name="label_gameNumber">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>60</width>
|
||||
@@ -79,7 +92,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QObject {font: bold 20px}</string>
|
||||
<string notr="true">QLabel {font: bold 20px}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
@@ -87,7 +100,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_handNumberValue">
|
||||
<widget class="QLabel" name="label_gameNumberValue">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>60</width>
|
||||
@@ -95,7 +108,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QObject {font: bold 20px}</string>
|
||||
<string notr="true">QLabel {font: bold 20px}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
@@ -115,7 +128,7 @@
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>17</height>
|
||||
<height>13</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
@@ -803,6 +816,42 @@ p, li { white-space: pre-wrap; }
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_9">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>13</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_spacer_left">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>19</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>19</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_4">
|
||||
<property name="orientation">
|
||||
@@ -811,7 +860,7 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>18</height>
|
||||
<height>13</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
@@ -1838,6 +1887,19 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_13">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>13</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
||||
<property name="spacing">
|
||||
@@ -1853,7 +1915,7 @@ p, li { white-space: pre-wrap; }
|
||||
<number>5</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_gameNumber">
|
||||
<widget class="QLabel" name="label_handNumber">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>60</width>
|
||||
@@ -1861,7 +1923,7 @@ p, li { white-space: pre-wrap; }
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel {font: bold 20px}</string>
|
||||
<string notr="true">QObject {font: bold 20px}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
@@ -1869,7 +1931,7 @@ p, li { white-space: pre-wrap; }
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_gameNumberValue">
|
||||
<widget class="QLabel" name="label_handNumberValue">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>60</width>
|
||||
@@ -1877,7 +1939,7 @@ p, li { white-space: pre-wrap; }
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel {font: bold 20px}</string>
|
||||
<string notr="true">QObject {font: bold 20px}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
@@ -2245,7 +2307,7 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>28</height>
|
||||
<height>13</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
@@ -2585,6 +2647,42 @@ p, li { white-space: pre-wrap; }
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_12">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>13</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_spacer_right">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>19</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>19</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_7">
|
||||
<property name="orientation">
|
||||
@@ -2593,7 +2691,7 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>18</height>
|
||||
<height>13</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
@@ -4517,7 +4615,7 @@ p, li { white-space: pre-wrap; }
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<height>26</height>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
|
||||
@@ -56,6 +56,8 @@
|
||||
<file>document-revert.png</file>
|
||||
<file>view-fullscreen_50x50.png</file>
|
||||
<file>preferences-desktop_50x50.png</file>
|
||||
<file>tab-close.png</file>
|
||||
<file>tab-new-background.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/cflags">
|
||||
<file>cflags/ad.png</file>
|
||||
|
||||
@@ -56,8 +56,8 @@ GameTableStyleReader::GameTableStyleReader(ConfigFile *c, QWidget *w)
|
||||
tabBarPaddingTop = "0";
|
||||
tabBarPaddingSide = "9";
|
||||
textBrowserFontsize= "10";
|
||||
cashFontSize = "10";
|
||||
setLabelFontSize = "10";
|
||||
cashFontSize = "12";
|
||||
setLabelFontSize = "13";
|
||||
playerNameLabelFontSize = "11";
|
||||
smallBoardFontSize = "13";
|
||||
bigBoardFontSize = "17";
|
||||
|
||||
Reference in New Issue
Block a user