panic Package

widgets Module

Description

This file belongs to the PANIC Alarm Suite, developed by ALBA Synchrotron for Tango Control System GPL Licensed

Enjoy,

Sergi Rubio, 2010

Classes

ToolbarActionButton

class panic.widgets.ToolbarActionButton(gui, api, parent=None)[source]

GuiWidget

class panic.widgets.GuiWidget(parent=None)[source]

PanicToolbar

class panic.widgets.PanicToolbar(parent=None, container=None, filters=None, max_visible=16, refresh=10000)[source]

AlarmValueLabel

class panic.widgets.AlarmValueLabel(parent=None, designMode=False, background='quality')[source]

Functions

getThemeIcon

panic.widgets.getThemeIcon(icon)[source]

raw autodoc

class panic.widgets.AlarmValueLabel(parent=None, designMode=False, background='quality')[source]

Bases: taurus.qt.qtgui.display.taurusvaluelabel.TaurusValueLabel

setModel(model)[source]
updateStyle(extra='')[source]
class panic.widgets.GuiWidget(parent=None)[source]

Bases: PyQt4.QtGui.QWidget

editAlarm(alarm)[source]
show()[source]
class panic.widgets.PanicToolbar(parent=None, container=None, filters=None, max_visible=16, refresh=10000)[source]

Bases: taurus.qt.qtgui.base.taurusbase.TaurusBaseWidget, PyQt4.QtGui.QToolBar

filter_alarms()[source]
refresh()[source]
setRefresh(interval)[source]
setup(filters=None, api=None)[source]
showGui()[source]
class panic.widgets.ToolbarActionButton(gui, api, parent=None)[source]

Bases: taurus.qt.qtgui.base.taurusbase.TaurusBaseComponent, PyQt4.QtGui.QPushButton

LEDS = {'OK': ':/leds/images24/ledgreen.png', 'ALARM': ':/leds/images24/ledred.png', 'WARNING': ':/leds/images24/ledorange.png', 'CHANGING': ':/leds/images24/ledblue.png', 'ERROR': ':/leds/images24/ledredoff.png', 'DEBUG': ':/leds/images24/ledyellow.png', 'OFF': ':/leds/images24/ledblueoff.png'}
SHOW_FAILED_ALARMS = False
buildMenu()[source]
getIcon(url)[source]
handleEvent(evt_src, evt_type, evt_value)[source]
onAcknowledge()[source]
onDisable()[source]
onEdit()[source]
onHistory()[source]
onReset()[source]
setAlarmModel(tag)[source]
setModel(model)[source]
panic.widgets.getThemeIcon(icon)[source]