Back to index

salome-geom  6.5.0
Public Member Functions
AdvancedGUI Class Reference

#include <AdvancedGUI.h>

List of all members.

Public Member Functions

 AdvancedGUI (GeometryGUI *)
 ~AdvancedGUI ()
bool OnGUIEvent (int, SUIT_Desktop *)

Detailed Description

Definition at line 32 of file AdvancedGUI.h.


Constructor & Destructor Documentation

AdvancedGUI::AdvancedGUI ( GeometryGUI *  parent)

Definition at line 40 of file AdvancedGUI.cxx.

                                              : GEOMGUI( parent )
{
}

Definition at line 48 of file AdvancedGUI.cxx.

{
}

Member Function Documentation

bool AdvancedGUI::OnGUIEvent ( int  theCommandID,
SUIT_Desktop *  parent 
)

Definition at line 56 of file AdvancedGUI.cxx.

{
  SalomeApp_Application* app = getGeometryGUI()->getApp();
  if ( !app ) return false;

  getGeometryGUI()->EmitSignalDeactivateDialog();

  QDialog* aDlg = NULL;

  switch ( theCommandID ) {
  case GEOMOp::OpPipeTShape:
    aDlg = new AdvancedGUI_PipeTShapeDlg( getGeometryGUI(), parent );
    break;
//   case GEOMOp::OpPipeTShapeGroups:
//     aDlg = new AdvancedGUI_PipeTShapeGroupsDlg( getGeometryGUI(), parent );
//     break;
  //@@ insert new functions before this line @@ do not remove this line @@ do not remove this line @@//
  default:
    app->putInfo( tr( "GEOM_PRP_COMMAND" ).arg( theCommandID ) );
    break;
  }

  if ( aDlg != NULL )
    aDlg->show();

  return true;
}

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