Vuo  2.3.2
Public Member Functions | Static Public Member Functions | List of all members
VuoEditorWindowToolbar Class Reference

Description

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

Constructor & Destructor Documentation

◆ VuoEditorWindowToolbar()

VuoEditorWindowToolbar::VuoEditorWindowToolbar ( QMainWindow *  window,
bool  isCodeEditor = false 
)

Initializes the toolbar for this editor window.

Definition at line 359 of file VuoEditorWindowToolbar.mm.

◆ ~VuoEditorWindowToolbar()

VuoEditorWindowToolbar::~VuoEditorWindowToolbar ( )

Deallocates toolbar data.

Definition at line 470 of file VuoEditorWindowToolbar.mm.

Member Function Documentation

◆ changeStateToBuildInProgress()

void VuoEditorWindowToolbar::changeStateToBuildInProgress ( )

Advances the state from "build pending" to "build in progress".

Definition at line 542 of file VuoEditorWindowToolbar.mm.

◆ changeStateToBuildPending()

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 534 of file VuoEditorWindowToolbar.mm.

◆ changeStateToRunning()

void VuoEditorWindowToolbar::changeStateToRunning ( )

Advances the state from "build in progress" to "running".

Definition at line 551 of file VuoEditorWindowToolbar.mm.

◆ changeStateToStopInProgress()

void VuoEditorWindowToolbar::changeStateToStopInProgress ( )

Advances the state from "running" to "stop in progress".

Definition at line 560 of file VuoEditorWindowToolbar.mm.

◆ changeStateToStopped()

void VuoEditorWindowToolbar::changeStateToStopped ( )

Advances the state from "stop in progress" to "stopped".

Definition at line 568 of file VuoEditorWindowToolbar.mm.

◆ isBuildInProgress()

bool VuoEditorWindowToolbar::isBuildInProgress ( )

Returns true if the window's composition is building.

Definition at line 586 of file VuoEditorWindowToolbar.mm.

◆ isBuildPending()

bool VuoEditorWindowToolbar::isBuildPending ( )

Returns true if the window's composition is waiting to build.

Definition at line 578 of file VuoEditorWindowToolbar.mm.

◆ isRunning()

bool VuoEditorWindowToolbar::isRunning ( void  )

Returns true if the window's composition is running.

Definition at line 594 of file VuoEditorWindowToolbar.mm.

◆ isStopInProgress()

bool VuoEditorWindowToolbar::isStopInProgress ( )

Returns true if the window's composition is stopping.

Definition at line 602 of file VuoEditorWindowToolbar.mm.

◆ update()

void VuoEditorWindowToolbar::update ( bool  eventsShown,
bool  zoomedToActualSize,
bool  zoomedToFit 
)

Initializes the toolbar for this editor window.

Definition at line 480 of file VuoEditorWindowToolbar.mm.

◆ usingOverlayScrollers()

bool VuoEditorWindowToolbar::usingOverlayScrollers ( void  )
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 611 of file VuoEditorWindowToolbar.mm.


The documentation for this class was generated from the following files: