From 2e08092b591a6d23ede13476965b12c290a96229 Mon Sep 17 00:00:00 2001 From: stv Date: Tue, 17 Jan 2006 08:36:13 +0000 Subject: [PATCH] Corrected tab order for datum cotrols. Now tab order equivalent to creation order. --- src/QDS/QDS_Datum.cxx | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.39.2