Storyboard Pro
Scripting Interface Documentation
view Class Reference

The View functions provide information about the contents of selected View windows. More...

Public Slots

String currentView ()
 returns a unique identifier for the current, active View. More...
 
String type (String viewName)
 returns a string that indicates what type of View the currentView is. More...
 
void refreshViews ()
 forces a refresh of the drawing and scene planning views. More...
 
QObject * currentToolManager ()
 returns the drawing tool manager. More...
 

Detailed Description

The View functions provide information about the contents of selected View windows.

function viewScript()
{
var myView = view.currentView();
System.println(view.type(myView));
}

Member Function Documentation

◆ currentToolManager

QObject* view::currentToolManager ( )
slot

returns the drawing tool manager.

◆ currentView

String view::currentView ( )
slot

returns a unique identifier for the current, active View.

◆ refreshViews

void view::refreshViews ( )
slot

forces a refresh of the drawing and scene planning views.

◆ type

String view::type ( String  viewName)
slot

returns a string that indicates what type of View the currentView is.

Parameters
viewNameThe current view value, as returned by the currentView function.