RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
gui.detailedledalert.PopupWidget Class Reference

Popup showing components' alerts. More...

Inheritance diagram for gui.detailedledalert.PopupWidget:

Public Member Functions

 __init__ (self, parent=None)
 
 populate (self, components)
 Clears current content and dynamically adds new component alerts to the popup.
 
 clear (self)
 Removes all items from the layout.
 
 is_empty (self)
 Returns 'False' if the popup contains any element.
 
 focusOutEvent (self, event)
 Hides the popup when it loses focus.
 

Protected Attributes

list _component_paths = []
 
 _layout = QVBoxLayout()
 

Detailed Description

Popup showing components' alerts.

Constructor & Destructor Documentation

◆ __init__()

gui.detailedledalert.PopupWidget.__init__ ( self,
parent = None )

Member Function Documentation

◆ clear()

gui.detailedledalert.PopupWidget.clear ( self)

Removes all items from the layout.

◆ focusOutEvent()

gui.detailedledalert.PopupWidget.focusOutEvent ( self,
event )

Hides the popup when it loses focus.

◆ is_empty()

gui.detailedledalert.PopupWidget.is_empty ( self)

Returns 'False' if the popup contains any element.

◆ populate()

gui.detailedledalert.PopupWidget.populate ( self,
components )

Clears current content and dynamically adds new component alerts to the popup.

Member Data Documentation

◆ _component_paths

gui.detailedledalert.PopupWidget._component_paths = []
protected

◆ _layout

gui.detailedledalert.PopupWidget._layout = QVBoxLayout()
protected

The documentation for this class was generated from the following file: