Re: [Development] Settings API for QML

2012-12-12 Thread Alberto Mardegan
On 12/12/2012 01:16 AM, Thiago Macieira wrote: On terça-feira, 11 de dezembro de 2012 15.55.52, Alan Alpert wrote: Would you care to sketch out what your PersistentSettings element would look like in practice? In a non QML approximant syntax: Rectangle { PersistentSettings {

Re: [Development] QAction-like API for QML

2012-12-12 Thread André Somers
Op 11-12-2012 21:59, Alan Alpert schreef: On Tue, Dec 11, 2012 at 10:49 AM, Shawn Rutledge shawn.rutle...@digia.com wrote: On Tue, Dec 11, 2012 at 09:48:22AM -0800, Alan Alpert wrote: Why can't this be QML-only? For the set of controls exposed in C++-only we have a C++-only Action API. When

Re: [Development] Settings API for QML

2012-12-12 Thread Simon Hausmann
On Tuesday, December 11, 2012 04:40:50 PM Bache-Wiig Jens wrote: I would also consider an even simpler API. How about we introduce a new keyword for persistent properties and make it part of the language. Rectangle { id: root persistent property width: 400 persistent

Re: [Development] Enumerations in QML

2012-12-12 Thread Verbruggen Erik
On Dec 11, 2012, at 4:47, Alan Alpert 4163654...@gmail.com wrote: People keep asking for enumerations in QML. See QTBUG-15483 and QTBUG-14861, both assigned to old Nokia identities (so don't trust that 'in progress' ;) ). Now I don't know when these issues will be resolved, but there's an

Re: [Development] Settings API for QML

2012-12-12 Thread Mark
On Wed, Dec 12, 2012 at 10:03 AM, Simon Hausmann simon.hausm...@digia.com wrote: On Tuesday, December 11, 2012 04:40:50 PM Bache-Wiig Jens wrote: I would also consider an even simpler API. How about we introduce a new keyword for persistent properties and make it part of the language.

Re: [Development] Convenience Imports in QML

2012-12-12 Thread Sorvig Morten
On Dec 11, 2012, at 4:25 AM, Alan Alpert 4163654...@gmail.com wrote: import Qt 5.0 Which imports all QML modules in the Qt Essentials released with 5.0.0 (except QtQuick 1). It would be the equivalent of import QtQml 2.0 import QtQuick 2.0 import QtQuick.Window 2.0 import

Re: [Development] Qml mime types

2012-12-12 Thread Mohamed Fawzi
I think it could be useful to do a small recap on mime types, as that is what I am interested in, not extensions (ignore if it is obvious to you): a mime type identifies a type of file, mime types are hierarchical, i.e. a mime type can be a subclass of another. For example text/plain;

[Development] If you are working on documentation...

2012-12-12 Thread Martin Smith
If you have trouble creating a link to something (usually title or subtitle) because the title or subtitle you are trying to link to exists in more than one document and your link goes to the wrong one, consider using the \target command. It didn't work across modules until today. The relevant

[Development] heads-up: QtWebKit's SQLite dependency

2012-12-12 Thread Simon Hausmann
Hi, QtWebKit requires SQLite for various web related storage mechanism (including cookies). That dependency is quite old actually, but we've done some changes now that clean up the way that dependency is satisfied. Ideally should affect only very few people, but it is quite likely to include

Re: [Development] If you are working on documentation...

2012-12-12 Thread Martin Smith
Oops! The link to the target example should be this: See the section called \l {a_unique_string} {Qt Script} for more details. martin On Dec 12, 2012, at 12:22 PM, Martin Smith wrote: If you have trouble creating a link to something (usually title or subtitle) because the title or subtitle

Re: [Development] If you are working on documentation...

2012-12-12 Thread Martin Smith
On Dec 12, 2012, at 12:22 PM, Martin Smith wrote: If you have trouble creating a link to something (usually title or subtitle) because the title or subtitle you are trying to link to exists in more than one document and your link goes to the wrong one, consider using the \target command.

Re: [Development] Enumerations in QML

2012-12-12 Thread Charley Bay
Unto all so did sayeth Alan: What should enumeration declarations in QML look like? Did respondeth Erik: And, also important: how much slower is it allowed to be than the current implementation? I remembered that there was talk about enums in QML before, so I dug around a bit, and

Re: [Development] Branches

2012-12-12 Thread Oswald Buddenhagen
On Mon, Dec 03, 2012 at 04:29:24PM +, Knoll Lars wrote: master is closed for new pushes and will go away in a couple of weeks by the latest. this has happened now - the master branches are all deleted. due to the mess found in the master branches, i simply deleted them without merging

[Development] Qt 5 packaging and binary renaming

2012-12-12 Thread Stephen Kelly
Hi there, For anyone packaging Qt 5 and renaming the binaries moc, rcc, uic, etc, please remember to also change the CMake config files using those to the renamed binaries. The files to change are: In qtbase.git: * src/widgets/Qt5WidgetsConfigExtras.cmake.in *

Re: [Development] Qt Playground - Updating Daemon/Service Support

2012-12-12 Thread BRM
From: Ahumada Sergio sergio.ahum...@digia.com To: development development@qt-project.org Sent: Wednesday, December 12, 2012 2:19 AM Subject: Re: [Development] Qt Playground - Updating Daemon/Service Support     As I know others have expressed interest in helping out, here's the    

Re: [Development] Qt Playground - Updating Daemon/Service Support

2012-12-12 Thread Laszlo Papp
I didn't know who to assign it to or even that I should assign it to someone. I am sure I have not assigned anyone explicitly, and it worked out of the box. Perhaps I was just lucky. http://qt-project.org/wiki/Creating-a-new-module-or-tool-for-Qt#6a17de784cf6db9124e9844959ec8ace In my opinion

Re: [Development] If you are working on documentation...

2012-12-12 Thread Sze Howe Koh
On 12 December 2012 19:22, Martin Smith martin.sm...@digia.com wrote: If you have trouble creating a link to something (usually title or subtitle) because the title or subtitle you are trying to link to exists in more than one document and your link goes to the wrong one, consider using the

Re: [Development] Branches

2012-12-12 Thread Thiago Macieira
On quarta-feira, 12 de dezembro de 2012 14.03.52, Oswald Buddenhagen wrote: On Mon, Dec 03, 2012 at 04:29:24PM +, Knoll Lars wrote: master is closed for new pushes and will go away in a couple of weeks by the latest. this has happened now - the master branches are all deleted. due to

Re: [Development] Qt 5 packaging and binary renaming

2012-12-12 Thread Thiago Macieira
On quarta-feira, 12 de dezembro de 2012 14.52.16, Stephen Kelly wrote: For anyone packaging Qt 5 and renaming the binaries moc, rcc, uic, etc, please remember to also change the CMake config files using those to the renamed binaries. For anyone packaging Qt 5: DO NOT RENAME the binaries.

Re: [Development] Foreign windows, embedding and transiency

2012-12-12 Thread Alberto Mardegan
I got a WIP branch up for preliminary review: https://codereview.qt-project.org/#change,42633 Any hints (especially on how to write automated tests for the feature) are very welcome :-) I tested it with a simple client and a Gtk socket, and it mostly works (still some focusing issues...).

Re: [Development] Qt 5 packaging and binary renaming

2012-12-12 Thread Stephen Kelly
On Wednesday, December 12, 2012 17:08:54 Alberto Villa wrote: On Wed, Dec 12, 2012 at 2:52 PM, Stephen Kelly stephen.ke...@kdab.com wrote: For anyone packaging Qt 5 and renaming the binaries moc, rcc, uic, etc, please remember to also change the CMake config files using those to the

Re: [Development] Foreign windows, embedding and transiency

2012-12-12 Thread Thiago Macieira
On quarta-feira, 12 de dezembro de 2012 17.24.17, Alberto Mardegan wrote: I got a WIP branch up for preliminary review: https://codereview.qt-project.org/#change,42633 Any hints (especially on how to write automated tests for the feature) are very welcome :-) I tested it with a simple

Re: [Development] Nominating roquetto for approver status

2012-12-12 Thread Peter Hartmann
On 12/03/2012 04:48 PM, Thiago Macieira wrote: (...) Would anyone like to second? +1 from me Disclaimer: I'm at KDAB, like he is, too. +1 from me Disclaimer: I'm not at KDAB, but I am Brazilian like Rafael :-) +1 from me no disclaimer :) Peter

Re: [Development] Foreign windows, embedding and transiency

2012-12-12 Thread Alberto Mardegan
On 12/12/2012 05:30 PM, Thiago Macieira wrote: But that change should have targeted the dev branch. It's new API and a new feature. Indeed! Though I was just interested in sharing the code with people for early feedback, so I didn't pay much care to the target branch. I'll move the next

Re: [Development] Settings API for QML

2012-12-12 Thread Stephen Kelly
On Tuesday, December 11, 2012 14:51:31 Alan Alpert wrote: One thing that I started thinking about though is that we will need in this case to have a C++ and QML API that can work with the same settings (unlike the existing Local Storage API), so that the C++ and QML halves of an application

[Development] Question about QFontconfigDatabase

2012-12-12 Thread Rafael Roquetto
Hello, While analyzing the source code in qfontconfigdatabase.cpp (qt4), I stumbled upon the following piece of code (beginning on line 433): struct FcDefaultFont { const char *qtname; const char *rawname; bool fixed; }; const FcDefaultFont defaults[] = {

Re: [Development] Qt5 iOS

2012-12-12 Thread Thiago Macieira
On quarta-feira, 12 de dezembro de 2012 18.31.47, Trismer Technologies wrote: Hello, Does anyone has information about roadmap of Qt5 for iOS ? Digia promises this port in next year but I'd like to know how the current blockers will be removed: the most important one - V8 javascript for

Re: [Development] Controlling QML Imports

2012-12-12 Thread Alan Alpert
On Tue, Dec 11, 2012 at 5:27 PM, Jan Kundrát j...@flaska.net wrote: On Tuesday, 11 December 2012 04:23:51 CEST, Alan Alpert wrote: For finer-grained control over QML it would make sense to have an API allowing import restrictions. Two usecases come to mind, platform security contexts and

Re: [Development] Controlling QML Imports

2012-12-12 Thread Alan Alpert
On Mon, Dec 10, 2012 at 7:23 PM, Alan Alpert 4163654...@gmail.com wrote: For finer-grained control over QML it would make sense to have an API allowing import restrictions. Two usecases come to mind, platform security contexts and scriptable applications. Platform security contexts is about

Re: [Development] QML Runtime

2012-12-12 Thread Alan Alpert
On Tue, Dec 11, 2012 at 11:33 PM, Sorvig Morten morten.sor...@digia.com wrote: On Dec 11, 2012, at 8:30 PM, Alan Alpert 4163654...@gmail.com wrote: On Tue, Dec 11, 2012 at 3:33 AM, Sorvig Morten morten.sor...@digia.com wrote: Please bundle the QML runtime in a class that the app author can

Re: [Development] Convenience Imports in QML

2012-12-12 Thread André Pönitz
On Wed, Dec 12, 2012 at 10:33:06AM +1000, Lincoln Ramsay wrote: On 12/12/12 07:28, André Pönitz wrote: What about something like import QtQml from Qt 5.0 import QtQuick from Qt 5.0 +1 Thanks ;-) All the benefits of a group of QML modules attached to a single Qt release

Re: [Development] Convenience Imports in QML

2012-12-12 Thread Giuseppe D'Angelo
On 12 December 2012 18:57, André Pönitz andre.poen...@mathematik.tu-chemnitz.de wrote: I actually think it's still to specfic. Upgrading from Qt 5.0 to 5.1 would need touching all source files. So import QtQml from TheQtIUse import QtQuick from TheQtIUse and some one-liner somewhere

Re: [Development] QAction-like API for QML

2012-12-12 Thread Alan Alpert
On Wed, Dec 12, 2012 at 12:44 AM, André Somers an...@familiesomers.nl wrote: Op 11-12-2012 21:59, Alan Alpert schreef: On Tue, Dec 11, 2012 at 10:49 AM, Shawn Rutledge shawn.rutle...@digia.com wrote: On Tue, Dec 11, 2012 at 09:48:22AM -0800, Alan Alpert wrote: Why can't this be QML-only? For

Re: [Development] Settings API for QML

2012-12-12 Thread Alan Alpert
On Wed, Dec 12, 2012 at 2:13 AM, Mark mark...@gmail.com wrote: On Wed, Dec 12, 2012 at 10:03 AM, Simon Hausmann simon.hausm...@digia.com wrote: On Tuesday, December 11, 2012 04:40:50 PM Bache-Wiig Jens wrote: ... I think a dedicated syntax has two distinct advantages over a Qt.storedProperty

Re: [Development] Convenience Imports in QML

2012-12-12 Thread Alan Alpert
On Wed, Dec 12, 2012 at 11:18 AM, Giuseppe D'Angelo dange...@gmail.com wrote: On 12 December 2012 18:57, André Pönitz andre.poen...@mathematik.tu-chemnitz.de wrote: I actually think it's still to specfic. Upgrading from Qt 5.0 to 5.1 would need touching all source files. So import QtQml

Re: [Development] Qml mime types

2012-12-12 Thread Alan Alpert
On Wed, Dec 12, 2012 at 2:59 AM, Mohamed Fawzi fawzi.moha...@digia.com wrote: ... I propose the following hierarchy: text/plain; charset=utf-8 text/vnd.qt.qml-base : a file using the qml syntax in some context text/vnd.qt.qml : the current .qml files text/vnd.qt.qbs : a qbs

Re: [Development] Enumerations in QML

2012-12-12 Thread Chris Adams
Hi, On Wed, Dec 12, 2012 at 10:51 PM, Charley Bay charleyb...@gmail.com wrote: Unto all so did sayeth Alan: What should enumeration declarations in QML look like? Did respondeth Erik: And, also important: how much slower is it allowed to be than the current implementation? I

Re: [Development] QML Runtime

2012-12-12 Thread Chris Adams
Hi, maybe there's a case for adding a small QQmlApplicationEngine in QtQml which adds the application runtime aspects? It's early and I haven't had my second coffee yet, so maybe I'm misunderstanding something, but are these application runtime aspects completely non-gui, non-QtQuick related?

Re: [Development] Qml mime types

2012-12-12 Thread Marc Mutz
On Wednesday December 12 2012, Mohamed Fawzi wrote: text/plain; charset=utf-8    text/vnd.qt.qml-base : a file using the qml syntax in some context      text/vnd.qt.qml : the current .qml files      text/vnd.qt.qbs : a qbs file      text/vnd.qt.qml-meta-info : qmltypes meta info