Bisz István wrote:
> 
> HB_FUNC( QT_QLAYOUT_ADDITEM )
> {
>    QGC_POINTER * p;
>    QGC_POINTER * q;
> 
>    HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QLAYOUT_ADDITEM()" ) );
> 
>    q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 );
>    p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2 );
> 
>    if( p && p->ph && q && q->ph )
>    {
>       HB_TRACE( HB_TR_DEBUG, ( "QT_QLAYOUT_ADDITEM() Qt oject: %p is
> attached to: %p", p->ph, q->ph ) );
>       p->bNew = HB_FALSE;
>    }
> 
>    hbqt_par_QLayout( 1 )->addItem( hbqt_par_QLayoutItem( 2 ) );
> }
> ...
> </CODE>  
> 
> c. THbQtUI.prg with the corrected sequence:
> ...
> HB_TRACE( HB_TR_ALWAYS, 101 )
>    ::oWidget:close()
> HB_TRACE( HB_TR_ALWAYS, 102 )
>    ::oWidget := NIL
> HB_TRACE( HB_TR_ALWAYS, 103 )
>    hbide_justACall( i )
>    RETURN NIL
> ...
> 

Did you test this code ? I think, yes.
Then prg level :addItem() method is missing, how you solved that?
Manually writing in TQLayout.prg ?



-----
     enjoy hbIDEing...
        Pritpal Bedi 
http://hbide.vouch.info/
-- 
View this message in context: 
http://n2.nabble.com/Pritpal-and-Vikto-please-test-this-generator-tp4900883p4908219.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to