setCentralWidget( base );
myWorkstack = new QtxWorkstack( base );
+ // setting Expanding size policy for central workstack. If there are several widgets
+ // in central area of Desktop, other widgets will be added below the workstack (CATHARE, TIRPOLI modules).
+ // But the workstack must occupy as much space as possible -- set Expanding for it.
+ myWorkstack->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) );
myWorkstack->setAccel(QtxWorkstack::SplitVertical, SHIFT + Key_V);
myWorkstack->setAccel(QtxWorkstack::SplitHorizontal, SHIFT + Key_H);