CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::ConsoleWidget Class Reference

Widget for displaying status messages. More...

#include <cxConsoleWidget.h>

Inheritance diagram for cx::ConsoleWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 ConsoleWidget (QWidget *parent, QString uid="console_widget", QString name="Console")
 
 ConsoleWidget (QWidget *parent, QString uid, QString name, XmlOptionFile options, LogPtr log)
 
 ~ConsoleWidget ()
 
void setDetails (bool on)
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Slots

void contextMenuEvent (QContextMenuEvent *event)
 
virtual void showEvent (QShowEvent *event)
 updates internal info before showing the widget More...
 

Protected Member Functions

virtual void prePaintEvent ()
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void paintEvent (QPaintEvent *event)
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 

Detailed Description

Widget for displaying status messages.

Date
24. aug. 2010
Author
: Janne Beate Bakeng, SINTEF Medisinsk Teknologi

Definition at line 100 of file cxConsoleWidget.h.

Constructor & Destructor Documentation

cx::ConsoleWidget::ConsoleWidget ( QWidget *  parent,
QString  uid = "console_widget",
QString  name = "Console" 
)

Definition at line 317 of file cxConsoleWidget.cpp.

cx::ConsoleWidget::ConsoleWidget ( QWidget *  parent,
QString  uid,
QString  name,
XmlOptionFile  options,
LogPtr  log 
)

-----------------------------------------------------—


Definition at line 303 of file cxConsoleWidget.cpp.

cx::ConsoleWidget::~ConsoleWidget ( )

Definition at line 410 of file cxConsoleWidget.cpp.

Member Function Documentation

void cx::ConsoleWidget::contextMenuEvent ( QContextMenuEvent *  event)
protectedslot

Definition at line 623 of file cxConsoleWidget.cpp.

void cx::ConsoleWidget::prePaintEvent ( )
protectedvirtual

Implement to perform expensive operations that need only be called once per paint. Use setModified() to trigger this method.

Reimplemented from cx::OptimizedUpdateWidget.

Definition at line 331 of file cxConsoleWidget.cpp.

void cx::ConsoleWidget::setDetails ( bool  on)

Definition at line 420 of file cxConsoleWidget.cpp.

void cx::ConsoleWidget::showEvent ( QShowEvent *  event)
protectedvirtualslot

updates internal info before showing the widget

Definition at line 632 of file cxConsoleWidget.cpp.


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