Potku  1.0.0
Class Documentation
 All Classes Namespaces Functions
Widgets.LogWidget.LogWidget Class Reference

Inherits QWidget.

Public Member Functions

def __init__
 
def add_text
 
def add_error
 
def closeEvent
 
def minimize_window
 

Public Attributes

 want_to_close
 
 ui
 

Detailed Description

Log widget which displays the log. This widget handles the loghandlers emits.    

Constructor & Destructor Documentation

def Widgets.LogWidget.LogWidget.__init__ (   self)
Initializes the loghandler widget.

Member Function Documentation

def Widgets.LogWidget.LogWidget.add_error (   self,
  message 
)
Adds the specified message to the error field.

Args:
    message: the message which will be displayed.            
def Widgets.LogWidget.LogWidget.add_text (   self,
  message 
)
Adds the specified message to the log field.

Args:
    message: the message which will be displayed.            
def Widgets.LogWidget.LogWidget.closeEvent (   self,
  evnt 
)
Event which happens when the windows is closing.

Instead of closing, minimize the window. This is because the disabling of
the close button isn't implemented yet. 

Args:
    envt: Close event
def Widgets.LogWidget.LogWidget.minimize_window (   self)
Minimize the window.

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