File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
python/pyrogue/pydm/widgets Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2323
2424
2525class SystemLog (PyDMFrame ):
26- def __init__ (self , parent = None , init_channel = None ):
26+ def __init__ (self , parent = None , init_channel = None ,
27+ title = "System Log (20 most recent entries)" ):
2728 PyDMFrame .__init__ (self , parent , init_channel )
2829
2930 self ._systemLog = None
3031 self ._node = None
32+ self ._title = title
3133
3234 def connection_changed (self , connected ):
3335 build = (self ._node is None ) and (self ._connected != connected and connected is True )
@@ -42,7 +44,7 @@ def connection_changed(self, connected):
4244 vb = QVBoxLayout ()
4345 self .setLayout (vb )
4446
45- gb = QGroupBox ('System Log (20 most recent entries)' )
47+ gb = QGroupBox (self . _title )
4648 vb .addWidget (gb )
4749
4850 vb = QVBoxLayout ()
You can’t perform that action at this time.
0 commit comments