Hi Pritpal !!! many thanks for this class. It works fine for Foreground GridItem but it don't works for Background GridItem.
Look this little sample: oGrid := QTableWidget():new( QT_PTROF( oWnd ) ) oGrid:setRowCount( 2 ) oGrid:setColumnCount( 4 ) // oBrushBackItem0x0 := QBrush():new() oBrushBackItem0x0:setColor_1( 10 ) // http://doc.qtsoftware.com/4.5/qt.html#GlobalColor-enum // oBrushForeItem0x0 := QBrush():new() oBrushForeItem0x0:setColor_1( 7 ) // oGridItem0x0 := QTableWidgetItem():new() oGridItem0x0:setBackground( oBrushBackItem0x0:pPtr ) oGridItem0x0:setForeground( oBrushForeItem0x0:pPtr ) oGridItem0x0:setText( "Item 0x0" ) // oGrid:setItem( 0 , 0 , oGridItem0x0:pPtr ) // oGrid:Move( 30 , 30 ) oGrid:ReSize( 550 , 200 ) // oGrid:Show() Thanks and regards CdQ On Thu, Jun 4, 2009 at 3:35 AM, <vouch...@users.sourceforge.net> wrote: > Revision: 11205 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11205&view=rev > Author: vouchcac > Date: 2009-06-04 06:35:23 +0000 (Thu, 04 Jun 2009) > > Log Message: > ----------- > 2009-06-03 23:29 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) > * harbour/contrib/hbqt/Makefile_gen > * harbour/contrib/hbqt/qth/QBrush.qth > * harbour/contrib/hbqt/TQBrush.prg > + Added QBrush class. > > Modified Paths: > -------------- > trunk/harbour/ChangeLog > trunk/harbour/contrib/hbqt/Makefile_gen > trunk/harbour/contrib/hbqt/qth/QBrush.qth > > Added Paths: > ----------- > trunk/harbour/contrib/hbqt/TQBrush.prg > > > This was sent by the SourceForge.net collaborative development platform, > the world's largest Open Source development site. > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > -- QAC (I want something comfortable !!!) - Incremental Compilation with all MiniGUIs versions QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las versiones de MiniGUI Download: www.CarozoDeQuilmes.com.ar
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour