From ef902d52cf667a1c608ed6cac3a0ecb3b09bd9c0 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 18 Oct 2008 20:07:05 +0000 Subject: [PATCH] Cleaned layout(s) in config->server, and removed the ;setFixedSize that caused some damages to the server interface git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@757 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- .../src/gui/Preferences/PreferencesWindow.cpp | 2 +- .../src/gui/Preferences/ServerDialog.ui | 248 +++++++++--------- 2 files changed, 132 insertions(+), 118 deletions(-) diff --git a/retroshare-gui/src/gui/Preferences/PreferencesWindow.cpp b/retroshare-gui/src/gui/Preferences/PreferencesWindow.cpp index 930cabc71..938570f8e 100644 --- a/retroshare-gui/src/gui/Preferences/PreferencesWindow.cpp +++ b/retroshare-gui/src/gui/Preferences/PreferencesWindow.cpp @@ -79,7 +79,7 @@ PreferencesWindow::PreferencesWindow(QWidget *parent, Qt::WFlags flags) /* Select the first action */ grp->actions()[0]->setChecked(true); - setFixedSize(QSize(480, 450)); +// setFixedSize(QSize(480, 450)); connect(ui.okButton, SIGNAL(clicked( bool )), this, SLOT( saveChanges()) ); connect(ui.cancelprefButton, SIGNAL(clicked( bool )), this, SLOT( cancelpreferences()) ); diff --git a/retroshare-gui/src/gui/Preferences/ServerDialog.ui b/retroshare-gui/src/gui/Preferences/ServerDialog.ui index 1db32873c..d40847112 100644 --- a/retroshare-gui/src/gui/Preferences/ServerDialog.ui +++ b/retroshare-gui/src/gui/Preferences/ServerDialog.ui @@ -5,8 +5,8 @@ 0 0 - 451 - 438 + 636 + 418 @@ -499,20 +499,8 @@ Network Configuration (takes effect after restart) - - - 4 - - - 2 - - - 4 - - - 2 - - + + @@ -567,13 +555,26 @@ + + + + Qt::Horizontal + + + + 40 + 20 + + + + - + 0 0 @@ -581,86 +582,98 @@ Network Configuration - - - - - No Conectivity - - + + + + + + + + + No Conectivity + + + + + + + Limited + + + + + + + Udp + + + + + + + Retroshare Server + + + + + + + + + + + UDP Connections + + + false + + + + + + + Stable External IP Addrress + + + false + + + + + + + DHT Okay + + + false + + + + + + + UPnP Active + + + false + + + + + + + TCP server + + + false + + + + + + - - - - UDP Connections - - - false - - - - - - - Limited - - - - - - - Stable External IP Addrress - - - false - - - - - - - Udp - - - - - - - DHT Okay - - - false - - - - - - - UPnP Active - - - false - - - - - - - Retroshare Server - - - - - - - TCP server - - - false - - - - + @@ -682,6 +695,9 @@ + + + @@ -702,6 +718,9 @@ + + + @@ -722,12 +741,6 @@ - - - - - - @@ -746,20 +759,8 @@ Transfer Rates - - - 4 - - - 4 - - - 4 - - - 4 - - + + 6 @@ -798,7 +799,7 @@ - + 6 @@ -837,6 +838,19 @@ + + + + Qt::Horizontal + + + + 40 + 20 + + + +