Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
#include <QmitkButtonOverlayWidget.h>
Signals | |
void | Clicked () |
Public Member Functions | |
QmitkButtonOverlayWidget (QWidget *parent=nullptr) | |
~QmitkButtonOverlayWidget () override | |
QString | GetOverlayText () const |
void | SetOverlayText (const QString &text) |
QString | GetButtonText () const |
void | SetButtonText (const QString &text) |
QIcon | GetButtonIcon () const |
void | SetButtonIcon (const QIcon &icon) |
Public Member Functions inherited from QmitkOverlayWidget | |
QmitkOverlayWidget (QWidget *parent=nullptr) | |
~QmitkOverlayWidget () override | |
bool | isTransparentForMouseEvents () const |
void | setTransparentForMouseEvents (bool transparent=true) |
Additional Inherited Members | |
Protected Member Functions inherited from QmitkOverlayWidget | |
bool | event (QEvent *e) override |
bool | eventFilter (QObject *watched, QEvent *event) override |
void | paintEvent (QPaintEvent *event) override |
Properties inherited from QmitkOverlayWidget | |
bool | transparentForMouseEvents |
Overlay that renders a passed string and draws an icon as a push button. You may pass an html string that will be rendered accordingly respecting the current application style sheet. The button will return the 'Clicked' signal which can be connected to a slot in the calling class.
Definition at line 27 of file QmitkButtonOverlayWidget.h.
|
explicit |
|
override |
|
signal |
QIcon QmitkButtonOverlayWidget::GetButtonIcon | ( | ) | const |
QString QmitkButtonOverlayWidget::GetButtonText | ( | ) | const |
QString QmitkButtonOverlayWidget::GetOverlayText | ( | ) | const |
void QmitkButtonOverlayWidget::SetButtonIcon | ( | const QIcon & | icon | ) |
void QmitkButtonOverlayWidget::SetButtonText | ( | const QString & | text | ) |
void QmitkButtonOverlayWidget::SetOverlayText | ( | const QString & | text | ) |