Page 1 of 1

Clase QT

Posted: Tue Apr 07, 2015 1:10 am
by jnavas
Antonio
Saludos cordiales
Sera posible linkar esta clase, veo que incorpora valores de Entorno QT, ejemplo: Colores.

http://doc.qt.io/qt-4.8/qt.html

Re: Clase QT

Posted: Tue Apr 07, 2015 1:58 pm
by Antonio Linares
Juan,

Lo acabo de intentar pero parece que no está implementada en la capa QT para Harbour.

Habría que comentarlo con Pritpal Bedi. Voy a ver si le localizo.

Re: Clase QT

Posted: Tue Apr 07, 2015 7:23 pm
by Pritpal Bedi
Hi

Jumping in...

QT is not a class as other classes and is callable on C++ level only.
This namespace only defines the ENUMS in C++ and #defines in Harbour.
QtContribs contain all the defines in hbqt/qtgui/hbqtgui.ch header file.
Just include it as oyou normally do.

Contstants in hbqtgui.ch are defined like this :

QT Harbour
Qt::white Qt_white

Only "::" has been replaced with "_".

It would be nice if you post your queries ( in English only ) at
https://groups.google.com/forum/?fromgr ... qtcontribs
(a dedicated newsgroup for HbQt related questions)
I am here because Antonio pointed this out to me so it is not
possible for me to reach to this forum anyway.


Pritpal Bedi
a student of software analysis & concepts

Re: Clase QT

Posted: Tue Apr 07, 2015 7:25 pm
by Antonio Linares
Pritpal,

thanks!

As you all may know, thanks to Pritpal we have QT support in Harbour and he is the best expert about QT and Harbour

Re: Clase QT

Posted: Tue Apr 07, 2015 8:38 pm
by jnavas
Antonio
Gracias, se que le ha puesto mucho trabajo con este excelente producto.
He visto que son definciiones que posiblemente se puedan remplazar con un #include, ejemplo el tema de los colores.

No he podido implementar los colores en QT.