#include <SalomeApp_Application.h>
#include <SalomeApp_DoubleSpinBox.h>
+#include <SalomeApp_Notebook.h>
#include <SalomeApp_Study.h>
#include <LightApp_Application.h>
#include <LightApp_SelectionMgr.h>
: QDialog( parent, fl ),
GEOMBase_Helper( dynamic_cast<SUIT_Desktop*>( parent ) ),
myGeomGUI( theGeometryGUI ),
+ myNoteBook( 0 ),
myRBGroup( 0 )
{
setAttribute( Qt::WA_DeleteOnClose );
{
if ( myGeomGUI )
myGeomGUI->SetActiveDialogBox( 0 );
+
+ if( myNoteBook )
+ {
+ delete myNoteBook;
+ myNoteBook = 0;
+ }
}
//=================================================================================
if ( !myGeomGUI && app )
myGeomGUI = dynamic_cast<GeometryGUI*>( app->module( "Geometry" ) );
+ if ( !myNoteBook && app )
+ if( SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( app->activeStudy() ) )
+ myNoteBook = new SalomeApp_Notebook( appStudy );
+
/* init variables */
if ( myGeomGUI )
myGeomGUI->SetActiveDialogBox( this );
SALOMEDS::AttributeString_var aStringAttrib = SALOMEDS::AttributeString::_narrow(anAttr);
std::string aValue = aStringAttrib->Value();
+ /* ouv: temporarily disabled
if( aValue != "" )
aValue += "|";
for( int i = 0, n = theParameters.count(); i < n; i++ ) {
if(i != n-1)
aValue += ":";
}
+ */
aStringAttrib->SetValue(aValue.c_str());
}
#include <QDialog>
class SalomeApp_DoubleSpinBox;
+class SalomeApp_Notebook;
class GeometryGUI;
class DlgRef_Skeleton;
class QSpinBox;
QButtonGroup* myRBGroup; //!< radio button group
DlgRef_Skeleton* myMainFrame; //!< dialog box's mainframe widgetx
+ SalomeApp_Notebook* myNoteBook;
+
protected slots:
virtual void ClickOnCancel();
void LineEditReturnPressed();