Mercurial > minori
comparison src/gui/widgets/sidebar.cc @ 305:91ac90a34003
core/time: remove Duration class, use regular functions instead
this class was pretty useless anyway
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 19 May 2024 15:56:20 -0400 |
parents | 99cbc51433e4 |
children |
comparison
equal
deleted
inserted
replaced
304:2115488eb302 | 305:91ac90a34003 |
---|---|
9 setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); | 9 setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); |
10 setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); | 10 setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); |
11 setSelectionMode(QAbstractItemView::SingleSelection); | 11 setSelectionMode(QAbstractItemView::SingleSelection); |
12 setSelectionBehavior(QAbstractItemView::SelectItems); | 12 setSelectionBehavior(QAbstractItemView::SelectItems); |
13 setMouseTracking(true); | 13 setMouseTracking(true); |
14 /* FIXME: is there an easy way to do this with palettes? */ | 14 |
15 setStyleSheet("QListWidget::item:disabled { background: transparent }"); | 15 setStyleSheet("QListWidget::item:disabled { background: transparent }"); |
16 | 16 |
17 SetBackgroundTransparent(true); | 17 SetBackgroundTransparent(true); |
18 | 18 |
19 connect(this, &QListWidget::currentRowChanged, this, | 19 connect(this, &QListWidget::currentRowChanged, this, |