panic.gui.gui module¶
Classes¶
AlarmGUI¶
- class panic.gui.gui.AlarmGUI(parent=None, filters='*', options=None, mainwindow=None)[source]¶
-
- hurry()[source]¶
on ValueChanged event a refresh will be scheduled in 1 second time (so all events received in a single second will be summarized)
raw autodoc¶
- class panic.gui.gui.AlarmGUI(parent=None, filters='*', options=None, mainwindow=None)[source]
Bases: PyQt4.QtGui.QWidget, panic.gui.widgets.iValidatedWidget
- AcknowledgeAlarm(alarm=None)[source]
THIS METHOD IS NEVER CALLED!?!?!?!?!?!?!
- MAX_ALARMS = 30¶
- MAX_REFRESH = 3¶
- REFRESH_TIME = 5000¶
- RELOAD_TIME = 60000¶
- USE_EVENT_REFRESH = False¶
- alarmSorter(obj)[source]
obj is a panic.Alarm object
- hurry()[source]
on ValueChanged event a refresh will be scheduled in 1 second time (so all events received in a single second will be summarized)
- onFilter(*args, **kwargs)[source]
Forces an update of alarm list order and applies filters (do not reload database).
- onRefresh(*args, **kwargs)[source]
Just checks order, no reload, no filters
- showList(*args, **kwargs)[source]
This method just redraws the list keeping the currently selected items
- panic.gui.gui.main(args=[])[source]
- panic.gui.gui.main_gui()[source]