VisuGUI_Slider::VisuGUI_Slider( VisuGUI_Module* theModule,
VVTK_ViewWindow* theViewWindow,
LightApp_SelectionMgr* theSelectionMgr )
- : QtxDockWindow( InDock, theViewWindow->getMainWindow1() ),
+ : QtxToolBar( InDock, theViewWindow->getMainWindow1() ),
myModule( theModule ),
myMainWindow( theViewWindow->getMainWindow1() ),
mySelectionMgr( theSelectionMgr )
{
- setCaption(tr("TOOLBAR_TITLE"));
+ setLabel(tr("TOOLBAR_TITLE"));
+ setCloseMode(QDockWindow::Undocked);
VISU::ViewManager_var aViewManager = VISU::GetVisuGen( myModule )->GetViewManager();
VISU::View_var aView = aViewManager->GetCurrentView();
#ifndef VisuGUI_Slider_HeaderFile
#define VisuGUI_Slider_HeaderFile
-#include "QtxDockWindow.h"
+#include "QtxToolBar.h"
#include <vector>
#include "SALOMEconfig.h"
class VisuGUI_Module;
-class VisuGUI_Slider : public QtxDockWindow
+class VisuGUI_Slider : public QtxToolBar
{
Q_OBJECT