Back to index

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

List of all members.

Public Types

typedef int TResult

Public Member Functions

 TCreateViewWg (const QString &theType, QWidget *w)
virtual void Execute ()

Public Attributes

TResult myResult
QString myType
QWidget * myWidget

Detailed Description

Definition at line 2530 of file SalomePyQt.cxx.

Member Typedef Documentation

Definition at line 2533 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

TCreateViewWg::TCreateViewWg ( const QString &  theType,
QWidget *  w 
) [inline]

Definition at line 2537 of file SalomePyQt.cxx.

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

Member Function Documentation

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

Definition at line 2541 of file SalomePyQt.cxx.

    LightApp_Application* app  = getApplication();
    if ( app )
      SUIT_ViewManager* viewMgr = app->createViewManager( myType, myWidget );
      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 2534 of file SalomePyQt.cxx.

Definition at line 2535 of file SalomePyQt.cxx.

Definition at line 2536 of file SalomePyQt.cxx.

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