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

2013-11-22 Thread Preet
Hi, I use ColorAnimation to animate a color transition on a rectangle between two states (say ColorA to ColorB). The default color of the rectangle is A, and it changes to B when a child MouseArea is pressed. In the case where ColorA is completely transparent (#00abcdef) and ColorB is completely

Re: [Interest] static qt without zlib

2013-11-22 Thread Konrad Rosenbaum
On Friday, Friday 22 November 2013 at 15:09, Tim Blechmann wrote: > well it is not that i want to completely remove zlib, but i currently > have too many of them ;) > > > You might try to use a "system zlib", i.e. provide your own copy of zlib > > as the one Qt links to and then use the one linked

Re: [Interest] Not possible to connect QTcpSocket::error signal

2013-11-22 Thread Philipp Kursawe
the "Qt5-way"? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===2424312414441479834==" --===2424312414441479834== Content-Type: multipart/signed; boundary="nextPart6567963.r7pnNChBp8"; micalg="pgp-sha1"; protocol="application/pgp-signature" --nextPart

Re: [Interest] QAbstractItemModel::headerData

2013-11-22 Thread andre
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 the count. > This is good. > > My model is hierarchical and

[Interest] QAbstractItemModel::headerData

2013-11-22 Thread Bill Crocker
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 the count. This is good. My model is hierarchical and different points in the hierarchy have a different number of

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

2013-11-22 Thread Thiago Macieira
On sexta-feira, 22 de novembro de 2013 16:56:47, Ola Røer Thorsen wrote: > Is this a bug in Qt, or did I not use the correct syntax? I recon this has > to do with QAbstractSocket having the error() function as well as an error > signal. You did not use the correct syntax. The compiler told you th

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

2013-11-22 Thread Giuseppe D'Angelo
Il 22/11/2013 16:56, Ola Røer Thorsen ha scritto: fails, the compiler says error: no matching function for call to 'MyClass::connect(QTcpSocket*&, , MyClass* const, void (MyClass::*)(QAbstractSocket::SocketError))' This is a C++ problem -- means that error() has overloads, and you need to

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

2013-11-22 Thread Ola Røer Thorsen
Hi all, I've started using the new "Qt5" way of connecting signals and slots, to get errors compile-time instead of runtime. Great stuff. Here is one I struggle to connect. If you have a QTcpSocket, and want to handle the error signal in a slot called tcpSocketError, a connect like this: connect

Re: [Interest] Keyboard navigation issues in Quick2

2013-11-22 Thread Ola Røer Thorsen
And here it is: https://bugreports.qt-project.org/browse/QTBUG-35051 2013/11/22 Ola Røer Thorsen > Hi Liang, > > thanks for the reply! I will create a bug report right away. > > Best regards, > Ola > > > > > 2013/11/22 Liang Qi > >> Hi, Ola, >> >> Just got notification about your question fro

Re: [Interest] Keyboard navigation issues in Quick2

2013-11-22 Thread Ola Røer Thorsen
Hi Liang, thanks for the reply! I will create a bug report right away. Best regards, Ola 2013/11/22 Liang Qi > Hi, Ola, > > Just got notification about your question from others, and subscribed this > mailing list. > http://lists.qt-project.org/pipermail/interest/2013-November/009878.html >

Re: [Interest] Tearing in Quick2 flickable-based items with clipping enabled

2013-11-22 Thread Ola Røer Thorsen
Thanks for the feedback both of you! VStevenP, yes I've looked at the TI wiki regarding failure modes and whatnot, and tried setting the paramBufferSize and such. Doesn't seem have any effect on the tearing. I think they might have some race condition in the gpu driver or something, My applicatio

Re: [Interest] static qt without zlib

2013-11-22 Thread Tim Blechmann
hi konrad, >> i'm trying to compile qt as static library with msvc2012. is it possible >> to do this without building zlib? my application provides its own >> version of zlib, so i'm currently having duplicate symbols from my own >> static zlib and Qt5Core.lib > > Zlib is pretty basic to some Qt

Re: [Interest] Keyboard navigation issues in Quick2

2013-11-22 Thread Liang Qi
Hi, Ola, Just got notification about your question from others, and subscribed this mailing list. http://lists.qt-project.org/pipermail/interest/2013-November/009878.html Your question is valid here in some way. I think you could create a bug report in jira. There is no focus chain concept when

[Interest] Keyboard navigation issues in Quick2

2013-11-22 Thread Ola Røer Thorsen
Hi all, here is a case that I find rather limiting and time-consuming. It has to do with focus scopes and keyboard navigation. I'm looking for a best way to deal with the following situation: - I have a ColumnLayout of button-like items, like a popup-menu. - The first item has "focus" set to true

Re: [Interest] static qt without zlib

2013-11-22 Thread Konrad Rosenbaum
Hi, On Friday, Friday 22 November 2013 at 11:28, Tim Blechmann wrote: > i'm trying to compile qt as static library with msvc2012. is it possible > to do this without building zlib? my application provides its own > version of zlib, so i'm currently having duplicate symbols from my own > static zli

Re: [Interest] Qt Quick on desktop applications

2013-11-22 Thread Philipp Kursawe
No. I tried and it lacking basic UI features of the desktop like proper keyboard handling and a proper combos, treeview. Also the weird domain language which is a mix of JavaScript and json does not help. Worst if all, it's difficult to debug. -- From: Graham Labdon Sent

Re: [Interest] Qt Quick on desktop applications

2013-11-22 Thread Frédéric Meurou
AFAIK, you have to possibilities : - proprietary Qt from Digia with Qt.Charts - build your own chart renderer with a QQuickPaintedItem (i created torus graphs quite easily, but it's only a one dimension graph). but you won't get native charts from the open source version. Le 22 novembre 2013 10

Re: [Interest] Qt Quick on desktop applications

2013-11-22 Thread Graham Labdon
My application has some rather complicated graphical aspects such as displaying large data sets as a plotted graph. Would this be possible in qml? From: Frédéric Meurou [mailto:fmeu...@wapp6.com] Sent: 22 November 2013 10:51 To: Graham Labdon Cc: Interest@qt-project.org Subject: Re: [Interest] Qt

Re: [Interest] Qt Quick on desktop applications

2013-11-22 Thread Frédéric Meurou
I guess with Quick Controls and layout elements it might be "easy". My approach would be to rethink the UI considering new possibilities offered by QML, which is much more flexible when it comes to UI design. Le 22 novembre 2013 10:47, Graham Labdon a écrit : > Sounds like it’s worth looking

Re: [Interest] Qt Quick on desktop applications

2013-11-22 Thread Graham Labdon
Sounds like it's worth looking at Would it be difficult to convert an existing ui to Qml? From: Frédéric Meurou [mailto:fmeu...@wapp6.com] Sent: 22 November 2013 10:38 To: Graham Labdon Cc: Interest@qt-project.org Subject: Re: [Interest] Qt Quick on desktop applications Hi Graham, IMHO, it is vi

Re: [Interest] Qt Quick on desktop applications

2013-11-22 Thread Frédéric Meurou
Hi Graham, IMHO, it is viable since : - you'll get more and more touch screens - people are getting used to touch interfaces - Quick Controls allows you to mimick widgets - You get GL acceleration on QML - it is easy to create custom components. >From my recent experience, I don't think i'll use

Re: [Interest] Qt Quick on desktop applications

2013-11-22 Thread Tomasz Siekierda
On 22 November 2013 11:22, Graham Labdon wrote: > > Hi > Is it viable to develop a complex desktop application using QML for the user > interface? > Regards > Yes. But better make some test apps before you commit to that. QML is very easy and powerful, but needs a bit getting used to (it's very

Re: [Interest] Windows segfault, but not on Linux

2013-11-22 Thread Konrad Rosenbaum
Ok, let me qualify my statement: never assume var++ is atomic unless it is an explicit atomic int or protected by a mutex! In this specific case neither was an option: I would have had to rewrite some important chunks of a 3rd-party lib that were already tricky to debug. So I wrote a workaround

[Interest] static qt without zlib

2013-11-22 Thread Tim Blechmann
hi all, i'm trying to compile qt as static library with msvc2012. is it possible to do this without building zlib? my application provides its own version of zlib, so i'm currently having duplicate symbols from my own static zlib and Qt5Core.lib any idea? thanks in advance, tim signature.asc

[Interest] Qt Quick on desktop applications

2013-11-22 Thread Graham Labdon
Hi Is it viable to develop a complex desktop application using QML for the user interface? Regards ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] OpenGL ES2.0 on target board

2013-11-22 Thread Koehne Kai
> -Original Message- > From: interest-bounces+kai.koehne=digia@qt-project.org > [mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf Of > Ramesh Nelakuditi > Sent: Friday, November 22, 2013 7:32 AM > To: Interest@qt-project.org > Subject: [Interest] OpenGL ES2.0 on

Re: [Interest] [SOLVED] QImage::save forces client to open file before call

2013-11-22 Thread alexander golks
Am Thu, 21 Nov 2013 07:52:08 -0800 schrieb Thiago Macieira : > If you think the behaviour is wrong, describe it and ask that it be fixed in > a > bug report. you wrote, i debugged again, and found just our not-qt-tif plugin behaves not like all other plugins... i should have looked better at t

Re: [Interest] Glyph fallback

2013-11-22 Thread Ender Erel
Hi All, I think my approach was wrong the whole time, so let me try again. I am working on QtEmbedded 4.1.4. I have three fonts: FontA contains Latin, FontB contains Korean, FontC contains Chinese characters and each font is from a different family. I also have three labels in my app (LabelA, L

Re: [Interest] Custom QPushButton

2013-11-22 Thread Graham Labdon
Thanks for that - I will give it a try -Original Message- From: interest-bounces+graham.labdon=avalonsciences@qt-project.org [mailto:interest-bounces+graham.labdon=avalonsciences@qt-project.org] On Behalf Of Rayner Pupo Sent: 22 November 2013 03:00 To: interest@qt-project.org Sub