mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Use "Do no download" in action instead of "Not downloaded"
Added "Select All/Select None" buttons to files list
This commit is contained in:
parent
c43efd7fb3
commit
4efae21f1d
63 changed files with 972 additions and 313 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue