Back to index

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

List of all members.

Public Types

typedef bool TResult

Public Member Functions

 TIsViewVisible (const int id)
virtual void Execute ()

Public Attributes

TResult myResult
int myWndId

Detailed Description

Definition at line 2655 of file SalomePyQt.cxx.

Member Typedef Documentation

Definition at line 2658 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

TIsViewVisible::TIsViewVisible ( const int  id) [inline]

Definition at line 2661 of file SalomePyQt.cxx.

    : myResult( false ),
      myWndId( id ) {}

Member Function Documentation

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

Definition at line 2664 of file SalomePyQt.cxx.

    SUIT_ViewWindow* wnd = getWnd( myWndId );
    if ( wnd )
      QWidget* p = wnd->parentWidget();
      myResult = ( p && p->isVisibleTo( p->parentWidget() ) );

Here is the call graph for this function:

Member Data Documentation

Definition at line 2659 of file SalomePyQt.cxx.

Definition at line 2660 of file SalomePyQt.cxx.

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