HI XAVI Yes I know that, reading QT documentation
I found that I can do this : oLabel2 := QLabel():New( QT_PTROF( oWnd ) ) oLabel2:SetTextFormat(1) //0 text plain 1 RichText oLabel2:SetText( "<font color='Red'>Label Using HBQT</font>" ) oLabel2:Move( 30 , 30 ) oLabel2:ReSize( 200,30 ) oLabel2:Show() But in QT Exist 2 classes that I don' t find in HBQT Qcolor and QPalette that controls colors in the majority of controls In another problem , how I can implement this pointer list in harbour list << "Header1" << "Header2" << "header3" This is used in C and QT to fill the headers of QtableWidget ( Grid ) oGrid:setHorizontalHeaderLabels( list ) Thanks in advance for any Help Bruno Hi Pritpal, Marcos, I'm not an expert in the use of Qt. I'm learning in spare time. HBQT is your wrapper 1:1 of Qt, AFAIK. So the help and documentation of Qt should be valid except for the differences between C++ and Harbour class. No? http://doc.qtsoftware.com/4.5/index.html >* How to set colors in QT widgets using HBQT ? *http://doc.qtsoftware.com/4.5/stylesheet.html http://doc.qtsoftware.com/4.5/stylesheet-examples.html#style-sheet-usage -- Xavi
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
