Fix indicator image of checkable QGroupBox for checked/unchecked stat… (#94)

* Fix indicator image of checkable QGroupBox for checked/unchecked state #93
* Edit version information
This commit is contained in:
Nazar 2018-04-27 18:38:01 +03:00 committed by Daniel Pizetta
parent 5cf45ed167
commit 91231c9893
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,7 @@
# Changelog
- 2.5.4
- Fix indicator image of checkable QGroupBox for check/uncheck states, #93
- 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

@ -48,7 +48,7 @@ import platform
import os
import warnings
__version__ = "2.5.3"
__version__ = "2.5.4"
PYQTGRAPH_QT_LIB_VALUES = ['PyQt', 'PyQt5', 'PySide', 'PySide2']
QT_API_VALUES = ['pyqt', 'pyqt5', 'pyside', 'pyside2']

View File

@ -47,7 +47,8 @@ QGroupBox::indicator {
margin-left: 2px;
}
QCheckBox::indicator:unchecked {
QCheckBox::indicator:unchecked,
QGroupBox::indicator:unchecked {
image: url(:/qss_icons/rc/checkbox_unchecked.png);
}
@ -61,7 +62,8 @@ QGroupBox::indicator:unchecked:pressed {
image: url(:/qss_icons/rc/checkbox_unchecked_focus.png);
}
QCheckBox::indicator:checked {
QCheckBox::indicator:checked
QGroupBox::indicator:checked, {
image: url(:/qss_icons/rc/checkbox_checked.png);
}