add dropdown annimation to library & internet tree view
This commit is contained in:
parent
f03d5356c3
commit
8020749375
|
@ -32,6 +32,7 @@ InternetView::InternetView(QWidget* parent) : AutoExpandingTreeView(parent) {
|
|||
SetExpandOnReset(false);
|
||||
setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
setSelectionMode(QAbstractItemView::ExtendedSelection);
|
||||
setAnimated(true);
|
||||
}
|
||||
|
||||
void InternetView::contextMenuEvent(QContextMenuEvent* e) {
|
||||
|
|
|
@ -185,6 +185,7 @@ LibraryView::LibraryView(QWidget* parent)
|
|||
setSelectionMode(QAbstractItemView::ExtendedSelection);
|
||||
|
||||
setStyleSheet("QTreeView::item{padding-top:1px;}");
|
||||
setAnimated(true);
|
||||
}
|
||||
|
||||
LibraryView::~LibraryView() {}
|
||||
|
|
Loading…
Reference in New Issue