Re: [Development] thoughts about a shared models module, and models in general (was Re: Would a (QML) model aggregator class a welcome addition?)

2014-01-15 Thread Alan Alpert
On Wed, Jan 15, 2014 at 12:43 PM, Alan Alpert <4163654...@gmail.com> wrote: > On Wed, Jan 15, 2014 at 12:48 AM, Rutledge Shawn > wrote: >> >> On 10 Dec 2013, at 11:43 PM, Alan Alpert wrote: >> >>> On Tue, Dec 10, 2013 at 12:32 PM, Alberto Mardegan >>> wrote: Hi all! For one of my proje

Re: [Development] thoughts about a shared models module, and models in general (was Re: Would a (QML) model aggregator class a welcome addition?)

2014-01-15 Thread Alan Alpert
On Wed, Jan 15, 2014 at 12:48 AM, Rutledge Shawn wrote: > > On 10 Dec 2013, at 11:43 PM, Alan Alpert wrote: > >> On Tue, Dec 10, 2013 at 12:32 PM, Alberto Mardegan >> wrote: >>> Hi all! >>> For one of my projects, I found the need to merge several models into >>> a single model. I wrote a class

[Development] QPalette::Mid neglected?

2014-01-15 Thread Rafael Roquetto
Hello everyone, I noticed that one program that I run displays a lot of black squares when it shouldn't - I traced the problem down to the fact that, at least on this env - KDE4 + Qt5 dev branch HEAD - QPalette::mid() returns QBrush(QColor(ARGB 1, 0, 0, 0) , SolidPattern ), or black. It seems t

Re: [Development] Reducing number of allocations in metacall argument marshalling

2014-01-15 Thread Thiago Macieira
On quarta-feira, 15 de janeiro de 2014 13:42:01, Kuba Ober wrote: > The metatype system stores the size of types known to it, so it’s a simple > matter to know how big the all-in-one array needs to be, taking alignment > into consideration, of course. > > I don’t know yet if such a change would be

[Development] Consoles

2014-01-15 Thread Pau Garcia i Quiles
Hello, Qt is already well supported on desktops and mobile is mostly there (WP8 being the only remaining itch), what about consoles? Are there any plans for support XBox One and PlayStation 4? -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) __

[Development] Reducing number of allocations in metacall argument marshalling

2014-01-15 Thread Kuba Ober
Currently, the metacall arguments are marshaled by copy-constructing them in their own heap blocks. The addresses to the copies are deposited in an array-of-void*, passed as the args argument to QObject::qt_metacall etc. So there are two layers of allocations: 1. An array of void* is heap-alloc

Re: [Development] moving some SystemInfo stuff into qtbase (was Re: QtDriveInfo module in Playground)

2014-01-15 Thread Thiago Macieira
On terça-feira, 14 de janeiro de 2014 10:40:58, Rutledge Shawn wrote: > Maybe it's not worth the effort if KDE will be using Qt 5 soon enough > anyway. On KDE, Qt 5 apps use a plain QFileDialog by default. KF5 Technical Preview is out, with file dialog and Oxygen support. -- Thiago Macieira - th

[Development] FYI: using ccache and icecc with qt

2014-01-15 Thread Oswald Buddenhagen
as this is likely of interest for more people ... --- Begin Message --- On Wed, Dec 25, 2013 at 09:21:50PM +0100, Kevin Krammer wrote: > On Wednesday, 2013-12-25, 21:53:10, Muhammad Bashir Al-Noimi wrote: > > Howdy, > > > > How can I use ccache in Qt Creator? Do I need to add something in .p

Re: [Development] moving some SystemInfo stuff into qtbase (was Re: QtDriveInfo module in Playground)

2014-01-15 Thread Alvin Yulo
Here are the QDrive APIs that Tony mentioned below: https://codereview.qt-project.org/#change,75336,patchset=1 Regards, Alvin From: Иван Комиссаров [abba...@gmail.com] Sent: Friday, January 10, 2014 3:49 PM To: Tony Van Eerd Cc: Константин Ритт; Matt Broadstone; Da

Re: [Development] moving some SystemInfo stuff into qtbase (was Re: QtDriveInfo module in Playground)

2014-01-15 Thread Rutledge Shawn
On 13 Jan 2014, at 8:06 PM, David Faure wrote: > On Monday 13 January 2014 22:00:53 abba...@gmail.com wrote: But I think maybe we should get the C++ APIs into qtbase, so that QtQuick.Controls.FileDialog doesn't depend on qtsystems. > > Let me rewind a bit here... I thought QtCore woul

Re: [Development] moving some SystemInfo stuff into qtbase (was Re: QtDriveInfo module in Playground)

2014-01-15 Thread David Faure
On Monday 13 January 2014 22:00:53 abba...@gmail.com wrote: > >> But I think maybe we should get the C++ APIs into qtbase, so that > >> QtQuick.Controls.FileDialog doesn't depend on qtsystems. Let me rewind a bit here... I thought QtCore would have query stuff, not mount functionality - which mo

Re: [Development] thoughts about a shared models module, and models in general (was Re: Would a (QML) model aggregator class a welcome addition?)

2014-01-15 Thread Juergen Bocklage-Ryannel
On 15.01.14 09:48, Rutledge Shawn wrote: > On 10 Dec 2013, at 11:43 PM, Alan Alpert wrote: > >> On Tue, Dec 10, 2013 at 12:32 PM, Alberto Mardegan >> wrote: >>> Hi all! >>> For one of my projects, I found the need to merge several models into >>> a single model. I wrote a class for it, and I thi

[Development] thoughts about a shared models module, and models in general (was Re: Would a (QML) model aggregator class a welcome addition?)

2014-01-15 Thread Rutledge Shawn
On 10 Dec 2013, at 11:43 PM, Alan Alpert wrote: > On Tue, Dec 10, 2013 at 12:32 PM, Alberto Mardegan > wrote: >> Hi all! >> For one of my projects, I found the need to merge several models into >> a single model. I wrote a class for it, and I think it's generic enough >> to be useful for other