Represents the toolbar for a VuoEditorWindow.
Definition at line 26 of file VuoEditorWindowToolbar.hh.
Public Member Functions | |
VuoEditorWindowToolbar (QMainWindow *window, bool isCodeEditor=false) | |
Initializes the toolbar for this editor window. More... | |
~VuoEditorWindowToolbar () | |
Deallocates toolbar data. More... | |
void | update (bool eventsShown, bool zoomedToActualSize, bool zoomedToFit) |
Initializes the toolbar for this editor window. More... | |
void | changeStateToBuildPending () |
Indicates that a version of the composition is waiting to build. More... | |
void | changeStateToBuildInProgress () |
Advances the state from "build pending" to "build in progress". More... | |
void | changeStateToRunning () |
Advances the state from "build in progress" to "running". More... | |
void | changeStateToStopInProgress () |
Advances the state from "running" to "stop in progress". More... | |
void | changeStateToStopped () |
Advances the state from "stop in progress" to "stopped". More... | |
bool | isBuildPending () |
Returns true if the window's composition is waiting to build. More... | |
bool | isBuildInProgress () |
Returns true if the window's composition is building. More... | |
bool | isRunning () |
Returns true if the window's composition is running. More... | |
bool | isStopInProgress () |
Returns true if the window's composition is stopping. More... | |
Static Public Member Functions | |
static bool | usingOverlayScrollers (void) |
Returns true if System Preferences > General > Show Scroll Bars is set to "When Scrolling" (only available on Mac OS 10.7+). More... | |
VuoEditorWindowToolbar::VuoEditorWindowToolbar | ( | QMainWindow * | window, |
bool | isCodeEditor = false |
||
) |
Initializes the toolbar for this editor window.
Definition at line 350 of file VuoEditorWindowToolbar.mm.
VuoEditorWindowToolbar::~VuoEditorWindowToolbar | ( | ) |
Deallocates toolbar data.
Definition at line 454 of file VuoEditorWindowToolbar.mm.
void VuoEditorWindowToolbar::changeStateToBuildInProgress | ( | ) |
Advances the state from "build pending" to "build in progress".
Definition at line 528 of file VuoEditorWindowToolbar.mm.
void VuoEditorWindowToolbar::changeStateToBuildPending | ( | ) |
Indicates that a version of the composition is waiting to build.
A previous version may still be stopping at this point.
Definition at line 520 of file VuoEditorWindowToolbar.mm.
void VuoEditorWindowToolbar::changeStateToRunning | ( | ) |
Advances the state from "build in progress" to "running".
Definition at line 537 of file VuoEditorWindowToolbar.mm.
void VuoEditorWindowToolbar::changeStateToStopInProgress | ( | ) |
Advances the state from "running" to "stop in progress".
Definition at line 546 of file VuoEditorWindowToolbar.mm.
void VuoEditorWindowToolbar::changeStateToStopped | ( | ) |
Advances the state from "stop in progress" to "stopped".
Definition at line 554 of file VuoEditorWindowToolbar.mm.
bool VuoEditorWindowToolbar::isBuildInProgress | ( | ) |
Returns true if the window's composition is building.
Definition at line 572 of file VuoEditorWindowToolbar.mm.
bool VuoEditorWindowToolbar::isBuildPending | ( | ) |
Returns true if the window's composition is waiting to build.
Definition at line 564 of file VuoEditorWindowToolbar.mm.
bool VuoEditorWindowToolbar::isRunning | ( | ) |
Returns true if the window's composition is running.
Definition at line 580 of file VuoEditorWindowToolbar.mm.
bool VuoEditorWindowToolbar::isStopInProgress | ( | ) |
Returns true if the window's composition is stopping.
Definition at line 588 of file VuoEditorWindowToolbar.mm.
void VuoEditorWindowToolbar::update | ( | bool | eventsShown, |
bool | zoomedToActualSize, | ||
bool | zoomedToFit | ||
) |
Initializes the toolbar for this editor window.
Definition at line 464 of file VuoEditorWindowToolbar.mm.
|
static |
Returns true if System Preferences > General > Show Scroll Bars is set to "When Scrolling" (only available on Mac OS 10.7+).
In this mode, scrollbars are drawn as overlays on top of content (instead of reducing the content area).
Definition at line 597 of file VuoEditorWindowToolbar.mm.