Use thin border for transfer list

This commit is contained in:
Chocobo1 2015-07-12 16:52:18 +08:00
parent e275c3ba52
commit 5d3ba06e9d

View File

@ -179,7 +179,7 @@ MainWindow::MainWindow(QWidget *parent)
hSplitter = new QSplitter(Qt::Vertical, this); hSplitter = new QSplitter(Qt::Vertical, this);
hSplitter->setChildrenCollapsible(false); hSplitter->setChildrenCollapsible(false);
hSplitter->setContentsMargins(0, 4, 0, 0); hSplitter->setFrameShape(QFrame::NoFrame);
// Name filter // Name filter
search_filter = new LineEdit(this); search_filter = new LineEdit(this);
@ -193,6 +193,7 @@ MainWindow::MainWindow(QWidget *parent)
// Transfer List tab // Transfer List tab
transferList = new TransferListWidget(hSplitter, this); transferList = new TransferListWidget(hSplitter, this);
//transferList->setStyleSheet("QTreeView {border: none;}"); // borderless
properties = new PropertiesWidget(hSplitter, this, transferList); properties = new PropertiesWidget(hSplitter, this, transferList);
transferListFilters = new TransferListFiltersWidget(vSplitter, transferList); transferListFilters = new TransferListFiltersWidget(vSplitter, transferList);
hSplitter->addWidget(transferList); hSplitter->addWidget(transferList);