VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Properties
makVrv::DtErrorMessagesPage Class Reference

A dialog page error messages.

Inheritance diagram for makVrv::DtErrorMessagesPage:
Inheritance graph
[legend]

Public Slots

virtual void slot_onIgError (const DtDeError &igError, bool criticalError)
 
virtual void addMessage (const DtDeError &igError, bool criticalError)
 

Public Member Functions

 DtErrorMessagesPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 
virtual ~DtErrorMessagesPage ()
 
virtual QIcon icon ()
 
virtual DtQIconConfigurations qIconConfigurations () const
 
virtual QString title ()
 
virtual const std::string & pageClassName () const
 
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~DtPage ()
 
virtual PageAction pageAction ()
 
virtual void setPageAction (PageAction action)
 
virtual void setActionFlag (int flag)
 
virtual int actionFlag ()
 
virtual void setParentDialog (QWidget *paraentDialog)
 
virtual QWidget * parentDialog ()
 
virtual bool shouldAskBeforeAction (PageAction action)
 
virtual void askBeforeAction ()
 
virtual void executeAfterAsk (bool revert)
 
virtual void resumeLastAction ()
 
virtual void onCloseEvent ()
 
virtual void onSwitchEvent ()
 

Static Public Member Functions

static const std::string & thePageClassName ()
 

Protected Member Functions

virtual void setupGui ()
 
virtual void slot_currentStyleSheetsPathAboutToBeChanged ()
 
virtual void slot_postCurrentStyleSheetsPathChanged ()
 
virtual void populateWithDeErrorMessages ()
 
virtual void activate ()
 
virtual void deactivate ()
 

Protected Attributes

DtSignalConnectionManager myConnections
 
QTextEdit * myTextEdit
 
QColor myCriticalErrorColor
 
QColor myNonCriticalErrorColor
 
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
 
QWidget * myParentDialog
 
PageAction myCurrentPageAction
 
int myActionFlag
 

Properties

QColor CriticalErrorColor
 
QColor NonCriticalErrorColor
 

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
 

Constructor & Destructor Documentation

makVrv::DtErrorMessagesPage::DtErrorMessagesPage ( DtDe de,
QWidget *  parent,
Qt::WindowFlags  f = Qt::Widget 
)

CTOR.

virtual makVrv::DtErrorMessagesPage::~DtErrorMessagesPage ( )
virtual

DTOR.

Member Function Documentation

virtual QIcon makVrv::DtErrorMessagesPage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual DtQIconConfigurations makVrv::DtErrorMessagesPage::qIconConfigurations ( ) const
virtual

Get the icon configurations for the page. This is used to style the page's icon based on application settings.

Implements makVrv::DtPage.

virtual QString makVrv::DtErrorMessagesPage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& makVrv::DtErrorMessagesPage::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrv::DtPage.

static const std::string& makVrv::DtErrorMessagesPage::thePageClassName ( )
static

Get the class name of the class.

virtual void makVrv::DtErrorMessagesPage::slot_onIgError ( const DtDeError igError,
bool  criticalError 
)
virtualslot

Called when there is an igError.

virtual void makVrv::DtErrorMessagesPage::addMessage ( const DtDeError igError,
bool  criticalError 
)
virtualslot

Adds the message to the text box.

virtual void makVrv::DtErrorMessagesPage::setupGui ( )
protectedvirtual

Sets up the GUI.

virtual void makVrv::DtErrorMessagesPage::slot_currentStyleSheetsPathAboutToBeChanged ( )
protectedvirtual

Invoked when the application stylesheets are about to change. This function is used to invalidate text colors of the page.

virtual void makVrv::DtErrorMessagesPage::slot_postCurrentStyleSheetsPathChanged ( )
protectedvirtual

Invoked when the application stylesheets have been changed. This function is used refresh everything so that new text colors are used.

virtual void makVrv::DtErrorMessagesPage::populateWithDeErrorMessages ( )
protectedvirtual

Gets all DtDe errors and populates the page.

virtual void makVrv::DtErrorMessagesPage::activate ( )
protectedvirtual

Called when the page is displayed.

Implements makVrv::DtPage.

virtual void makVrv::DtErrorMessagesPage::deactivate ( )
protectedvirtual

Called when the page is hidden.

Implements makVrv::DtPage.

Member Data Documentation

DtSignalConnectionManager makVrv::DtErrorMessagesPage::myConnections
protected
QTextEdit* makVrv::DtErrorMessagesPage::myTextEdit
protected
QColor makVrv::DtErrorMessagesPage::myCriticalErrorColor
protected
QColor makVrv::DtErrorMessagesPage::myNonCriticalErrorColor
protected

Property Documentation

QColor makVrv::DtErrorMessagesPage::CriticalErrorColor
QColor makVrv::DtErrorMessagesPage::NonCriticalErrorColor

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)