FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveTouch Clase QT
Posts: 492
Joined: Wed Nov 16, 2005 12:03 PM
Clase QT
Posted: Tue Apr 07, 2015 01:10 AM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Clase QT
Posted: Tue Apr 07, 2015 01:58 PM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 154
Joined: Thu Jun 03, 2010 06:27 AM
Re: Clase QT
Posted: Tue Apr 07, 2015 07:23 PM

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

enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Clase QT
Posted: Tue Apr 07, 2015 07:25 PM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 492
Joined: Wed Nov 16, 2005 12:03 PM
Re: Clase QT
Posted: Tue Apr 07, 2015 08:38 PM

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.

Continue the discussion