OpenStructure
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()

MessageWidget ( QWidget *  parent = NULL)

◆ ~MessageWidget()

Member Function Documentation

◆ AllCleared

void AllCleared ( )
signal

◆ Clear

void Clear ( )
slot

◆ ErrorOutput

void ErrorOutput ( unsigned int  id,
const QString &  output 
)
slot

◆ GetActions()

ActionList GetActions ( )
virtual

get Widget specific actions

Reimplemented from Widget.

◆ GetIcon()

QPixmap GetIcon ( QMessageBox::Icon  icon,
QWidget *  widget 
)

◆ GetMessagesCount()

virtual int GetMessagesCount ( QMessageBox::Icon  icon = QMessageBox::NoIcon)
virtual

◆ GetTotalMessagesCount()

virtual int GetTotalMessagesCount ( )
virtual

◆ LogMessage() [1/3]

virtual void LogMessage ( const QString &  message,
QIcon  icon 
)
virtual

◆ LogMessage() [2/3]

virtual void LogMessage ( const QString &  message,
QMessageBox::Icon  icon = QMessageBox::Information 
)
virtual

◆ LogMessage() [3/3]

virtual void LogMessage ( QStandardItem *  item)
virtual

◆ MessageCountChanged

void MessageCountChanged ( QMessageBox::Icon  )
signal

◆ RemoveSelected

void RemoveSelected ( )
slot

◆ Restore()

virtual bool Restore ( const QString &  prefix)
inlinevirtual

Implements Widget.

Definition at line 52 of file message_widget.hh.

◆ Save()

virtual bool Save ( const QString &  prefix)
inlinevirtual

Implements Widget.

Definition at line 51 of file message_widget.hh.

◆ Update

void Update ( )
slot

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