A popover for displaying an error message within a composition.
Definition at line 18 of file VuoErrorPopover.hh.
|
void | setWindowLevelAndVisibility (bool top) |
| Changes the popover to float on top of all windows (if top is true), or to behave as a normal window (if top is false). More...
|
|
void | setWindowLevel (bool top) |
| Changes the popover to float on top of all windows (if top is true), or to behave as a normal window (if top is false). More...
|
|
|
void | paintEvent (QPaintEvent *event) |
| Draws the popover. More...
|
|
bool | eventFilter (QObject *obj, QEvent *event) |
| Reacts to mouse events (so that the user can drag the dialog) before passing them on (so that the user can click on links in the label). More...
|
|
QPainterPath | getPopoverPath (Qt::AnchorPoint arrowSide, int arrowPixelsFromTopOrLeft) |
| Returns a path that represents the outline of a popover that has an arrow on arrowSide at arrowPixelsFromTopOrLeft . More...
|
|
QMargins | getPopoverContentsMargins (Qt::AnchorPoint arrowSide) |
| Returns the recommended content area (inside margins) for a popover with an arrow on arrowSide . More...
|
|
|
static void * | getWindowForPopover (QWidget *popoverWidget) |
| Returns a pointer to the NSWindow associated with the provided widget. More...
|
|
static void | setWindowLevelAndVisibility (bool top, QWidget *popoverWidget) |
| Changes the provided popover to float on top of all windows (if top is true), or to behave as a normal window (if top is false). More...
|
|
static void | setWindowLevel (bool top, QWidget *popoverWidget) |
| Changes the provided popover to float on top of all windows (if top is true), or to behave as a normal window (if top is false). More...
|
|
static void | setWindowLevelForNextUpdate (bool top, QWidget *popoverWidget) |
| Changes the provided popover to float on top of all windows (if top is true), or to behave as a normal window (if top is false). More...
|
|
static int | popoverArrowHalfWidth = 12 |
| Half the width (or exactly the height) of the popover's arrow. More...
|
|
◆ VuoErrorPopover()
◆ eventFilter()
bool VuoErrorPopover::eventFilter |
( |
QObject * |
obj, |
|
|
QEvent * |
event |
|
) |
| |
|
protected |
Reacts to mouse events (so that the user can drag the dialog) before passing them on (so that the user can click on links in the label).
Definition at line 113 of file VuoErrorPopover.cc.
◆ paintEvent()
void VuoErrorPopover::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
◆ setWindowLevel
void VuoErrorPopover::setWindowLevel |
( |
bool |
top | ) |
|
|
slot |
Changes the popover to float on top of all windows (if top
is true), or to behave as a normal window (if top
is false).
Definition at line 167 of file VuoErrorPopover.cc.
◆ setWindowLevelAndVisibility
void VuoErrorPopover::setWindowLevelAndVisibility |
( |
bool |
top | ) |
|
|
slot |
Changes the popover to float on top of all windows (if top
is true), or to behave as a normal window (if top
is false).
If top
is false, also lowers the popover, effectively hiding it.
Definition at line 158 of file VuoErrorPopover.cc.
The documentation for this class was generated from the following files: