From: stv Date: Tue, 17 Jan 2006 08:36:13 +0000 (+0000) Subject: Corrected tab order for datum cotrols. Now tab order equivalent to creation order. X-Git-Tag: T_Before_Join_BR-D5-38-2003~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2e08092b591a6d23ede13476965b12c290a96229;p=modules%2Fgui.git Corrected tab order for datum cotrols. Now tab order equivalent to creation order. --- diff --git a/src/QDS/QDS_Datum.cxx b/src/QDS/QDS_Datum.cxx index ff3ed8aca..860949d63 100644 --- a/src/QDS/QDS_Datum.cxx +++ b/src/QDS/QDS_Datum.cxx @@ -43,6 +43,7 @@ myWid( 0 ) { QHBoxLayout* base = new QHBoxLayout( this ); base->setAutoAdd( true ); + setFocusPolicy( StrongFocus ); } QDS_Datum::Wrapper::~Wrapper() @@ -70,6 +71,7 @@ void QDS_Datum::Wrapper::setWidget( QWidget* wid ) if ( myWid->parent() != this ) myWid->reparent( this, QPoint( 0, 0 ) ); + setTabOrder( this, myWid ); setFocusProxy( myWid ); myWid->updateGeometry();