OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions
MessageWidget Class Reference

#include <message_widget.hh>

Inherits Widget.

Public Slots

void ErrorOutput (unsigned int id, const QString &output)
 
void Clear ()
 
void RemoveSelected ()
 
void Update ()
 

Signals

void MessageCountChanged (QMessageBox::Icon)
 
void AllCleared ()
 

Public Member Functions

 MessageWidget (QWidget *parent=NULL)
 
 ~MessageWidget ()
 
virtual void LogMessage (const QString &message, QMessageBox::Icon icon=QMessageBox::Information)
 
virtual void LogMessage (QStandardItem *item)
 
virtual void LogMessage (const QString &message, QIcon icon)
 
virtual int GetMessagesCount (QMessageBox::Icon icon=QMessageBox::NoIcon)
 
virtual int GetTotalMessagesCount ()
 
virtual bool Save (const QString &prefix)
 
virtual bool Restore (const QString &prefix)
 
QPixmap GetIcon (QMessageBox::Icon icon, QWidget *widget)
 
ActionList GetActions ()
 
- Public Member Functions inherited from Widget
 Widget (QWidget *widget, QWidget *parent=NULL)
 
void SetDestroyOnClose (bool flag)
 
bool DestroyOnClose () const
 
QWidget * GetInternalWidget ()
 
void SetInternalWidget (QWidget *widget)
 
const QString & GetUniqueID () const
 
void SetUniqueID (const QString &id)
 

Detailed Description

Definition at line 37 of file message_widget.hh.

Constructor & Destructor Documentation

MessageWidget ( QWidget *  parent = NULL)

Member Function Documentation

void AllCleared ( )
signal
void Clear ( )
slot
void ErrorOutput ( unsigned int  id,
const QString &  output 
)
slot
ActionList GetActions ( )
virtual

get Widget specific actions

Reimplemented from Widget.

QPixmap GetIcon ( QMessageBox::Icon  icon,
QWidget *  widget 
)
virtual int GetMessagesCount ( QMessageBox::Icon  icon = QMessageBox::NoIcon)
virtual
virtual int GetTotalMessagesCount ( )
virtual
virtual void LogMessage ( const QString &  message,
QMessageBox::Icon  icon = QMessageBox::Information 
)
virtual
virtual void LogMessage ( QStandardItem *  item)
virtual
virtual void LogMessage ( const QString &  message,
QIcon  icon 
)
virtual
void MessageCountChanged ( QMessageBox::Icon  )
signal
void RemoveSelected ( )
slot
virtual bool Restore ( const QString &  prefix)
inlinevirtual

Implements Widget.

Definition at line 52 of file message_widget.hh.

virtual bool Save ( const QString &  prefix)
inlinevirtual

Implements Widget.

Definition at line 51 of file message_widget.hh.

void Update ( )
slot

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