rcEndRunDlgImpl Class Reference

End run dialog class. More...

Inheritance diagram for rcEndRunDlgImpl:

Inheritance graph
[legend]
Collaboration diagram for rcEndRunDlgImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

def __init__
 rcEndRunDlgImpl constructor.
def initialize
 Initialize the dialog.
def complStatusChanged
 Signal that the completion status has been changed by the operator.
def getNewCompletionStatus
 Retrieve the new completion status value and string.
def ok
 The user accepted the dialog.
def cancel
 The user rejected the dialog.
def getCompletionStatusStr
 Retrieve the completion status selected in the dialog.
def enterComment
 Enter a comment programmatically.
def clearHistory
 Clear the comment history.

Static Public Attributes

 Accepted = QDialog.Accepted

Detailed Description

End run dialog class.

This class is based on the rcCommentPanel class (the import is done in rcEndRunDlg.ui) which provides the operator with the means of entering comments at the end of the run.

The operator can also override the completion status here.

Definition at line 27 of file rcEndRunDlgImpl.py.


Member Function Documentation

def __init__   self,
  parent = None,
  name = None,
  fl = 0
 

rcEndRunDlgImpl constructor.

Parameters:
parent Parent GUI
name GUI name
fl GUI flags

Definition at line 32 of file rcEndRunDlgImpl.py.

def cancel   self  ) 
 

The user rejected the dialog.

Definition at line 112 of file rcEndRunDlgImpl.py.

def clearHistory   self  ) 
 

Clear the comment history.

Definition at line 140 of file rcEndRunDlgImpl.py.

def complStatusChanged   self,
  complStatusStr
 

Signal that the completion status has been changed by the operator.

Parameters:
complStatusStr The new completion status string.

Definition at line 71 of file rcEndRunDlgImpl.py.

def enterComment   self,
  comment,
  addToHistory = 0,
  source = 'system'
 

Enter a comment programmatically.

This can be called from a user script to add to comments. The text is prepended with source to indicate that it is a machine generated comment.

Parameters:
comment The text of the comment to be entered
addtoHistory Whether this comment will be persistent or not
source The text to be prepended before the comment

Definition at line 126 of file rcEndRunDlgImpl.py.

def getCompletionStatusStr   self  ) 
 

Retrieve the completion status selected in the dialog.

Returns:
Selected completion status string.

Definition at line 119 of file rcEndRunDlgImpl.py.

def getNewCompletionStatus   self,
  curComplStatusStr
 

Retrieve the new completion status value and string.

Parameters:
curComplStatusStr Current completion status string
Returns:
A tuple of new completion status value and string or A tuple of two Nones if the completion status have not been modified.

Definition at line 82 of file rcEndRunDlgImpl.py.

def initialize   self,
  secMan,
  loginId,
  app
 

Initialize the dialog.

Parameters:
secMan Security manager
loginId Operator's login id.

Definition at line 47 of file rcEndRunDlgImpl.py.

def ok   self  ) 
 

The user accepted the dialog.

Definition at line 98 of file rcEndRunDlgImpl.py.


Member Data Documentation

Accepted = QDialog.Accepted [static]
 

Definition at line 30 of file rcEndRunDlgImpl.py.


The documentation for this class was generated from the following file:
Generated on Thu Apr 27 20:53:23 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO