Re: hbQT - Post queries in this thread only
Posted: Sat Sep 04, 2010 2:23 pm
Roberto, can you update with the new HBQT code?
Exclusive forum for HMG, a Free / Open Source xBase WIN32/64 Bits / GUI Development System
http://hmgforum.com/
I must prepare new binaries for both (Windows and Linux) from the modified sources.rathinagiri wrote:Roberto, can you update with the new HBQT code?
I am not a user of Linux so cannot comment.Roberto Lopez wrote:Pritpal,
Various users (and me) verified that images are not working in menus under Ubuntu 10.4.
It can be verified on demoqt.
Thanks for your answer.bedipritpal wrote:I am not a user of Linux so cannot comment.Roberto Lopez wrote:Pritpal,
Various users (and me) verified that images are not working in menus under Ubuntu 10.4.
It can be verified on demoqt.
Post your relevant code here and let me analyze how it can be done in different way.
Hopefully we will get to the problem.
Code: Select all
painter.device()->physicalDpiX()
Try:Roberto Lopez wrote:Pritpal,
I'm trying to print based on a millimeters coordinates system.
I've found a solution, but is C++ based.
The problem is that I can't figure out how the following code can be translated to HBQT:
were 'painter' is a QPaniter object.Code: Select all
painter.device()->physicalDpiX()
Thanks in advance.
Try:Roberto Lopez wrote: There is no special code. It is simply demoqt with Harbour built from current (a couple of days ago) sources.
The same works perfect on Windows.
It is not enough.Roberto Lopez wrote:Pritpal,
Thanks for your answers.
Its working fine. It returns the correct DPIs for the printer.bedipritpal wrote:Try:Roberto Lopez wrote:Pritpal,
I'm trying to print based on a millimeters coordinates system.
I've found a solution, but is C++ based.
The problem is that I can't figure out how the following code can be translated to HBQT:
were 'painter' is a QPaniter object.Code: Select all
painter.device()->physicalDpiX()
Thanks in advance.
Local qPaintDevice
qPaintDevice := QPaintDevice():from( painter:device() )
nDpiX := qPaintDevice:physicalDpiX()