android gui changes
This commit is contained in:
@@ -96,8 +96,7 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
|
||||
tabsDiag = new QDialog(this);
|
||||
tabs.setupUi(tabsDiag);
|
||||
#ifdef ANDROID
|
||||
tabsDiag->setStyleSheet("QDialog { font: 26px; background-image: url(\""+myGameTableStyle->getTable()+"\"); background-position: bottom center; background-origin: content; background-repeat: no-repeat;}");
|
||||
tabs.frame->setStyleSheet("QObject { background-color: rgba(0, 0, 0, 100); }");
|
||||
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);
|
||||
#else
|
||||
|
||||
@@ -26,7 +26,7 @@ class MyLeftTabWidget : public QTabWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MyLeftTabWidget(QGroupBox*);
|
||||
MyLeftTabWidget(QGroupBox*);
|
||||
|
||||
~MyLeftTabWidget();
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class MyRightTabWidget : public QTabWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MyRightTabWidget(QGroupBox*);
|
||||
MyRightTabWidget(QGroupBox*);
|
||||
|
||||
~MyRightTabWidget();
|
||||
|
||||
|
||||
@@ -4251,7 +4251,7 @@ p, li { white-space: pre-wrap; }
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<width>10</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
@@ -4472,9 +4472,15 @@ p, li { white-space: pre-wrap; }
|
||||
</item>
|
||||
<item row="0" column="3">
|
||||
<widget class="Slider" name="horizontalSlider_bet">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>160</width>
|
||||
<width>168</width>
|
||||
<height>60</height>
|
||||
</size>
|
||||
</property>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<height>424</height>
|
||||
<height>463</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
@@ -77,17 +77,14 @@
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_LeftToolBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>390</width>
|
||||
<height>350</height>
|
||||
</size>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>390</width>
|
||||
<height>350</height>
|
||||
</size>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QGroupBox { border: 0px; }</string>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>true</bool>
|
||||
@@ -98,6 +95,12 @@
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="MyLeftTabWidget" name="tabWidget_Left">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
@@ -346,17 +349,14 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_RightToolBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>390</width>
|
||||
<height>350</height>
|
||||
</size>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>390</width>
|
||||
<height>350</height>
|
||||
</size>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QGroupBox { border: 0px; }</string>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>true</bool>
|
||||
@@ -373,6 +373,12 @@
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="MyRightTabWidget" name="tabWidget_Right">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
@@ -538,10 +544,13 @@
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
<height>10</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
@@ -719,7 +728,7 @@
|
||||
<item>
|
||||
<widget class="Slider" name="horizontalSlider_speed">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
|
||||
@@ -538,5 +538,6 @@
|
||||
<file>android-data/translations/pokerth_zhcn.qm</file>
|
||||
<file>android-data/misc/agpl.html</file>
|
||||
<file>android-data/gfx/gui/table/default_800x480/android_tablestyle_800x480.xml</file>
|
||||
<file>android-data/gfx/gui/table/default_800x480/table_dark.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
Reference in New Issue
Block a user