Added image for missing QTreeView/QListView state, fix #92 (#97)

* Added image for the missing QTreeView/QListView undeterminated state, fix #92
* Add entry to CHANGES and AUTHORS
This commit is contained in:
KcHNST 2018-05-08 14:15:03 +02:00 committed by Daniel Pizetta
parent 531eb5f816
commit 53be59a7f8
3 changed files with 17 additions and 1 deletions

View File

@ -20,5 +20,6 @@ Please, insert your information after the last one.
- Year - Name - `<contact>` - contribution.
- 2018 - Xingyun Wu - `xingyun.wu@foxmail.com` - bug fixes.
- 2018 - [KcHNST](https://github.com/KcHNST) - bug fixes.
Thank you all!
Thank you all!

View File

@ -3,6 +3,7 @@
- 2.5.4
- Fix indicator image of checkable QGroupBox for check/uncheck states, #93
- Fix wrong comma position, #95
- Added image for the missing QTreeView/QListView undeterminated state, fix #92
- 2.5.3
- Add future warning and pending deprecation for 3.0 version preparation #89
- Add ISSUE_TEMPLATE to ask for default information on issue tracker

View File

@ -912,6 +912,11 @@ QListView::indicator:unchecked {
image: url(:/qss_icons/rc/checkbox_unchecked.png);
}
QTreeView::indicator:indeterminate,
QListView::indicator:indeterminate {
image: url(:/qss_icons/rc/checkbox_indeterminate.png);
}
QTreeView::indicator:checked:hover,
QTreeView::indicator:checked:focus,
QTreeView::indicator:checked:pressed,
@ -930,6 +935,15 @@ QListView::indicator:unchecked:pressed {
image: url(:/qss_icons/rc/checkbox_unchecked_focus.png);
}
QTreeView::indicator:indeterminate:hover,
QTreeView::indicator:indeterminate:focus,
QTreeView::indicator:indeterminate:pressed,
QListView::indicator:indeterminate:hover,
QListView::indicator:indeterminate:focus,
QListView::indicator:indeterminate:pressed {
image: url(:/qss_icons/rc/checkbox_indeterminate_focus.png);
}
QSlider::groove:horizontal {
border: 1px solid #565a5e;
height: 4px;