MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / changeStyle

Method changeStyle

gui-apps/app_pyqt5.py:62–64  ·  view source on GitHub ↗
(self, styleName)

Source from the content-addressed store, hash-verified

60 self.changeStyle('Windows')
61
62 def changeStyle(self, styleName):
63 QApplication.setStyle(QStyleFactory.create(styleName))
64 self.changePalette()
65
66 def changePalette(self):
67 if (self.useStylePaletteCheckBox.isChecked()):

Callers 1

__init__Method · 0.95

Calls 2

changePaletteMethod · 0.95
createMethod · 0.80

Tested by

no test coverage detected