A popover widget for displaying information about a port.
Definition at line 20 of file VuoPortPopover.hh.
Public Slots | |
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 | 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 | setCompositionRunning (bool running, bool resetDataValue=true) |
Updates the popover to include or exclude information relevant only if the composition is currently running. More... | |
void | updateTextAndResize () |
Updates the popover text and expands the popover to accommodate the updated text if necessary. More... | |
void | updateCachedDataValue (QString value) |
Stores a string representation of the most recent data value known to be associated with the port. More... | |
void | updateLastEventTime () |
Updates the time of the last known event associated with the port. More... | |
void | updateLastEventTimeAndCachedDataValue (QString value) |
Updates both the time of the last known event and the last data value associated with the port. More... | |
void | incrementDroppedEventCount () |
Increments the number of dropped events observed for the port (a trigger port). More... | |
Signals | |
void | popoverClosedForPort (string portID) |
Emitted when the popover is closed. More... | |
void | popoverDetachedFromPort (string portID) |
Emitted when the popover is detached from its port. More... | |
void | popoverResized () |
Emitted when the popover has been resized. More... | |
Public Member Functions | |
VuoPortPopover (VuoPort *port, VuoEditorComposition *composition, QWidget *parent=0) | |
Creates a new popover widget to display information about a port. More... | |
~VuoPortPopover () | |
Destroys a popover. More... | |
bool | getDetached () |
Returns a boolean indicating whether the popover is detached from its port. More... | |
void | detach () |
Detaches the popover from its port. More... | |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *event) |
Handle mouse press events. More... | |
void | mouseMoveEvent (QMouseEvent *event) |
Handle mouse move events. More... | |
void | mouseReleaseEvent (QMouseEvent *event) |
Handle mouse release events. More... | |
void | closeEvent (QCloseEvent *event) |
Handle close events. More... | |
void | resizeEvent (QResizeEvent *event) |
Handle resize events. More... | |
|
explicit |
Creates a new popover widget to display information about a port.
Definition at line 43 of file VuoPortPopover.cc.
VuoPortPopover::~VuoPortPopover | ( | ) |
Destroys a popover.
Definition at line 113 of file VuoPortPopover.cc.
|
protected |
Handle close events.
Definition at line 884 of file VuoPortPopover.cc.
void VuoPortPopover::detach | ( | ) |
Detaches the popover from its port.
Definition at line 664 of file VuoPortPopover.cc.
bool VuoPortPopover::getDetached | ( | ) |
Returns a boolean indicating whether the popover is detached from its port.
Definition at line 656 of file VuoPortPopover.cc.
|
slot |
Increments the number of dropped events observed for the port (a trigger port).
Definition at line 184 of file VuoPortPopover.cc.
|
protected |
Handle mouse move events.
Definition at line 858 of file VuoPortPopover.cc.
|
protected |
Handle mouse press events.
Definition at line 841 of file VuoPortPopover.cc.
|
protected |
Handle mouse release events.
Definition at line 873 of file VuoPortPopover.cc.
|
signal |
Emitted when the popover is closed.
|
signal |
Emitted when the popover is detached from its port.
|
signal |
Emitted when the popover has been resized.
|
protected |
Handle resize events.
Definition at line 893 of file VuoPortPopover.cc.
|
slot |
Updates the popover to include or exclude information relevant only if the composition is currently running.
Definition at line 198 of file VuoPortPopover.cc.
|
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 830 of file VuoPortPopover.cc.
|
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 818 of file VuoPortPopover.cc.
|
slot |
Stores a string representation of the most recent data value known to be associated with the port.
Definition at line 123 of file VuoPortPopover.cc.
|
slot |
Updates the time of the last known event associated with the port.
Definition at line 136 of file VuoPortPopover.cc.
|
slot |
Updates both the time of the last known event and the last data value associated with the port.
Definition at line 160 of file VuoPortPopover.cc.
|
slot |
Updates the popover text and expands the popover to accommodate the updated text if necessary.
This function may be called on any dispatch queue except popoverTextQueue
.
Definition at line 238 of file VuoPortPopover.cc.