The view JavaScript global object. Provides information about the contents of selected View windows.
More...
|
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...
|
|
String | group (String viewName) |
| Returns the name of the current Group Node in the active Network View. More...
|
|
String | column (String viewName) |
| Returns the name of the column for the currently displayed function in the Function View. More...
|
|
void | refreshViews () |
| Forces a refresh of the drawing and scene planning views. More...
|
|
QObject * | currentToolManager () |
| Returns the drawing tool manager. More...
|
|
The view JavaScript global object. Provides information about the contents of selected View windows.
◆ column
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. |
- Returns
- The name of the column for the currently displayed function in the Function View.
◆ currentToolManager
QObject* view::currentToolManager |
( |
| ) |
|
|
slot |
Returns the drawing tool manager.
◆ currentView
String view::currentView |
( |
| ) |
|
|
slot |
Returns a unique identifier for the current, active view.
- Returns
- A unique identifier for the current, active view.
◆ group
String view::group |
( |
String |
viewName | ) |
|
|
slot |
Returns the name of the current Group Node in the active Network View.
- Parameters
-
viewName | : The current view value, as returned by the currentView function. |
- Returns
- The name of the current Group Module in the active Network 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
-
viewName | : The current view value, as returned by the currentView function. |
- Returns
- A string that indicates what type of View the currentView is.