[Interest] Installer framework and translations

2016-05-10 Thread David Heremans
Hello, I'm creating a installer and got the translations working, but this depends on the current system locale when the installer starts. Unfortunately I don't seem to find any info on how to dynamically switch the language of the installer. In effect I want to have the installer start in English

[Interest] Problem with zoomed-out qgraphicsview/scene

2016-03-29 Thread David Heremans
Hello, I seem to have a 'visibility problem' with my application. I have a QGraphicsscene that represents a piece of A4 paper at 300DPI (approx. 3300 by 2500 scene coordinates). On this scene I have a simple street map and some symbols. I draw the lines in black with thickness ranging between 1 to

Re: [Interest] QSplitter and resizing QGraphicsView problem

2015-03-13 Thread David Heremans
On 03/12/2015 09:25 PM, Andrej Kacian wrote: > On Thu, 12 Mar 2015 13:38:06 +0100 > David Heremans wrote: > >> If the panels could be made to only resize when a users drags the >> splitter handles around this would probably solve my problem, but I >> don't se

[Interest] QSplitter and resizing QGraphicsView problem

2015-03-12 Thread David Heremans
Hello, I have a slight problem and was hoping that someone here could provide some advice on how to handle/solve this. Let me sketch my problem in plain old ASCII art here. +--++---+ | | ++ | | |

[Interest] QStyle on QToolbox

2015-01-22 Thread David Heremans
I must be missing something here, so if somebody could help me out... I'm creating an application that needs to be run on both Windows and Linux and in Windows the default tabs of a QToolbox look like ordinary rectangular pushbuttons, while the default on Linux is the more elegant fusion style. I

Re: [Interest] QGraphicsScene.render() does not respect source rect ?

2013-03-21 Thread David Heremans
On 03/11/13 08:30, Samuel Rødal wrote: > On 03/05/2013 08:58 PM, David Heremans wrote: >> Hello, >> >> I seem to have a small problem here with the render function of the >> QGraphicsScene. >> I'm trying to print parts of a scene onto several pages, however

[Interest] QGraphicsScene.render() does not respect source rect ?

2013-03-05 Thread David Heremans
Hello, I seem to have a small problem here with the render function of the QGraphicsScene. I'm trying to print parts of a scene onto several pages, however it seems that the render method does the scaling as requested , but does not clip the origin to the source QRectF. The scene contains several

[Interest] Problems printing

2012-08-08 Thread David Heremans
Hello, I'm trying to extend a program with some printing functionality and things aren't working out as expected. I'm hoping someone here can shed some light on the issues I'm experiencing... I stripped down my problems to a minimal working test case, which source I have attached. The main 2 probl

[Interest] Unit testing: any best-practices tips ?

2011-12-13 Thread David Heremans
Hello, So far I have used Qt in its most simple form. => one *.pro file to generate one executable. I've been reading about unit testing with qtestlib, but apparently for each unit test one should build its own executable etc etc. But how is this best implement in practice ? a) copy around al