Re: [Interest] bad_alloc raised : Amout of RAM available ?

2013-07-17 Thread Alex Malyushytskyy
Just my few cents: >> Is your application a 32-bit app? Under Windows, applications are restricted to 1.5 to 2 GB of memory even though the system has more available. This even includes running a 32-bit app on a 64-bit system. That is not exactly right. On Windows 32 , by default 32 bit applica

Re: [Interest] QLineEdit with a validator set

2013-07-17 Thread Alex Malyushytskyy
Check for intermediate state has to be done when user initiated action which needs a valid input at lineEdit. There is no universal solution. Normally it is but not limited to either Apply button clicked in the dialog or line edit losing focus. When you found when this should be done, add code w

Re: [Interest] void pointers

2013-07-17 Thread Phil Hannent
On 17 July 2013 05:30, Mandeep Sandhu wrote: > On Tue, Jul 16, 2013 at 9:19 PM, Phil Hannent wrote: > >> Hi, >> >> I have a codebase that is using a C library and Qt. I have some legacy >> code where structs from the C library are stored in a Qt/C++ class using: >> >> void *userData; >> >> Is th