Use "Do no download" in action instead of "Not downloaded"

Added "Select All/Select None" buttons to files list
This commit is contained in:
Christophe Dumez 2010-06-27 21:01:47 +00:00
parent c43efd7fb3
commit 4efae21f1d
63 changed files with 972 additions and 313 deletions

View file

@ -43,8 +43,8 @@ torrentAdditionDialog::torrentAdditionDialog(GUI *parent, Bittorrent* _BTSession
torrentContentList->setItemDelegate(PropDelegate);
connect(torrentContentList, SIGNAL(clicked(const QModelIndex&)), torrentContentList, SLOT(edit(const QModelIndex&)));
connect(torrentContentList, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(displayContentListMenu(const QPoint&)));
connect(collapseAllButton, SIGNAL(clicked()), torrentContentList, SLOT(collapseAll()));
connect(expandAllButton, SIGNAL(clicked()), torrentContentList, SLOT(expandAll()));
connect(selectAllButton, SIGNAL(clicked()), PropListModel, SLOT(selectAll()));
connect(selectNoneButton, SIGNAL(clicked()), PropListModel, SLOT(selectNone()));
connect(comboLabel, SIGNAL(editTextChanged(QString)), this, SLOT(updateLabelInSavePath(QString)));
connect(comboLabel, SIGNAL(currentIndexChanged(QString)), this, SLOT(updateLabelInSavePath(QString)));
// Remember columns width
@ -135,9 +135,9 @@ torrentAdditionDialog::torrentAdditionDialog(GUI *parent, Bittorrent* _BTSession
torrentContentList->setVisible(false);
hidden_height += torrentContentLbl->height();
torrentContentLbl->setVisible(false);
hidden_height += collapseAllButton->height();
collapseAllButton->setVisible(false);
expandAllButton->setVisible(false);
hidden_height += selectAllButton->height();
selectNoneButton->setVisible(false);
selectAllButton->setVisible(false);
// Resize main window
setMinimumSize(0, 0);