|
Medical Imaging Interaction Toolkit
2026.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 |
| Returns whether mouse events pass through the overlay to the parent. More... | |
| void | setTransparentForMouseEvents (bool transparent=true) |
| Sets whether mouse events pass through the overlay. More... | |
| int | getOpacity () const |
| Returns the current opacity value (0-255). More... | |
Additional Inherited Members | |
Public Slots inherited from QmitkOverlayWidget | |
| void | setOpacity (int opacity) |
| Sets the overlay opacity. More... | |
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 | ) |