Set inititial sizes of the splitter and columns in FriendsDialog and SearchDialog.

Fixed height of the MainWindow when GetStartedDialog is visible.
Fixed the initial size of the ShareManger and show the checkboxes for the share mode centered.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-08-15 23:42:07 +00:00
parent d25730eabb
commit 0f51b7d72f
9 changed files with 231 additions and 287 deletions

View file

@ -162,7 +162,7 @@ FriendsDialog::FriendsDialog(QWidget *parent)
connect(newsFeed, SIGNAL(newsFeedChanged(int)), this, SLOT(newsFeedChanged(int)));
ui.peertreeWidget->setColumnCount(COLUMN_COUNT);
ui.peertreeWidget->setColumnWidth(COLUMN_NAME, 150);
ui.peertreeWidget->sortItems(COLUMN_NAME, Qt::AscendingOrder);
// set header text aligment
@ -233,6 +233,11 @@ FriendsDialog::FriendsDialog(QWidget *parent)
setAcceptDrops(true);
ui.lineEdit->setAcceptDrops(false);
/* Set initial size the splitter */
QList<int> sizes;
sizes << height() << 100; // Qt calculates the right sizes
ui.splitter_2->setSizes(sizes);
updateAvatar();
loadmypersonalstatus();
displayMenu();