, myModule( theModule )
{
setWindowTitle( tr("TITLE") );
+ setObjectName( tr("TITLE") );
SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr();
QtxDockWidget* aQtxDockWidget = new QtxDockWidget( true, theParent );
theParent->addDockWidget( Qt::BottomDockWidgetArea , aQtxDockWidget );
+ aQtxDockWidget->setObjectName( objectName() );
aQtxDockWidget->setWidget( this );
myToggleViewAction = aQtxDockWidget->toggleViewAction();
myToggleViewAction->setToolTip( tr( "MEN_SLIDER_PANE" ) );
myToggleViewAction->setText( tr( "MEN_SLIDER_PANE" ) );
myToggleViewAction->setCheckable( true );
+ aQtxDockWidget->setVisible( false );
connect( myToggleViewAction, SIGNAL( toggled( bool ) ), this, SLOT( onToggleView( bool ) ) );
- //myToggleViewAction->setChecked( false );
}
{
if ( !on ) {
onPlay( on );
- hide();
}
}
, myActor( NULL )
{
setWindowTitle( tr("TITLE") );
+ setObjectName( tr("TITLE") );
SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr();
//----------------------------------------------------------------------------
QtxDockWidget* aQtxDockWidget = new QtxDockWidget( true, theParent );
theParent->addDockWidget( Qt::BottomDockWidgetArea , aQtxDockWidget );
+ aQtxDockWidget->setObjectName( objectName() );
aQtxDockWidget->setWidget( this );
myToggleViewAction = aQtxDockWidget->toggleViewAction();
myToggleViewAction->setToolTip( tr( "MEN_SWEEP_PANE" ) );
myToggleViewAction->setText( tr( "MEN_SWEEP_PANE" ) );
myToggleViewAction->setCheckable( true );
+ aQtxDockWidget->setVisible( false );
connect( myToggleViewAction, SIGNAL( toggled( bool ) ), this, SLOT( onToggleView( bool ) ) );
- //myToggleViewAction->setChecked( false );
//----------------------------------------------------------------------------
myTimer = new QTimer( this );
break;
}
-// cout << "VisuGUI_Sweep::onValueChanged - ( " << value
-// << "; " << anArgument
-// << "; " << aValue
-// << ")" << endl;
-
try {
myScalarMap->SetMapScale( aValue );
myScalarMap->UpdateActor( myActor );
{
if ( !on ) {
onPlay( on );
- hide();
}
}