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

QString currentView () const
 returns a unique identifier for the current, active View.
 
QString type (QString viewName) const
 returns a string that indicates what type of View the currentView is.
 
QString group (QString viewName) const
 returns the name of the current Group Module in the active Network View.
 
QString column (QString viewName) const
 returns the name of the column for the currently displayed function in the Function View.
 
void refreshViews () const
 forces a refresh of the drawing and scene planning views.
 
QObject * currentToolManager () const
 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

QString view::column ( QString  viewName) const
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 ( ) const
slot

returns the drawing tool manager.

QString view::currentView ( ) const
slot

returns a unique identifier for the current, active View.

QString view::group ( QString  viewName) const
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 ( ) const
slot

forces a refresh of the drawing and scene planning views.

QString view::type ( QString  viewName) const
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: