Re: [Interest] Not possible to connect QTcpSocket::error signal the "Qt5-way"?

2013-11-25 Thread André Somers
Thiago Macieira schreef op 25-11-2013 18:06: > On segunda-feira, 25 de novembro de 2013 17:28:38, André Somers wrote: >> As you can connect to any method (as the slot part of the connection), >> would this policy then not be needed for *all* methods, not just >> signals? Or do I just misunderstand

Re: [Interest] QNetworkAccessManager and HTTP persistent connection

2013-11-25 Thread Mandeep Sandhu
On Sat, Nov 23, 2013 at 7:15 PM, iMath <2281570...@qq.com> wrote: > HTTP 1.1 supports persistent connection by default, so I want to send my a > second http request using the same connection that was setup when the first > HTTP request was made. how can this be achieved through Qt? I think you mea

Re: [Interest] Not possible to connect QTcpSocket::error signal the "Qt5-way"?

2013-11-25 Thread Thiago Macieira
On segunda-feira, 25 de novembro de 2013 17:28:38, André Somers wrote: > As you can connect to any method (as the slot part of the connection), > would this policy then not be needed for *all* methods, not just > signals? Or do I just misunderstand the impact of the issue here? The policy applie

Re: [Interest] Strange QvariantList/QVariant problem

2013-11-25 Thread Guido Seifert
> Note that QVariantList is simply a QList. You adding a > QVariantList to another QVariantList perfectly fits the function > signature of QList::append(const QList& value). Yep, noticed that. > In order to make it > resolve to QList::append(const T& value), your QVariantList would first >

Re: [Interest] Not possible to connect QTcpSocket::error signal the "Qt5-way"?

2013-11-25 Thread André Somers
Thiago Macieira schreef op 25-11-2013 17:23: > On segunda-feira, 25 de novembro de 2013 17:00:41, André Somers wrote: >> Thiago Macieira schreef op 25-11-2013 16:56: >>> On segunda-feira, 25 de novembro de 2013 13:08:04, André Somers wrote: Please note that this goes for *any* method that has

Re: [Interest] Not possible to connect QTcpSocket::error signal the "Qt5-way"?

2013-11-25 Thread Thiago Macieira
On segunda-feira, 25 de novembro de 2013 17:00:41, André Somers wrote: > Thiago Macieira schreef op 25-11-2013 16:56: > > On segunda-feira, 25 de novembro de 2013 13:08:04, André Somers wrote: > >> Please note that this goes for *any* method that has an overload. And > >> that any method that curre

Re: [Interest] Strange QvariantList/QVariant problem

2013-11-25 Thread André Somers
Guido Seifert schreef op 25-11-2013 17:00: > Hi, > I have here a strange effect and I wonder if this is the correct behaviour. > > I have a QVariantList x. > I add a few values > x << > x << > x << > > Now I create a second QVariantList y and add a few values: > y << 1.5 > y << 3.5 > > And add t

Re: [Interest] Strange QvariantList/QVariant problem

2013-11-25 Thread Guido Seifert
Just forget it. Reading docs helps. It is expected. :-/ Guido ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Strange QvariantList/QVariant problem

2013-11-25 Thread Guido Seifert
Hi, I have here a strange effect and I wonder if this is the correct behaviour. I have a QVariantList x. I add a few values x << x << x << Now I create a second QVariantList y and add a few values: y << 1.5 y << 3.5 And add the list y to x: x << y Now I would expect that x has: One int, one

Re: [Interest] Not possible to connect QTcpSocket::error signal the "Qt5-way"?

2013-11-25 Thread André Somers
Thiago Macieira schreef op 25-11-2013 16:56: > On segunda-feira, 25 de novembro de 2013 13:08:04, André Somers wrote: >> Please note that this goes for *any* method that has an overload. And >> that any method that currently does not have an overload, may still get >> one in the future. If you don'

Re: [Interest] Not possible to connect QTcpSocket::error signal the "Qt5-way"?

2013-11-25 Thread Thiago Macieira
On segunda-feira, 25 de novembro de 2013 13:08:04, André Somers wrote: > Please note that this goes for *any* method that has an overload. And > that any method that currently does not have an overload, may still get > one in the future. If you don't want to run the risk of source > incompatabil

Re: [Interest] Configure 3.3.5 for canvas and xml

2013-11-25 Thread Thiago Macieira
On segunda-feira, 25 de novembro de 2013 09:38:17, BM Mahfood wrote: > So I am just wondering if this is a licensing issue. I was talking with > someone else about this who said they thought 3.x required licensing for > some modules, whereas 4.x did away with that. Anyone know anything about > th

Re: [Interest] QtQuick - ColorAnimation issue with colors that have alpha

2013-11-25 Thread Sletta Gunnar
I am unsure if it is intended or not, but the problem seems to be that you don't have a well defined "base state" to return to when you exit the pressed state. The result is that the transition will go from the pressed state to undefined and only after it completes does it apply the original col

Re: [Interest] Configure 3.3.5 for canvas and xml

2013-11-25 Thread BM Mahfood
So I am just wondering if this is a licensing issue. I was talking with someone else about this who said they thought 3.x required licensing for some modules, whereas 4.x did away with that. Anyone know anything about this? Is it possible that I need a license to get both the canvas (opengl)

Re: [Interest] animation problems

2013-11-25 Thread Graham Labdon
Ah thanks!! -Original Message- From: interest-bounces+graham.labdon=avalonsciences@qt-project.org [mailto:interest-bounces+graham.labdon=avalonsciences@qt-project.org] On Behalf Of Nurmi J-P Sent: 25 November 2013 14:30 To: Interest@qt-project.org Subject: Re: [Interest] animatio

Re: [Interest] animation problems

2013-11-25 Thread Nurmi J-P
On 25 Nov 2013, at 14:57, Graham Labdon wrote: > Hi > I am trying to animate the movement of one of my widgets > I have a simple Qt app consists of a main window with a label (done in > QDesigner) > The code to move the label is > QPropertyAnimation animation(ui.label,"geometry"); >

[Interest] animation problems

2013-11-25 Thread Graham Labdon
Hi I am trying to animate the movement of one of my widgets I have a simple Qt app consists of a main window with a label (done in QDesigner) The code to move the label is QPropertyAnimation animation(ui.label,"geometry"); animation.setDuration(1); animation.setStartVal

Re: [Interest] QAbstractItemModel::headerData

2013-11-25 Thread william.croc...@analog.com
On 11/22/2013 02:31 PM, an...@familiesomers.nl wrote: > Bill Crocker schreef op 22.11.2013 20:19: >> Gang: >> >> I have created my own item model by sub-classing QAbstractItemModel. >> >> Functions like rowCount take a parent index so the model >> knows for which index it is being asked to return t

Re: [Interest] Not possible to connect QTcpSocket::error signal the "Qt5-way"?

2013-11-25 Thread André Somers
Ola Røer Thorsen schreef op 25-11-2013 9:58: > Got it, thanks. > > It's unfortunate that there is a method and a signal in > QAbstractSocket witht the same name, but I guess we're stuck with that > now. > Please note that this goes for *any* method that has an overload. And that any method that

Re: [Interest] change time delay of tool tips

2013-11-25 Thread Joseph W. Joshua
On 25-Nov-13 1:36 PM, Graham Labdon wrote: > Just been reading them > When I try to use QStyle::SH_ToolTip_WakeUpDelay I get a compilation error > saying that this does not exist. > Looking at the source for QStyle it appears that it does not exist > > Any ideas as to why this is? > > Thanks > En

Re: [Interest] change time delay of tool tips

2013-11-25 Thread André Somers
Graham Labdon schreef op 25-11-2013 11:36: > Just been reading them > When I try to use QStyle::SH_ToolTip_WakeUpDelay I get a compilation error > saying that this does not exist. > Looking at the source for QStyle it appears that it does not exist > > Any ideas as to why this is? Are you actually

Re: [Interest] change time delay of tool tips

2013-11-25 Thread Graham Labdon
Just been reading them When I try to use QStyle::SH_ToolTip_WakeUpDelay I get a compilation error saying that this does not exist. Looking at the source for QStyle it appears that it does not exist Any ideas as to why this is? Thanks -Original Message- From: interest-bounces+graham.labd

Re: [Interest] change time delay of tool tips

2013-11-25 Thread André Somers
Graham Labdon schreef op 25-11-2013 11:11: > However, this only allows me to set the tooltip duration - what I would like > is to be able to control the delay before the tool tip is displayed > Is there a way of doing this? Did you read the docs for those style hints that J-P Nurmi pointed you to?

Re: [Interest] change time delay of tool tips

2013-11-25 Thread Graham Labdon
However, this only allows me to set the tooltip duration - what I would like is to be able to control the delay before the tool tip is displayed Is there a way of doing this? -Original Message- From: interest-bounces+graham.labdon=avalonsciences@qt-project.org [mailto:interest-bounce

Re: [Interest] change time delay of tool tips

2013-11-25 Thread Graham Labdon
Thanks for the hints -Original Message- From: interest-bounces+graham.labdon=avalonsciences@qt-project.org [mailto:interest-bounces+graham.labdon=avalonsciences@qt-project.org] On Behalf Of Nurmi J-P Sent: 25 November 2013 09:33 To: Interest@qt-project.org Subject: Re: [Interest]

Re: [Interest] Not possible to connect QTcpSocket::error signal the "Qt5-way"?

2013-11-25 Thread Giuseppe D'Angelo
Il 25/11/2013 09:58, Ola Røer Thorsen ha scritto: It's unfortunate that there is a method and a signal in QAbstractSocket witht the same name, but I guess we're stuck with that now. It's tricky coming up with the correct "signature" syntax if not having seen it before. Maybe some example code c

Re: [Interest] change time delay of tool tips

2013-11-25 Thread Nurmi J-P
On 25 Nov 2013, at 10:17, Graham Labdon wrote: > Hi > Is it possible to change the delay for the display of tooltips > I have some widgets that I would like the display of the tool tip to be > quicker? > Qt 5.2 adds a bunch of ways to control tooltips: - QWidget::toolTipDuration http://

[Interest] change time delay of tool tips

2013-11-25 Thread Graham Labdon
Hi Is it possible to change the delay for the display of tooltips I have some widgets that I would like the display of the tool tip to be quicker? Thanks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/int

Re: [Interest] Not possible to connect QTcpSocket::error signal the "Qt5-way"?

2013-11-25 Thread Ola Røer Thorsen
Got it, thanks. It's unfortunate that there is a method and a signal in QAbstractSocket witht the same name, but I guess we're stuck with that now. It's tricky coming up with the correct "signature" syntax if not having seen it before. Maybe some example code could be added to this page here, ht