Script
Public Slots | List of all members
view Class Reference

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

#include <view.h>

Inheritance diagram for view:
Inheritance graph
[legend]
Collaboration diagram for view:
Collaboration graph
[legend]

Public Slots

String currentView ()
 returns a unique identifier for the current, active View.
 
String type (String viewName)
 returns a string that indicates what type of View the currentView is.
 
String group (String viewName)
 returns the name of the current Group Module in the active Network View.
 
String column (String viewName)
 returns the name of the column for the currently displayed function in the Function View.
 
void refreshViews ()
 forces a refresh of the drawing and scene planning views.
 
QObject * currentToolManager ()
 returns the drawing tool manager.
 

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

String view::column ( String  viewName)
slot

returns the name of the column for the currently displayed function in the Function View.

Parameters
viewName,:The current view value, as returned by the currentView function.
QObject* view::currentToolManager ( )
slot

returns the drawing tool manager.

String view::currentView ( )
slot

returns a unique identifier for the current, active View.

String view::group ( String  viewName)
slot

returns the name of the current Group Module in the active Network View.

Parameters
viewName,:The current view value, as returned by the currentView function.
void view::refreshViews ( )
slot

forces a refresh of the drawing and scene planning views.

String view::type ( String  viewName)
slot

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

Parameters
viewName,:The current view value, as returned by the currentView function.

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