Version: 9.15.0
gui.Appli.ErrorEvent Class Reference
Inheritance diagram for gui.Appli.ErrorEvent:
Collaboration diagram for gui.Appli.ErrorEvent:

Public Member Functions

def __init__ (self, caption, msg)
 
def process (self, parent)
 

Public Attributes

 caption
 
 msg
 

Detailed Description

Definition at line 40 of file Appli.py.

Constructor & Destructor Documentation

◆ __init__()

def gui.Appli.ErrorEvent.__init__ (   self,
  caption,
  msg 
)

Definition at line 41 of file Appli.py.

41  def __init__(self,caption,msg):
42  QCustomEvent.__init__(self,8888)
43  self.caption=caption
44  self.msg=msg

Member Function Documentation

◆ process()

def gui.Appli.ErrorEvent.process (   self,
  parent 
)

Definition at line 45 of file Appli.py.

45  def process(self,parent):
46  QMessageBox.warning(parent,self.caption,self.msg)
47 

References gui.Appli.ErrorEvent.caption, and gui.Appli.ErrorEvent.msg.

Member Data Documentation

◆ caption

gui.Appli.ErrorEvent.caption

Definition at line 43 of file Appli.py.

Referenced by gui.Appli.ErrorEvent.process().

◆ msg

gui.Appli.ErrorEvent.msg

Definition at line 44 of file Appli.py.

Referenced by gui.Appli.ErrorEvent.process().


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