#include <CurveCreator_Widget.h>
#include <CurveCreator_ICurve.hxx>
-#include <OCCViewer_ViewModel.h>
#include <OCCViewer_ViewWidget.h>
+#include <OCCViewer_ViewPort3d.h>
+
+#include <SUIT_Session.h>
+#include <SUIT_ResourceMgr.h>
#include <QGroupBox>
#include <QHBoxLayout>
addWidget( myEditorWidget, 3 );
myViewWidget = new OCCViewer_ViewWidget( this );
+ OCCViewer_ViewPort3d* aViewPort = myViewWidget->getViewPort();
+ SUIT_ResourceMgr* aResMgr = SUIT_Session::session()->resourceMgr();
+ if ( aResMgr )
+ aViewPort->setBackground( aResMgr->backgroundValue( "OCCViewer", "background",
+ Qtx::BackgroundData( Qt::black ) ) );
addWidget( myViewWidget, 4 );
//myAddElementBox = new QGroupBox( tr( "ADD_ELEMENT" ), this );