Vuo  2.3.2
Public Slots | Public Member Functions | Protected Member Functions | List of all members
VuoErrorPopover Class Reference

Description

A popover for displaying an error message within a composition.

Definition at line 18 of file VuoErrorPopover.hh.

Public Slots

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...
 

Public Member Functions

 VuoErrorPopover (VuoCompilerIssue &issue, QWidget *parent)
 Creates (but does not yet show) the popover. More...
 
- Public Member Functions inherited from VuoPopover
 VuoPopover (QWidget *parent=0)
 Creates a VuoPopover. More...
 

Protected Member Functions

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...
 
- Protected Member Functions inherited from VuoPopover
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...
 

Additional Inherited Members

- Static Public Member Functions inherited from VuoPopover
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 Protected Member Functions inherited from VuoPopover
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 Protected Attributes inherited from VuoPopover
static int popoverArrowHalfWidth = 12
 Half the width (or exactly the height) of the popover's arrow. More...
 

Constructor & Destructor Documentation

◆ VuoErrorPopover()

VuoErrorPopover::VuoErrorPopover ( VuoCompilerIssue issue,
QWidget *  parent 
)
explicit

Creates (but does not yet show) the popover.

Definition at line 19 of file VuoErrorPopover.cc.

Member Function Documentation

◆ 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

Draws the popover.

Definition at line 89 of file VuoErrorPopover.cc.

◆ 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: