Skip to content

Commit

Permalink
Merge pull request #249 from PhysiCell-Tools/development
Browse files Browse the repository at this point in the history
fix custom radio btns for cwd
  • Loading branch information
rheiland authored Sep 21, 2024
2 parents 9b5dcb3 + 084d294 commit 2c59e2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes
File renamed without changes
8 changes: 4 additions & 4 deletions bin/studio_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,16 @@ def check_current_validity(self):
height: 12;
}
QRadioButton::indicator:unchecked {
image: url(bin/icon/RadioButtonUnchecked.svg);
image: url(images:RadioButtonUnchecked.svg);
}
QRadioButton::indicator:checked {
image: url(bin/icon/RadioButtonChecked.svg);
image: url(images:RadioButtonChecked.svg);
}
"""
class QRadioButton_custom(QRadioButton):
def __init__(self, text, styleSheet=radiobutton_style, **kwargs):
def __init__(self, text, **kwargs):
super(QRadioButton, self).__init__(text, **kwargs)
self.setStyleSheet(styleSheet)
self.setStyleSheet(radiobutton_style)

class ExtendedCombo( QComboBox ):
def __init__( self, parent = None):
Expand Down

0 comments on commit 2c59e2a

Please sign in to comment.