Re: [Interest] Problem understanding QAbstractProxyModel::mapFromSource and displaying summary data from a model

2012-07-17 Thread Tony Rietwyk
> Sent: Wednesday, 18 July 2012 2:28 PM > > Hi, > I am writing an app in which I am wanting to display my data in a number of > different ways. (Currently QT4.8 on linux, but will also run it on windows, if > this is relevant!) > > As an example what I have is a set of tuples with two field, sa

[Interest] Problem understanding QAbstractProxyModel::mapFromSource and displaying summary data from a model

2012-07-17 Thread h
Hi, I am writing an app in which I am wanting to display my data in a number of different ways. (Currently QT4.8 on linux, but will also run it on windows, if this is relevant!) As an example what I have is a set of tuples with two field, say Name and Hours I have this working with table vie

Re: [Interest] about QSettings

2012-07-17 Thread linzheming
Hi, maybe you can check it on other machines to see the differences. -- 福建星网锐捷通讯股份有限公司 福州星网视易信息系统有限公司数字娱乐研发部 ――― 数字娱乐研发部 林哲明 Email: linzhem...@star-net.cn Phone: 0591-28053888-6678 Address: 福建省福州市金山大道618号橘园洲星网锐捷科技园20#4

Re: [Interest] about QSettings

2012-07-17 Thread tang ke
thanks for your reply. but my os is windows xp, not the right menu of "Run as Administrator" 于 2012年07月18日 09:42, Jason H 写道: > I don't think your account is administrator, or if it is, you are not > running as such. Later versions of Windows protect HKLM - that's > protected by UAC, and you need

Re: [Interest] about QSettings

2012-07-17 Thread Jason H
I don't think your account is administrator, or if it is, you are not running as such. Later versions of Windows protect HKLM - that's protected by UAC, and you need to escalate to write to it. Try running the program by "Run as Administrator" and I bet it will work... ___

[Interest] about QSettings

2012-07-17 Thread tang ke
hi, when i use the qt 4.7.4 with windows xp, i found that when i use the QSettings to write sub key of HKEY_LOCAL_MACHINE, it fails. but when i write the sub key of HKEY_CURRENT_USER, it success. i know that QSettings use the windows api (eg RegCreateKey) to do it, so I use the RegCreateKey to

Re: [Interest] QTcpSocket from QTcpServer

2012-07-17 Thread Lucas.Betschart
Thanks for the answer, I've found the problem. I called a Qt Slots from outside my object from a non Qt-Thread (std. Linux thread). I've fixed the problem by call a function of my (Qt) instance which emits a signal that is connected to my slot. ___ Int

Re: [Interest] QLIneEdit Bug still valid ?

2012-07-17 Thread R. Reucher
On Tuesday 17 July 2012 08:53:21 Constantin Makshin wrote: > So, after some thinking, I doubt one can easily make a reliable fix for > this bug. > But is it really so important/annoying? Validators are meant to check > and fix user input because users are not very reliable in terms of > input's cor

Re: [Interest] QLIneEdit Bug still valid ?

2012-07-17 Thread Tony Rietwyk
Hi, A much easier solution to disconnecting the signals, is to set a flag before calling setText, then check that in the slot. Hope that helps, Tony > -Original Message- > From: interest-bounces+tony=rightsoft.com...@qt-project.org > [mailto:interest-bounces+tony=rightsoft.com...@q