Back to index

salome-gui  6.5.0
Public Types | Public Member Functions | Public Attributes
TGetViews Class Reference
Inheritance diagram for TGetViews:
Inheritance graph
Collaboration diagram for TGetViews:
Collaboration graph

List of all members.

Public Types

typedef QList< int > TResult

Public Member Functions

 TGetViews ()
virtual void Execute ()

Public Attributes

TResult myResult

Detailed Description

Definition at line 2258 of file SalomePyQt.cxx.

Member Typedef Documentation

typedef QList<int> TGetViews::TResult

Definition at line 2261 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

TGetViews::TGetViews ( ) [inline]

Definition at line 2263 of file SalomePyQt.cxx.


Member Function Documentation

virtual void TGetViews::Execute ( ) [inline, virtual]

Definition at line 2264 of file SalomePyQt.cxx.

    LightApp_Application* app  = getApplication();
    if ( app )
      STD_TabDesktop* tabDesk = dynamic_cast<STD_TabDesktop*>( app->desktop() );
      if ( tabDesk )
        QList<SUIT_ViewWindow*> wndlist = tabDesk->windows();
        SUIT_ViewWindow* wnd;
        foreach ( wnd, wndlist )
          myResult.append( wnd->getId() );

Here is the call graph for this function:

Member Data Documentation

Definition at line 2262 of file SalomePyQt.cxx.

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