This commit is contained in:
doitux
2007-05-06 21:45:04 +00:00
parent c3e102f745
commit 7747ce0593
3 changed files with 25 additions and 2 deletions
@@ -27,8 +27,11 @@ using namespace std;
joinNetworkGameDialogImpl::joinNetworkGameDialogImpl(QWidget *parent)
: QDialog(parent)
{
bool toIntTrue;
setupUi(this);
setupUi(this);
spinBox_port->setValue(QString::fromUtf8(myConfig.readConfigString("ServerPort").c_str()).toInt(&toIntTrue, 10));
//Profile Name darf nicht mit einer Zahl beginnen --> XML konform
QRegExp rx("[A-Z|a-z]+[A-Z|a-z|\\d]*");
+18 -1
View File
@@ -80,5 +80,22 @@
</layout>
</widget>
<resources/>
<connections/>
<connections>
<connection>
<sender>pushButton_cancel</sender>
<signal>clicked()</signal>
<receiver>waitForServerToStartGameDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<x>162</x>
<y>231</y>
</hint>
<hint type="destinationlabel" >
<x>64</x>
<y>233</y>
</hint>
</hints>
</connection>
</connections>
</ui>