- Added Collapse/Expand all buttons to torrent addition dialog (closes #272654)

This commit is contained in:
Christophe Dumez
2008-09-21 08:13:23 +00:00
parent 06c4c717bd
commit b32b42b53e
57 changed files with 884 additions and 582 deletions

View File

@@ -78,6 +78,8 @@ class torrentAdditionDialog : public QDialog, private Ui_addTorrentDialog{
connect(actionNormal, SIGNAL(triggered()), this, SLOT(normalSelection()));
connect(actionHigh, SIGNAL(triggered()), this, SLOT(highSelection()));
connect(actionMaximum, SIGNAL(triggered()), this, SLOT(maximumSelection()));
connect(collapseAllButton, SIGNAL(clicked()), torrentContentList, SLOT(collapseAll()));
connect(expandAllButton, SIGNAL(clicked()), torrentContentList, SLOT(expandAll()));
torrentContentList->header()->resizeSection(0, 200);
//torrentContentList->header()->setResizeMode(0, QHeaderView::Stretch);
QString home = QDir::homePath();