Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
#include <QmitkSimpleTextOverlayWidget.h>
Public Member Functions | |
QmitkSimpleTextOverlayWidget (QWidget *parent=nullptr) | |
~QmitkSimpleTextOverlayWidget () override | |
QString | GetOverlayText () const |
void | SetOverlayText (const QString &text) |
Public Member Functions inherited from QmitkOverlayWidget | |
QmitkOverlayWidget (QWidget *parent=nullptr) | |
~QmitkOverlayWidget () override | |
bool | isTransparentForMouseEvents () const |
void | setTransparentForMouseEvents (bool transparent=true) |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) override |
Protected Member Functions inherited from QmitkOverlayWidget | |
bool | event (QEvent *e) override |
bool | eventFilter (QObject *watched, QEvent *event) override |
void | paintEvent (QPaintEvent *event) override |
Properties | |
QString | overlayText |
Properties inherited from QmitkOverlayWidget | |
bool | transparentForMouseEvents |
Simple overlay that renders a passed string. You may pass an html string that will be rendered accordingly respecting the current application style sheet.
Definition at line 22 of file QmitkSimpleTextOverlayWidget.h.
|
explicit |
|
override |
QString QmitkSimpleTextOverlayWidget::GetOverlayText | ( | ) | const |
|
overrideprotected |
void QmitkSimpleTextOverlayWidget::SetOverlayText | ( | const QString & | text | ) |
|
readwrite |
Definition at line 25 of file QmitkSimpleTextOverlayWidget.h.