MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / __init__

Method __init__

pyxrf/gui_module/useful_widgets.py:181–187  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

179 """
180
181 def __init__(self, *args, **kwargs):
182 super().__init__(*args, **kwargs)
183 self.setReadOnly(True)
184 # Set background color the same as for disabled window.
185 p = self.palette()
186 p.setColor(QPalette.Base, p.color(QPalette.Disabled, QPalette.Base))
187 self.setPalette(p)
188
189
190class PushButtonMinimumWidth(QPushButton):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected