start skinning implementation (config not ready!!!)

This commit is contained in:
doitux
2009-03-28 20:34:23 +00:00
parent 959d514d32
commit 1dbaf5a7fc
6 changed files with 1310 additions and 1068 deletions
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PokerTH>
<CardDeck>
<StyleDescription value="default card deck" />
<PreviewPicture value="preview.png" />
</CardDeck>
</PokerTH>
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PokerTH>
<TableStyle>
<StyleDescription value="default table style" />
<IfFixedWindowSize value="0" />
<FixedWindowWidth value="1024" />
<FixedWindowHeight value="600" />
<MinimumWindowWidth value="1024" />
<MinimumWindowHeight value="600" />
<MaximumWindowWidth value="1980" />
<MaximumWindowHeight value="1200" />
<ActionAllIn value="action_allin.png" />
<ActionRaise value="action_raise.png" />
<ActionBet value="action_bet.png" />
<ActionCall value="action_call.png" />
<ActionCheck value="action_check.png" />
<ActionFold value="action_fold.png" />
<ActionSet value="action_set.png" />
<ActionWinner value="action_winner.png" />
<BigBlindPuck value="bigblindPuck.png" />
<SmallBlindPuck value="smallblindPuck.png" />
<DealerPuck value="dealerPuck.png" />
<DefaultAvatar value="genereticAvatar.png" />
<CardHolderFlop value="cardholder_flop.png" />
<CardHolderTurn value="cardholder_turn.png" />
<CardHolderRiver value="cardholder_river.png" />
<FoldButtonDefault value="playeraction_red.png" />
<FoldButtonHover value="playeraction_red_hover.png" />
<FoldButtonChecked value="playeraction_red_checked.png" />
<FoldButtonCheckedHover value="playeraction_red_checked_hover.png" />
<CheckCallButtonDefault value="playeraction_blue.png" />
<CheckCallButtonHover value="playeraction_blue_hover.png" />
<CheckCallButtonChecked value="playeraction_blue_checked.png" />
<CheckCallButtonCheckedHover value="playeraction_blue_checked_hover.png" />
<BetRaiseButtonDefault value="playeraction_green.png" />
<BetRaiseButtonHover value="playeraction_green_hover.png" />
<BetRaiseButtonChecked value="playeraction_green_checked.png" />
<BetRaiseButtonCheckedHover value="playeraction_green_checked_hover.png" />
<AllInButtonDefault value="playeraction_orange.png" />
<AllInButtonHover value="playeraction_organge_hover.png" />
<AllInButtonChecked value="playeraction_orange_checked.png" />
<AllInButtonCheckedHover value="playeraction_orange_checked_hover.png" />
<PlayerSeatInActive value="playerSeatInactive.png" />
<PlayerSeatActive value="playerSeatActive.png" />
<Table value="table.png" />
</TableStyle>
</PokerTH>
+47 -7
View File
@@ -48,7 +48,7 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
myQtToolsInterface = CreateQtToolsWrapper();
// !!!! Revisionsnummer der Configdefaults !!!!!
configRev = 60;
configRev = 61;
//standard defaults
logOnOffDefault = "1";
@@ -102,7 +102,12 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
mkdir(dataDir.c_str());
mkdir(cacheDir.c_str());
////define GameTableStyle
defaultGameTableStyle = myQtToolsInterface->getDataPathStdString(myArgv0)+"gfx\\gui\\table\\default\\defaulttablestyle.xml";
gameTableStyleList.push_back(defaultGameTableStyle);
////define CardDeck
defaultCardDeck = myQtToolsInterface->getDataPathStdString(myArgv0)+"gfx\\cards\\default\\defaultcarddeck.xml";
cardDeckList.push_back(defaultCardDeck);
#else
//define app-dir
const char *homePath = getenv("HOME");
@@ -125,6 +130,12 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
mkdir(cacheDir.c_str(), MODUS);
}
////define GameTableStyle
defaultGameTableStyle = myQtToolsInterface->getDataPathStdString(myArgv0)+"gfx/gui/table/default/defaulttablestyle.xml";
gameTableStyleList.push_back(defaultGameTableStyle);
////define CardDeck
defaultCardDeck = myQtToolsInterface->getDataPathStdString(myArgv0)+"gfx/cards/default/defaultcarddeck.xml";
cardDeckList.push_back(defaultCardDeck);
#endif
ostringstream tempIntToString;
@@ -147,6 +158,10 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
configList.push_back(ConfigInfo("FlipsideTux", CONFIG_TYPE_INT, "1"));
configList.push_back(ConfigInfo("FlipsideOwn", CONFIG_TYPE_INT, "0"));
configList.push_back(ConfigInfo("FlipsideOwnFile", CONFIG_TYPE_STRING, ""));
configList.push_back(ConfigInfo("GameTableStylesList", CONFIG_TYPE_STRING_LIST, "GameTableStyles", gameTableStyleList));
configList.push_back(ConfigInfo("CurrentGameTableStyle", CONFIG_TYPE_STRING, defaultGameTableStyle));
configList.push_back(ConfigInfo("CardDecksList", CONFIG_TYPE_STRING_LIST, "CardDecks", cardDeckList));
configList.push_back(ConfigInfo("CurrentCardDeck", CONFIG_TYPE_STRING, defaultCardDeck));
configList.push_back(ConfigInfo("PlaySoundEffects", CONFIG_TYPE_INT, "1"));
configList.push_back(ConfigInfo("SoundVolume", CONFIG_TYPE_INT, "8"));
configList.push_back(ConfigInfo("PlayGameActions", CONFIG_TYPE_INT, "1"));
@@ -370,7 +385,7 @@ void ConfigFile::writeBuffer() const {
config->LinkEndChild( tmpElement );
tmpElement->SetAttribute("value", configBufferList[i].defaultValue);
if(configBufferList[i].type == CONFIG_TYPE_INT_LIST) {
if(configBufferList[i].type == CONFIG_TYPE_INT_LIST || configBufferList[i].type == CONFIG_TYPE_STRING_LIST) {
tmpElement->SetAttribute("type", "list");
list<string> tempList = configBufferList[i].defaultListValue;
@@ -414,7 +429,7 @@ void ConfigFile::updateConfig(ConfigState myConfigState) {
config->LinkEndChild( tmpElement );
tmpElement->SetAttribute("value", myQtToolsInterface->stringToUtf8(configList[i].defaultValue));
if(configList[i].type == CONFIG_TYPE_INT_LIST) {
if(configList[i].type == CONFIG_TYPE_INT_LIST || configBufferList[i].type == CONFIG_TYPE_STRING_LIST) {
tmpElement->SetAttribute("type", "list");
list<string> tempList = configList[i].defaultListValue;
@@ -520,7 +535,7 @@ void ConfigFile::updateConfig(ConfigState myConfigState) {
config->LinkEndChild( tmpElement );
tmpElement->SetAttribute("value", myQtToolsInterface->stringToUtf8(configList[i].defaultValue));
if(configList[i].type == CONFIG_TYPE_INT_LIST) {
if(configList[i].type == CONFIG_TYPE_INT_LIST || configBufferList[i].type == CONFIG_TYPE_STRING_LIST) {
tmpElement->SetAttribute("type", "list");
list<string> tempList = configList[i].defaultListValue;
@@ -612,6 +627,22 @@ list<int> ConfigFile::readConfigIntList(string varName) const
return tempIntList;
}
list<string> ConfigFile::readConfigStringList(string varName) const
{
boost::recursive_mutex::scoped_lock lock(m_configMutex);
size_t i;
list<string> tempStringList;
for (i=0; i<configBufferList.size(); i++) {
if (configBufferList[i].name == varName) {
tempStringList = configBufferList[i].defaultListValue;
}
}
return tempStringList;
}
void ConfigFile::writeConfigInt(string varName, int varCont)
{
@@ -630,7 +661,6 @@ void ConfigFile::writeConfigInt(string varName, int varCont)
}
}
void ConfigFile::writeConfigIntList(string varName, list<int> varCont)
{
boost::recursive_mutex::scoped_lock lock(m_configMutex);
@@ -657,7 +687,6 @@ void ConfigFile::writeConfigIntList(string varName, list<int> varCont)
}
}
void ConfigFile::writeConfigString(string varName, string varCont)
{
boost::recursive_mutex::scoped_lock lock(m_configMutex);
@@ -668,3 +697,14 @@ void ConfigFile::writeConfigString(string varName, string varCont)
}
}
void ConfigFile::writeConfigStringList(string varName, list<string> varCont)
{
boost::recursive_mutex::scoped_lock lock(m_configMutex);
size_t i;
for (i=0; i<configBufferList.size(); i++) {
if (configBufferList[i].name == varName) { configBufferList[i].defaultListValue = varCont; }
}
}
+9 -2
View File
@@ -26,7 +26,7 @@
#include <boost/thread.hpp>
enum ConfigState { NONEXISTING, OLD };
enum ConfigType { CONFIG_TYPE_INT, CONFIG_TYPE_STRING, CONFIG_TYPE_INT_LIST };
enum ConfigType { CONFIG_TYPE_INT, CONFIG_TYPE_STRING, CONFIG_TYPE_INT_LIST, CONFIG_TYPE_STRING_LIST };
class QtToolsInterface;
@@ -42,13 +42,15 @@ public:
void updateConfig(ConfigState);
std::string readConfigString(std::string varName) const;
std::list<std::string> readConfigStringList(std::string varName) const;
void writeConfigString(std::string varName, std::string varCont);
void writeConfigStringList(std::string varName, std::list<std::string> varCont);
int readConfigInt(std::string varName) const;
std::list<int> readConfigIntList(std::string varName) const;
void writeConfigInt(std::string varName, int varCont);
void writeConfigIntList(std::string varName, std::list<int> varCont);
private:
mutable boost::recursive_mutex m_configMutex;
@@ -70,6 +72,11 @@ private:
std::string logDir;
std::string dataDir;
std::string cacheDir;
std::string defaultGameTableStyle;
std::string defaultCardDeck;
std::list<std::string> gameTableStyleList;
std::list<std::string> cardDeckList;
int configRev;
bool noWriteAccess;
+3 -3
View File
@@ -1547,19 +1547,19 @@
<rect>
<x>440</x>
<y>42</y>
<width>95</width>
<width>90</width>
<height>36</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>95</width>
<width>90</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>95</width>
<width>90</width>
<height>16777215</height>
</size>
</property>
+198 -57
View File
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" >
<class>settingsDialog</class>
<widget class="QDialog" name="settingsDialog" >
@@ -125,7 +124,7 @@
<item>
<widget class="QStackedWidget" name="stackedWidget" >
<property name="currentIndex" >
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="page" >
<layout class="QGridLayout" name="gridLayout_8" >
@@ -341,10 +340,10 @@
<item>
<widget class="QLabel" name="label_23" >
<property name="text" >
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot;font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Note: Best quality with image ratio like &lt;/span&gt;&lt;span style=&quot; font-weight:600; font-style:italic;&quot;&gt;width=100, height=140.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;/style>&lt;/head>&lt;body style="font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-style:italic;">Note: Best quality with image ratio like &lt;/span>&lt;span style=" font-weight:600; font-style:italic;">width=100, height=140.&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="wordWrap" >
<bool>true</bool>
@@ -405,6 +404,77 @@ p, li { white-space: pre-wrap; }
<property name="title" >
<string>Game Table Styles</string>
</property>
<layout class="QGridLayout" name="gridLayout_13" >
<item row="0" column="0" >
<widget class="QListView" name="listView" />
</item>
<item row="0" column="1" >
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<widget class="QPushButton" name="pushButton_selectGameTableStyle" >
<property name="text" >
<string>Auswählen</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>17</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_addGameTableStyle" >
<property name="text" >
<string>Hinzufügen ...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_delGameTableStyle" >
<property name="text" >
<string>Löschen</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="2" >
<widget class="QGroupBox" name="groupBox_13" >
<property name="title" >
<string>Vorschau:</string>
</property>
<layout class="QGridLayout" name="gridLayout_15" >
<item row="0" column="0" >
<widget class="QLabel" name="label_gameTableStylePreview" >
<property name="minimumSize" >
<size>
<width>160</width>
<height>120</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>160</width>
<height>120</height>
</size>
</property>
<property name="text" >
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" >
@@ -412,6 +482,77 @@ p, li { white-space: pre-wrap; }
<property name="title" >
<string>Card Decks</string>
</property>
<layout class="QGridLayout" name="gridLayout_14" >
<item row="0" column="0" >
<widget class="QListView" name="listView_2" />
</item>
<item row="0" column="1" >
<layout class="QVBoxLayout" name="verticalLayout_2" >
<item>
<widget class="QPushButton" name="pushButton_selectCardDeck" >
<property name="text" >
<string>Auswählen</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>17</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_addCardDeck" >
<property name="text" >
<string>Hinzufügen ...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_delCardDeck" >
<property name="text" >
<string>Löschen</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="2" >
<widget class="QGroupBox" name="groupBox_14" >
<property name="title" >
<string>Vorschau:</string>
</property>
<layout class="QGridLayout" name="gridLayout_16" >
<item row="0" column="0" >
<widget class="QLabel" name="label_cardDeckPreview" >
<property name="minimumSize" >
<size>
<width>160</width>
<height>120</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>160</width>
<height>120</height>
</size>
</property>
<property name="text" >
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
@@ -505,7 +646,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="0" >
<widget class="QCheckBox" name="checkBox_playGameActions" >
<property name="text" >
<string>Play game actions sounds like &quot;check&quot;, &quot;call&quot;, &quot;raise&quot;</string>
<string>Play game actions sounds like "check", "call", "raise"</string>
</property>
</widget>
</item>
@@ -519,7 +660,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" >
<widget class="QCheckBox" name="checkBox_playNetworkGameNotification" >
<property name="text" >
<string>Play network/internet game notifications like &quot;player joined the game&quot;</string>
<string>Play network/internet game notifications like "player joined the game"</string>
</property>
<property name="tristate" >
<bool>false</bool>
@@ -687,7 +828,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="2" >
<widget class="QLabel" name="label_47" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -714,7 +855,7 @@ p, li { white-space: pre-wrap; }
<item row="1" column="2" >
<widget class="QLabel" name="label_50" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -743,7 +884,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QGroupBox" name="groupBox_7" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -817,7 +958,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QCheckBox" name="checkBox_pauseBetweenHands" >
<property name="text" >
<string>Pause between hands (press &quot;start&quot; button to go on)</string>
<string>Pause between hands (press "start" button to go on)</string>
</property>
</widget>
</item>
@@ -992,7 +1133,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="2" >
<widget class="QLabel" name="label_51" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -1019,7 +1160,7 @@ p, li { white-space: pre-wrap; }
<item row="1" column="2" >
<widget class="QLabel" name="label_52" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -1048,7 +1189,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QGroupBox" name="groupBox_9" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -1245,7 +1386,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="1" >
<widget class="QLabel" name="label_22" >
<property name="text" >
<string>&lt;a href=&quot;http://en.wikipedia.org/wiki/Ipv6&quot;&gt;What is this?&lt;/a&gt;</string>
<string>&lt;a href="http://en.wikipedia.org/wiki/Ipv6">What is this?&lt;/a></string>
</property>
<property name="openExternalLinks" >
<bool>true</bool>
@@ -1255,7 +1396,7 @@ p, li { white-space: pre-wrap; }
<item row="3" column="1" >
<widget class="QLabel" name="label_24" >
<property name="text" >
<string>&lt;a href=&quot;http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol&quot;&gt;What is this?&lt;/a&gt;</string>
<string>&lt;a href="http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol">What is this?&lt;/a></string>
</property>
<property name="openExternalLinks" >
<bool>true</bool>
@@ -1302,17 +1443,17 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" colspan="3" >
<widget class="QLabel" name="label_43" >
<property name="text" >
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot;font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Note: Default &lt;/span&gt;&lt;span style=&quot; font-weight:600; font-style:italic;&quot;&gt;Game Settings&lt;/span&gt;&lt;span style=&quot; font-style:italic;&quot;&gt; like &quot;Maximum number of players&quot;, &quot;Start Cash&quot; and &quot;Small Blind&quot; will be used &lt;/span&gt;&lt;span style=&quot; font-weight:600; font-style:italic;&quot;&gt;from Network Game Settings.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;/style>&lt;/head>&lt;body style="font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-style:italic;">Note: Default &lt;/span>&lt;span style=" font-weight:600; font-style:italic;">Game Settings&lt;/span>&lt;span style=" font-style:italic;"> like "Maximum number of players", "Start Cash" and "Small Blind" will be used &lt;/span>&lt;span style=" font-weight:600; font-style:italic;">from Network Game Settings.&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0" rowspan="2">
<item rowspan="2" row="3" column="0" >
<widget class="QGroupBox" name="groupBox_4" >
<property name="minimumSize" >
<size>
@@ -1450,7 +1591,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="1" >
<widget class="QLabel" name="label_32" >
<property name="text" >
<string>&lt;a href=&quot;http://en.wikipedia.org/wiki/Ipv6&quot;&gt;What is this?&lt;/a&gt;</string>
<string>&lt;a href="http://en.wikipedia.org/wiki/Ipv6">What is this?&lt;/a></string>
</property>
<property name="openExternalLinks" >
<bool>true</bool>
@@ -1467,7 +1608,7 @@ p, li { white-space: pre-wrap; }
<item row="3" column="1" >
<widget class="QLabel" name="label_42" >
<property name="text" >
<string>&lt;a href=&quot;http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol&quot;&gt;What is this?&lt;/a&gt;</string>
<string>&lt;a href="http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol">What is this?&lt;/a></string>
</property>
<property name="openExternalLinks" >
<bool>true</bool>
@@ -1519,7 +1660,7 @@ p, li { white-space: pre-wrap; }
<item row="1" column="1" >
<widget class="QSpinBox" name="spinBox_IRCServerPort" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -1572,7 +1713,7 @@ p, li { white-space: pre-wrap; }
<item row="4" column="1" >
<widget class="QLabel" name="label_45" >
<property name="text" >
<string>&lt;a href=&quot;http://en.wikipedia.org/wiki/Ipv6&quot;&gt;What is this?&lt;/a&gt;</string>
<string>&lt;a href="http://en.wikipedia.org/wiki/Ipv6">What is this?&lt;/a></string>
</property>
<property name="openExternalLinks" >
<bool>true</bool>
@@ -1681,7 +1822,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="1" colspan="3" >
<widget class="QLabel" name="label_8" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -1784,7 +1925,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="2" >
<widget class="QLineEdit" name="lineEdit_HumanPlayerName" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -1840,7 +1981,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" >
<widget class="QLineEdit" name="lineEdit_Opponent1Name" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -1865,7 +2006,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="0" >
<widget class="QLabel" name="label_9" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -1917,7 +2058,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="MyAvatarButton" name="pushButton_Opponent1Avatar" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<sizepolicy vsizetype="Ignored" hsizetype="Ignored" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -1973,7 +2114,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" >
<widget class="QLineEdit" name="lineEdit_Opponent2Name" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -1998,7 +2139,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="0" >
<widget class="QLabel" name="label_10" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2050,7 +2191,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="MyAvatarButton" name="pushButton_Opponent2Avatar" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<sizepolicy vsizetype="Ignored" hsizetype="Ignored" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2106,7 +2247,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="0" >
<widget class="QLabel" name="label_11" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2134,7 +2275,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" >
<widget class="QLineEdit" name="lineEdit_Opponent3Name" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2183,7 +2324,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="MyAvatarButton" name="pushButton_Opponent3Avatar" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<sizepolicy vsizetype="Ignored" hsizetype="Ignored" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2239,7 +2380,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" >
<widget class="QLineEdit" name="lineEdit_Opponent4Name" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2264,7 +2405,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="0" >
<widget class="QLabel" name="label_12" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2316,7 +2457,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="MyAvatarButton" name="pushButton_Opponent4Avatar" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<sizepolicy vsizetype="Ignored" hsizetype="Ignored" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2372,7 +2513,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="0" >
<widget class="QLabel" name="label_20" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2424,7 +2565,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="MyAvatarButton" name="pushButton_Opponent5Avatar" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<sizepolicy vsizetype="Ignored" hsizetype="Ignored" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2470,7 +2611,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" >
<widget class="QLineEdit" name="lineEdit_Opponent5Name" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2533,7 +2674,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="MyAvatarButton" name="pushButton_Opponent6Avatar" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<sizepolicy vsizetype="Ignored" hsizetype="Ignored" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2579,7 +2720,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" >
<widget class="QLineEdit" name="lineEdit_Opponent6Name" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2604,7 +2745,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="0" >
<widget class="QLabel" name="label_21" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2666,7 +2807,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="MyAvatarButton" name="pushButton_Opponent7Avatar" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<sizepolicy vsizetype="Ignored" hsizetype="Ignored" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2712,7 +2853,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" >
<widget class="QLineEdit" name="lineEdit_Opponent7Name" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2737,7 +2878,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="0" >
<widget class="QLabel" name="label_33" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2799,7 +2940,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="MyAvatarButton" name="pushButton_Opponent8Avatar" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<sizepolicy vsizetype="Ignored" hsizetype="Ignored" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2845,7 +2986,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" >
<widget class="QLineEdit" name="lineEdit_Opponent8Name" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2870,7 +3011,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="0" >
<widget class="QLabel" name="label_53" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2932,7 +3073,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="MyAvatarButton" name="pushButton_Opponent9Avatar" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<sizepolicy vsizetype="Ignored" hsizetype="Ignored" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -2978,7 +3119,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0" >
<widget class="QLineEdit" name="lineEdit_Opponent9Name" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -3003,7 +3144,7 @@ p, li { white-space: pre-wrap; }
<item row="0" column="0" >
<widget class="QLabel" name="label_54" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -3038,10 +3179,10 @@ p, li { white-space: pre-wrap; }
<item row="4" column="0" >
<widget class="QLabel" name="label_38" >
<property name="text" >
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot;font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Note: Best avatar quality with image ratio like &lt;/span&gt;&lt;span style=&quot; font-weight:600; font-style:italic;&quot;&gt;width=50, height=50.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;/style>&lt;/head>&lt;body style="font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-style:italic;">Note: Best avatar quality with image ratio like &lt;/span>&lt;span style=" font-weight:600; font-style:italic;">width=50, height=50.&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="wordWrap" >
<bool>true</bool>
@@ -3165,7 +3306,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="1" >
<widget class="QComboBox" name="comboBox_logInterval" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>