Back to index

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

List of all members.

Public Types

typedef int TResult

Public Member Functions

 TCreateView (const QString &theType)
virtual void Execute ()

Public Attributes

TResult myResult
QString myType

Detailed Description

Definition at line 2493 of file SalomePyQt.cxx.

Member Typedef Documentation

typedef int TCreateView::TResult

Definition at line 2496 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

TCreateView::TCreateView ( const QString &  theType) [inline]

Definition at line 2499 of file SalomePyQt.cxx.

    : myResult( -1 ),
      myType( theType ) {}

Member Function Documentation

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

Definition at line 2502 of file SalomePyQt.cxx.

    LightApp_Application* app  = getApplication();
    if ( app )
      SUIT_ViewManager* viewMgr = app->createViewManager( myType );
      if ( viewMgr )
        SUIT_ViewWindow* wnd = viewMgr->getActiveView();
        if ( wnd )
          myResult = wnd->getId();

Here is the call graph for this function:

Member Data Documentation

Definition at line 2497 of file SalomePyQt.cxx.

Definition at line 2498 of file SalomePyQt.cxx.

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