2010-07-24 13:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
* contrib/hbxbp/xbpbrowse.prg
+ Applied: patch forwarded by Bacco.
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-07-24 13:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
|
||||
* contrib/hbxbp/xbpbrowse.prg
|
||||
+ Applied: patch forwarded by Bacco.
|
||||
|
||||
2010-07-23 09:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/doc/en/class_hbqplaintextedit.txt
|
||||
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
|
||||
|
||||
@@ -154,7 +154,7 @@ Qt::ItemFlags HBQAbstractItemModel::flags( const QModelIndex & index ) const
|
||||
|
||||
QVariant ret = hbqt_fetchData( block, HBQT_QAIM_flags, 0, index.column(), index.row() );
|
||||
if( ! ret.isValid() )
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsEditable;
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
|
||||
|
||||
return ( QFlags<Qt::ItemFlag> ) ret.toInt();
|
||||
}
|
||||
|
||||
@@ -1140,8 +1140,12 @@ METHOD navigate( p1, p2 ) CLASS XbpBrowse
|
||||
METHOD XbpBrowse:supplyInfo( nMode, nCall, nRole, nX, nY )
|
||||
|
||||
IF nCall == HBQT_QAIM_headerData .and. nX == Qt_Vertical
|
||||
RETURN Nil
|
||||
End
|
||||
RETURN NIL
|
||||
ENDIF
|
||||
|
||||
IF nCall == HBQT_QAIM_flags
|
||||
RETURN Qt_ItemIsEnabled + Qt_ItemIsSelectable + Qt_ItemIsEditable
|
||||
ENDIF
|
||||
|
||||
DO CASE
|
||||
CASE nMode == 141 /* Main View Header|Data */
|
||||
|
||||
Reference in New Issue
Block a user