mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 13:58:51 +03:00
- Made Torrent filters column collapsible (can be hidden)
This commit is contained in:
parent
5d566bba86
commit
9fa0ff78bc
1 changed files with 3 additions and 1 deletions
|
@ -111,7 +111,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
|
||||||
tabs = new QTabWidget();
|
tabs = new QTabWidget();
|
||||||
connect(tabs, SIGNAL(currentChanged(int)), this, SLOT(tab_changed(int)));
|
connect(tabs, SIGNAL(currentChanged(int)), this, SLOT(tab_changed(int)));
|
||||||
vSplitter = new QSplitter(Qt::Horizontal);
|
vSplitter = new QSplitter(Qt::Horizontal);
|
||||||
vSplitter->setChildrenCollapsible(false);
|
//vSplitter->setChildrenCollapsible(false);
|
||||||
hSplitter = new QSplitter(Qt::Vertical);
|
hSplitter = new QSplitter(Qt::Vertical);
|
||||||
hSplitter->setChildrenCollapsible(false);
|
hSplitter->setChildrenCollapsible(false);
|
||||||
|
|
||||||
|
@ -123,6 +123,8 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
|
||||||
hSplitter->addWidget(properties);
|
hSplitter->addWidget(properties);
|
||||||
vSplitter->addWidget(transferListFilters);
|
vSplitter->addWidget(transferListFilters);
|
||||||
vSplitter->addWidget(hSplitter);
|
vSplitter->addWidget(hSplitter);
|
||||||
|
vSplitter->setCollapsible(0, true);
|
||||||
|
vSplitter->setCollapsible(1, false);
|
||||||
tabs->addTab(vSplitter, QIcon(QString::fromUtf8(":/Icons/oxygen/folder-remote.png")), tr("Transfers"));
|
tabs->addTab(vSplitter, QIcon(QString::fromUtf8(":/Icons/oxygen/folder-remote.png")), tr("Transfers"));
|
||||||
vboxLayout->addWidget(tabs);
|
vboxLayout->addWidget(tabs);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue