2011-04-02 17:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QDockWidget.qth
* contrib/hbqt/qtgui/qth/QLayout.qth
* contrib/hbqt/qtgui/qth/QWidget.qth
! Modified: constructors, detatchment, attachment.
This commit is contained in:
@@ -16,6 +16,12 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-04-02 17:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/qtgui/qth/QDockWidget.qth
|
||||
* contrib/hbqt/qtgui/qth/QLayout.qth
|
||||
* contrib/hbqt/qtgui/qth/QWidget.qth
|
||||
! Modified: constructors, detatchment, attachment.
|
||||
|
||||
2011-04-01 17:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/hbmk2_qt.hbs
|
||||
! Optimized: hb_itemReturn( hb_stackSelfItem() );
|
||||
|
||||
@@ -27,7 +27,14 @@ New = pParent
|
||||
*/
|
||||
HB_FUNC( QT_QDOCKWIDGET )
|
||||
{
|
||||
__HB_RETPTRGC__( new QDockWidget( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) );
|
||||
if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) )
|
||||
{
|
||||
__HB_RETPTRGC__( new QDockWidget( hbqt_par_QString( 1 ), ( HB_ISOBJECT( 2 ) ? hbqt_par_QWidget( 2 ) : 0 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
__HB_RETPTRGC__( new QDockWidget( ( HB_ISOBJECT( 1 ) ? hbqt_par_QWidget( 1 ) : 0 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) );
|
||||
}
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ enum SizeConstraint { SetDefaultConstraint, SetFixedSize, SetMinimumSize, SetMax
|
||||
<PROTOS>
|
||||
bool activate ()
|
||||
virtual void addItem ( QLayoutItem * item ) [*D=1*]
|
||||
void addWidget ( QWidget * w )
|
||||
void addWidget ( QWidget * w ) [*D=1*]
|
||||
QRect contentsRect () const
|
||||
virtual int count () const = 0
|
||||
virtual Qt::Orientations expandingDirections () const
|
||||
@@ -51,7 +51,7 @@ QWidget * menuBar () const
|
||||
virtual QSize minimumSize () const
|
||||
QWidget * parentWidget () const
|
||||
void removeItem ( QLayoutItem * item ) [*A=1*]
|
||||
void removeWidget ( QWidget * widget )
|
||||
void removeWidget ( QWidget * widget ) [*A=1*]
|
||||
bool setAlignment ( QWidget * w, Qt::Alignment alignment )
|
||||
void setAlignment ( Qt::Alignment alignment )
|
||||
bool setAlignment ( QLayout * l, Qt::Alignment alignment )
|
||||
|
||||
@@ -201,7 +201,7 @@ void setGeometry ( const QRect & )
|
||||
void setGeometry ( int x, int y, int w, int h )
|
||||
|
||||
// void setInputContext ( QInputContext * context )
|
||||
void setLayout ( QLayout * layout )
|
||||
void setLayout ( QLayout * layout ) [*D=1*]
|
||||
void setLayoutDirection ( Qt::LayoutDirection direction )
|
||||
void setLocale ( const QLocale & locale )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user