* Added a Basic Share Manager for the replacement "Add Share" on MainWindow

* Fixed SharedFilesDialog columns

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@883 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2008-12-11 01:19:34 +00:00
parent f362746576
commit 5459a536be
7 changed files with 305 additions and 4 deletions

View file

@ -112,14 +112,19 @@ SharedFilesDialog::SharedFilesDialog(QWidget *parent)
/* Set header resize modes and initial section sizes */
QHeaderView * r_header = ui.remoteDirTreeView->header () ;
#if defined(Q_OS_WIN32)
r_header->setResizeMode (0, QHeaderView::Interactive);
r_header->setStretchLastSection(true);
#else
r_header->setResizeMode (0, QHeaderView::Stretch);
r_header->setStretchLastSection(false);
#endif
r_header->setResizeMode (1, QHeaderView::Fixed);
r_header->setResizeMode (2, QHeaderView::Fixed);
r_header->setResizeMode (3, QHeaderView::Fixed);
r_header->setStretchLastSection(false);
r_header->resizeSection ( 0, 210 );
r_header->resizeSection ( 0, 250 );
r_header->resizeSection ( 1, 70 );
r_header->resizeSection ( 2, 100 );
r_header->resizeSection ( 3, 100 );