fixing about dialog for android
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
<widget class="QLabel" name="label_logo"/>
|
||||
</item>
|
||||
<item row="1" column="0" rowspan="2">
|
||||
<widget class="QLabel" name="label">
|
||||
<widget class="QLabel" name="label_infotext">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
@@ -46,20 +46,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">- Poker engine for the popular &quot;Texas Hold'em&quot; Poker</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">- Singleplayer games with up to 9 computer-opponents</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">- Multiplayer network games<br />- Internet online games<br />- Changeable gui with online style gallery<br />- </span><a href="http://online-ranking.pokerth.net"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Online ranking website</span></a><span style=" font-size:8pt;"> with result tables</span></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">© 2006-2011, Felix Hammer, Florian Thauer, Lothar May</span></p></td></tr></table></body></html></string>
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
@@ -131,24 +118,7 @@ p, li { white-space: pre-wrap; }
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Project page: </span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> </span><a href="http://www.pokerth.net"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">http://www.pokerth.net</span></a></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">IRC: </span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> #pokerth (irc.freenode.net)</span></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Authors: </span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> Felix Hammer (</span><a href="mailto:doitux@pokerth.net"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">doitux@pokerth.net</span></a><span style=" font-size:8pt;">)</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> - initial idea, basic architecture, gui implementation, gui graphics editing, linux package</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> Florian Thauer (</span><a href="mailto:floty@pokerth.net"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">floty@pokerth.net</span></a><span style=" font-size:8pt;">)</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> - initial idea, basic architecture, engine development</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> Lothar May (</span><a href="mailto:lotodore@pokerth.net"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">lotodore@pokerth.net</span></a><span style=" font-size:8pt;">)</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> - basic architecture, network development, windows package, MacOS package</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> Oskar Lindqvist (</span><a href="mailto:tranberry@pokerth.net"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">tranberry@pokerth.net</span></a><span style=" font-size:8pt;">)</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> - initial gui graphics design</span></p></td></tr></table></body></html></string>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html></string>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
|
||||
@@ -34,8 +34,13 @@ aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c)
|
||||
|
||||
QPalette myPalette = textBrowser_licence->palette();
|
||||
#ifdef GUI_800x480
|
||||
myPalette.setColor(QPalette::Base, QColor(0,0,0,0));
|
||||
myPalette.setColor(QPalette::Text, QColor(255,255,255,255));
|
||||
#ifdef ANDROID
|
||||
myPalette.setColor(QPalette::Base, QColor(255,255,255,255));
|
||||
myPalette.setColor(QPalette::Text, QColor(0,0,0,255));
|
||||
#else
|
||||
myPalette.setColor(QPalette::Base, QColor(0,0,0,255));
|
||||
myPalette.setColor(QPalette::Text, QColor(255,255,255,255));
|
||||
#endif
|
||||
#else
|
||||
QColor myColor = myPalette.color(QPalette::Window);
|
||||
myPalette.setColor(QPalette::Base, myColor);
|
||||
@@ -43,7 +48,7 @@ aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c)
|
||||
textBrowser_licence->setPalette(myPalette);
|
||||
textBrowser_2->setPalette(myPalette);
|
||||
textBrowser_3->setPalette(myPalette);
|
||||
textBrowser_4->setPalette(myPalette);
|
||||
textBrowser_4->setPalette(myPalette);
|
||||
|
||||
QFile gplFile(QDir::toNativeSeparators(myAppDataPath+"misc/agpl.html"));
|
||||
QString gplString;
|
||||
@@ -59,14 +64,14 @@ aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c)
|
||||
label_logo->setPixmap(QPixmap(":/gfx/logoChip3D.png"));
|
||||
|
||||
#ifdef GUI_800x480
|
||||
label_pokerthVersion->setStyleSheet("QLabel { font-size: 20px; font-weight: bold;}");
|
||||
label_pokerthVersion->setStyleSheet("QLabel { font-size: 30px; font-weight: bold;}");
|
||||
#else
|
||||
label_pokerthVersion->setStyleSheet("QLabel { font-size: 16px; font-weight: bold;}");
|
||||
#endif
|
||||
label_pokerthVersion->setText(QString(tr("PokerTH %1").arg(POKERTH_BETA_RELEASE_STRING)));
|
||||
this->setWindowTitle(QString(tr("About PokerTH %1").arg(POKERTH_BETA_RELEASE_STRING)));
|
||||
|
||||
//add thx to infos:
|
||||
//add text to lables and textbrowsers
|
||||
QString thxToInfos;
|
||||
thxToInfos.append(tr("- Wikimedia Commons: for different popular avatar picture resources")+"<br>");
|
||||
thxToInfos.append(tr("- Benedikt, Erhard, Felix, Florian, Linus, Lothar, Steffi, Caro: for people avatar pictures")+"<br>");
|
||||
@@ -75,8 +80,35 @@ aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c)
|
||||
thxToInfos.append(tr("- doc_dos: for self recorded chip sounds")+"<br>");
|
||||
thxToInfos.append(tr("- thiger, dunkanx, BerndA, coldz, drull: for different patches")+"<br>");
|
||||
thxToInfos.append(tr("- kraut: for internet-game-server hosting and administration")+"<br>");
|
||||
thxToInfos.append(tr("- danuxi: for startwindow background gfx and danuxi1 table background")+"<br>");
|
||||
thxToInfos.append(tr("- danuxi: for startwindow background gfx and danuxi1 table background")+"<br>");
|
||||
thxToInfos.append(tr("- heyn: for moderating forum and organise bugtracker and feature requests")+"<br>");
|
||||
thxToInfos.append(tr("- texas_outlaw: for new table sounds")+"<br>");
|
||||
textBrowser_3->setHtml(thxToInfos);
|
||||
|
||||
QString infoText;
|
||||
infoText.append(tr("- Poker engine for the popular Texas Hold'em Poker")+"\n");
|
||||
infoText.append(tr("- Singleplayer games with up to 9 computer-opponents")+"\n");
|
||||
infoText.append(tr("- Multiplayer network games")+"\n");
|
||||
infoText.append(tr("- Internet online games")+"\n");
|
||||
infoText.append(tr("- Changeable gui with online style gallery")+"\n");
|
||||
infoText.append(tr("- Online ranking website with result tables")+"\n");
|
||||
infoText.append("\n");
|
||||
infoText.append("(c)2006-2012, Felix Hammer, Florian Thauer, Lothar May");
|
||||
label_infotext->setText(infoText);
|
||||
|
||||
QString projectText;
|
||||
projectText.append("<b>"+tr("Project page:")+"</b><br>");
|
||||
projectText.append(" <a href='http://www.pokerth.net'>http://www.pokerth.net</a><br>");
|
||||
projectText.append("<b>IRC:</b><br>");
|
||||
projectText.append(" #pokerth (irc.freenode.net)<br>");
|
||||
projectText.append("<b>"+tr("Authors:")+"</b><br>");
|
||||
projectText.append(" Felix Hammer (<a href=mailto:doitux@pokerth.net>doitux@pokerth.net</a>)<br>");
|
||||
projectText.append(" - "+tr("initial idea, basic architecture, gui implementation, gui graphics editing, linux package")+"<br>");
|
||||
projectText.append(" Florian Thauer (<a href=mailto:floty@pokerth.net>floty@pokerth.net</a>)<br>");
|
||||
projectText.append(" - "+tr("initial idea, basic architecture, engine development")+"<br>");
|
||||
projectText.append(" Lothar May (<a href=mailto:lotodore@pokerth.net>lotodore@pokerth.net</a>)<br>");
|
||||
projectText.append(" - "+tr("basic architecture, network development, windows package, MacOS package")+"<br>");
|
||||
projectText.append(" Oskar Lindqvist (<a href=mailto:tranberry@pokerth.net>tranberry@pokerth.net</a>)<br>");
|
||||
projectText.append(" - "+tr("initial gui graphics design")+"<br>");
|
||||
textBrowser_2->setHtml(projectText);
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QObject {font-size: 20px; font-color: rgb(0, 0, 0)}</string>
|
||||
<string notr="true">QObject {font-size: 26px; font-color: rgb(0, 0, 0)}</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
@@ -59,10 +59,14 @@
|
||||
<widget class="QLabel" name="label_pokerthVersion"/>
|
||||
</item>
|
||||
<item row="0" column="1" rowspan="2">
|
||||
<widget class="QLabel" name="label_logo"/>
|
||||
<widget class="QLabel" name="label_logo">
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../resources/pokerth.qrc">:/gfx/logoChip3D.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" rowspan="2">
|
||||
<widget class="QLabel" name="label">
|
||||
<widget class="QLabel" name="label_infotext">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
@@ -73,21 +77,10 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QObject {font-size: 18px}</string>
|
||||
<string notr="true">QObject {font-size: 22px; font-color: rgb(0, 0, 0)}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-weight:400; font-style:normal;">
|
||||
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Nimbus Sans L'; font-size:14pt;">- Poker engine for the popular &quot;Texas Hold'em&quot; Poker</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Nimbus Sans L'; font-size:14pt;">- Singleplayer games with up to 9 computer-opponents</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Nimbus Sans L'; font-size:14pt;">- Multiplayer network games<br />- Internet online games<br />- Changeable gui with online style gallery<br />- </span><a href="http://online-ranking.pokerth.net"><span style=" font-family:'Nimbus Sans L'; font-size:14pt; text-decoration: underline; color:#0057ae;">Online ranking website</span></a><span style=" font-family:'Nimbus Sans L'; font-size:14pt;"> with result tables</span></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Nimbus Sans L'; font-size:14pt;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Nimbus Sans L'; font-size:14pt;">© 2006-2011, Felix Hammer, Florian Thauer, Lothar May</span></p></td></tr></table></body></html></string>
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
@@ -154,9 +147,6 @@ p, li { white-space: pre-wrap; }
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QTextBrowser" name="textBrowser_2">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QObject {font-size: 20px; font-color: rgb(0, 0, 0)}</string>
|
||||
</property>
|
||||
<property name="lineWrapMode">
|
||||
<enum>QTextEdit::NoWrap</enum>
|
||||
</property>
|
||||
@@ -165,22 +155,7 @@ p, li { white-space: pre-wrap; }
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Nimbus Sans L'; font-weight:400; font-style:normal;">
|
||||
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600;">Project page: </span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;"> </span><a href="http://www.pokerth.net"><span style=" font-size:14pt; text-decoration: underline; color:#0000ff;">http://www.pokerth.net</span></a></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600;">IRC: </span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;"> #pokerth (irc.freenode.net)</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600;">Authors: </span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;"> Felix Hammer (</span><a href="mailto:doitux@pokerth.net"><span style=" font-size:14pt; text-decoration: underline; color:#0000ff;">doitux@pokerth.net</span></a><span style=" font-size:14pt;">)</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;"> - initial idea, basic architecture, gui implementation, gui graphics editing, linux package</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;"> Florian Thauer (</span><a href="mailto:floty@pokerth.net"><span style=" font-size:14pt; text-decoration: underline; color:#0000ff;">floty@pokerth.net</span></a><span style=" font-size:14pt;">)</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;"> - initial idea, basic architecture, engine development</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;"> Lothar May (</span><a href="mailto:lotodore@pokerth.net"><span style=" font-size:14pt; text-decoration: underline; color:#0000ff;">lotodore@pokerth.net</span></a><span style=" font-size:14pt;">)</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;"> - basic architecture, network development, windows package, MacOS package</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;"> Oskar Lindqvist (</span><a href="mailto:tranberry@pokerth.net"><span style=" font-size:14pt; text-decoration: underline; color:#0000ff;">tranberry@pokerth.net</span></a><span style=" font-size:14pt;">)</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;"> - initial gui graphics design</span></p></td></tr></table></body></html></string>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html></string>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
@@ -211,9 +186,19 @@ p, li { white-space: pre-wrap; }
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif';"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';"><br /></span></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif';"></p></td></tr></table></body></html></string>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';"><br /></span></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif';"></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';"><br /></span></p></td></tr></table></body></html></string>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
@@ -308,6 +293,41 @@ p, li { white-space: pre-wrap; }
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
<resources>
|
||||
<include location="../resources/pokerth.qrc"/>
|
||||
</resources>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>aboutPokerth</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>735</x>
|
||||
<y>396</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>-5</x>
|
||||
<y>370</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>aboutPokerth</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>670</x>
|
||||
<y>412</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>4</x>
|
||||
<y>68</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
|
||||
@@ -7,25 +7,31 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<height>150</height>
|
||||
<height>424</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>800</width>
|
||||
<height>150</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>800</width>
|
||||
<height>150</height>
|
||||
<height>424</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Network Error</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QObject {font-size: 26px}</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<property name="margin">
|
||||
<number>35</number>
|
||||
</property>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_Message"/>
|
||||
</item>
|
||||
@@ -33,9 +39,6 @@
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_lineLabel">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QObject {font-size: 20px}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Name:</string>
|
||||
</property>
|
||||
@@ -61,9 +64,6 @@
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QCheckBox" name="checkBox">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QObject {font-size: 18px}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Save in configuration</string>
|
||||
</property>
|
||||
@@ -75,7 +75,7 @@
|
||||
<item row="3" column="0" colspan="3">
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QObject {font: bold 20px}</string>
|
||||
<string notr="true">QObject {font: bold 30px}</string>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
|
||||
@@ -245,7 +245,7 @@
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Configure PokerTH</string>
|
||||
<string>Configure PokerTH ...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../resources/pokerth.qrc">
|
||||
|
||||
@@ -534,5 +534,6 @@
|
||||
<file>android-data/translations/pokerth_ta.qm</file>
|
||||
<file>android-data/translations/pokerth_tr.qm</file>
|
||||
<file>android-data/translations/pokerth_zhcn.qm</file>
|
||||
<file>android-data/misc/agpl.html</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
+4
-4
@@ -102,13 +102,13 @@ int main( int argc, char **argv )
|
||||
|
||||
#ifdef _WIN32
|
||||
QString font1String("QApplication, QWidget, QDialog { font-size: 12px; }");
|
||||
#else
|
||||
#ifdef __APPLE__
|
||||
#elif __APPLE__
|
||||
// QString font1String("font-family: \"Lucida Grande\";");
|
||||
QString font1String("QApplication, QWidget, QDialog { font-size: 11px; }");
|
||||
#elif ANDROID
|
||||
QString font1String("QApplication, QWidget, QDialog { font-family: \"Nimbus Sans L\"; font-size: 26px; }");
|
||||
#else
|
||||
QString font1String("QApplication, QWidget, QDialog { font-family: \"Nimbus Sans L\"; font-size: 12px; }");
|
||||
#endif
|
||||
QString font1String("QApplication, QWidget, QDialog { font-family: \"Nimbus Sans L\"; font-size: 12px; }");
|
||||
#endif
|
||||
a.setStyleSheet(font1String + " QDialogButtonBox, QMessageBox { dialogbuttonbox-buttons-have-icons: 1; dialog-ok-icon: url(:/gfx/dialog_ok_apply.png); dialog-cancel-icon: url(:/gfx/dialog_close.png); dialog-close-icon: url(:/gfx/dialog_close.png); dialog-yes-icon: url(:/gfx/dialog_ok_apply.png); dialog-no-icon: url(:/gfx/dialog_close.png) }");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user