[Development] Adoption of virtual_hook()

2012-04-11 Thread jan-arve.saether
The Little Manual of API Design [1] recommends adding a virtual_hook() that can be used later on if we need to extend the class without BIC. Lots of classes does not have this hook. Isn't this something we should fix before Qt5 is out? Jan-Arve [1]: Little Manual of API Design,

Re: [Development] Qt5 missing features

2012-04-11 Thread jason.mcdonald
On Tuesday 10 April 2012 Christoph Feck wrote: Instead of rushing half-baked APIs, the 5.0 release should be a solid base from which new and well designed APIs can be launched. The less APIs are included into 5.0, the lower the frustation will be when it is later discovered that they are

Re: [Development] Qt5 missing features

2012-04-11 Thread morten.sorvig
On Apr 9, 2012, at 8:02 PM, ext BogDan wrote: - platform menu APIs. Current APIs are not enough for Android platform (same for Mac OSX?), I need a way to *manage* from platform plagin the menubar and the context menus, meaning that Qt must show/hide the menu(bar) using the platform plugin.

Re: [Development] QPixmap::fill( const QWidget *, ... )

2012-04-11 Thread Samuel Rødal
On 04/10/2012 11:08 PM, ext Uwe Rathmann wrote: On 04/10/2012 09:43 PM, Andreas Aardal Hanssen wrote: Den 21:10 10. april 2012 skrev Uwe Rathmann uwe.rathm...@tigertal.de mailto:uwe.rathm...@tigertal.de følgende: You want to take a screenshot of the widget from within the widget's own

Re: [Development] Qt5 missing features

2012-04-11 Thread BogDan
Hi Girish,   I know that almost all QPA API are internal, I'm using them from the very begging :) !    The problem is sometime if you want to create a clean API you also must to change other APIs which are public. Let me give you an example for better understanding. The QMenu subclass

Re: [Development] Qt5 missing features

2012-04-11 Thread morten.sorvig
On Apr 11, 2012, at 9:57 AM, ext BogDan wrote: Hi Girish, I know that almost all QPA API are internal, I'm using them from the very begging :) ! The problem is sometime if you want to create a clean API you also must to change other APIs which are public. Let me give you an

Re: [Development] Qt5 missing features

2012-04-11 Thread BogDan
- Original Message - From: morten.sor...@nokia.com morten.sor...@nokia.com To: development@qt-project.org Cc: Sent: Wednesday, April 11, 2012 11:51 AM Subject: Re: [Development] Qt5 missing features On Apr 11, 2012, at 9:57 AM, ext BogDan wrote: Hi Girish,   I know that

Re: [Development] Qt5 missing features

2012-04-11 Thread Christoph Feck
On Wednesday 11 April 2012 11:40:15 BogDan wrote: There is no QMenu::show, and this is the problem !:) QMenu::show() calls QWidget::show(), which simply calls QWidget::setVisible(true). And this one is virtual, case closed ;) -- Christoph Feck http://kdepepo.wordpress.com/ KDE Quality Team

[Development] NOTE: Gerrit going down for an upgrade (Thu 12th - 09:00 - 09:20 CEST)

2012-04-11 Thread Sergio Ahumada
Hi, Gerrit https://codereview.qt-project.org/ will go down at 09:00 CEST tomorrow Thu 12th 2012, for deployment of fixes. Fixes are: https://bugreports.qt-project.org/browse/QTQAINFRA-190 https://bugreports.qt-project.org/browse/QTQAINFRA-195

Re: [Development] Adoption of virtual_hook()

2012-04-11 Thread lars.knoll
I was never a really big fan of adding lots of virtual_hook()'s to classes. vtable entries do come at a cost and in many cases it's not really required. I am certainly against blindly adding them to all our classes. Cheers, Lars On 4/11/12 8:19 AM, ext jan-arve.saet...@nokia.com

[Development] Develop Qt in VS 2010 and Syntax Highlighting?

2012-04-11 Thread Daniel Kreuter
Hello, i want to develop my programs out of Visual Studio 2010. Everything works now, but I don't get any syntax highlighting of any Qt specific keywords, especially for QML. Is there any possibility to get something working for that? -- Mit freundlichen Grüßen Greetings Daniel Kreuter

[Development] Towards a Qt 5 beta

2012-04-11 Thread lars.knoll
Hi everybody, hope many of you had the chance to take some time off over easter. I certainly did. Now that the alpha is out, there's work we need to do to get things in shape for a beta. We are now done with new feature development and changes to our API. I will merge the api_changes branch

Re: [Development] Adoption of virtual_hook()

2012-04-11 Thread Thiago Macieira
On quarta-feira, 11 de abril de 2012 12.12.23, lars.kn...@nokia.com wrote: I was never a really big fan of adding lots of virtual_hook()'s to classes. vtable entries do come at a cost and in many cases it's not really required. I am certainly against blindly adding them to all our classes. In

Re: [Development] Adoption of virtual_hook()

2012-04-11 Thread harald.fernengel
Hi, On Apr 11, 2012, at 15:09 , ext Thiago Macieira wrote: For non-QObject classes which *already* have virtual tables, we should consider it. Fortunately, those classes are minority in Qt, we have very few of them. grep'ing through the source code, we have several virtual_hooks in Qt:

Re: [Development] Maintainer TrustMes

2012-04-11 Thread Frederik Gladhorn
On 04/02/2012 03:59 PM, ext Thiago Macieira wrote: On segunda-feira, 2 de abril de 2012 15.36.57, Stephen Kelly wrote: My question applies mostly to QtDBus, since I don't expect most people will know anything about that module. I've (ab)used Stephen's goodwill to review simple things, but I

Re: [Development] Qt Summit 2012 Registration is now open!

2012-04-11 Thread Quim Gil
Just to be clear: Nokia employees follow the same registration process, like anybody else. Organizers too. Lars too. Me too. Everybody. http://qt-project.org/groups/qt-contributors-summit-2012/wiki REQUEST AN INVITATION [docs.google.com] Direct link with a free ad ;) http://tinyurl.ms/50kb

[Development] qt summit 2012 schedule structure

2012-04-11 Thread Sivan Greenberg
Hi All, Doing more organization thought and work, we'd like to get the discussion going about how to best organize the the schedule for the summit. My personal experience from last year was such that it was a bit hard to decide which sessions to attend, some I missed due to room locating

[Development] Request for a minimal example for QTBUG 4447 (imaginary tablet in VMWare Fusion/Mac OS X)

2012-04-11 Thread Mojca Miklavec
Dear developers, I'm more or less a novice (hardly any experience with Qt programming). I've been bitten by the following bug: https://bugreports.qt-project.org/browse/QTBUG-4447 and have submitted a bug report to VMWare (I'm still within the time period when I'm able to submit technical

Re: [Development] Towards a Qt 5 beta

2012-04-11 Thread Robin Burchell
On Wed, Apr 11, 2012 at 2:49 PM, lars.kn...@nokia.com wrote: We are now done with new feature development and changes to our API. I will merge the api_changes branch that contains the remaining changes to our api back to master by the end of this week, and close the branch after that. I

[Development] New project - QtMediaHub

2012-04-11 Thread Girish Ramakrishnan
Hi, We would like to setup our existing project QtMediaHub under the qt-project. QtMediaHub is a media player pretty much like XBMC. It can stream media to multiple devices, can be controlled using remote control and completely skinnable (using QML). The official home page is :

Re: [Development] Towards a Qt 5 beta

2012-04-11 Thread Giuseppe D'Angelo
On 11 April 2012 13:49, lars.kn...@nokia.com wrote: We are now done with new feature development and changes to our API. I will merge the api_changes branch that contains the remaining changes to our api back to master by the end of this week, and close the branch after that. What about the

Re: [Development] Qt Summit 2012 Registration is now open!

2012-04-11 Thread André Pönitz
On Wed, Apr 11, 2012 at 10:01:13AM -0700, Quim Gil wrote: Just to be clear: Nokia employees follow the same registration process, like anybody else. Organizers too. Lars too. Me too. Everybody. If you say so... http://qt-project.org/groups/qt-contributors-summit-2012/wiki There will be at

[Development] System Locale Update broken

2012-04-11 Thread John Layt
Hi, QTBUG-24543 reports that the tst_QLocale::windowsDefaultLocale() test is broken and is currently being skipped. I've determined this is because the Qt4 mechanism for triggering a refresh of the Qt system locale whenever the system locale is changed has been removed from

Re: [Development] Towards a Qt 5 beta

2012-04-11 Thread Rohan McGovern
marius.storm-ol...@nokia.com said: On 04/11/2012 07:49 AM, ext lars.kn...@nokia.commailto:lars.kn...@nokia.com wrote: ** insignificant tests ** We still have quite some tests (around 110 in total) marked as insignificant. This means they will be ignored by the CI system. Any help to

Re: [Development] System Locale Update broken

2012-04-11 Thread Thiago Macieira
On quarta-feira, 11 de abril de 2012 22.58.21, John Layt wrote: Hi, QTBUG-24543 reports that the tst_QLocale::windowsDefaultLocale() test is broken and is currently being skipped. I've determined this is because the Qt4 mechanism for triggering a refresh of the Qt system locale whenever the

Re: [Development] Qt5 missing features

2012-04-11 Thread Alan Alpert
On Wed, 11 Apr 2012 19:25:41 ext BogDan wrote: - platform theme APIs, current APIs are good but not enough, BTW KeyboardSchemes enum doesn't seems to used and IMHO doesn't contain very cross platform values :). For several months I struggle to create a style plugin for Android, I manage to

Re: [Development] Qt5 missing features

2012-04-11 Thread Lincoln Ramsay
On 04/12/2012 11:00 AM, ext Alan Alpert wrote: One thing I don't understand in this discussion is this theme manager concept (like QStyle). ... Why exactly do we need this level of indirection Because of this: import Widgets 1.0 As opposed to this: //import MeeGoWidgets 1.0 //import

Re: [Development] Qt5 missing features

2012-04-11 Thread Lincoln Ramsay
On 04/12/2012 01:20 PM, Alan Alpert wrote: If there was a standard API defined for a components and each platform provided something that was source-compatible with this API then that would work too (without indirection) but I haven't seen anyone suggesting that a platform's components should

Re: [Development] Qt5 missing features

2012-04-11 Thread Alex Wilson
On Wednesday, April 11, 2012 07:25:41 pm ext BogDan wrote: the problem with QML desktop components is that not all controls are touch friendly (e.g. lists, editbox, etc.), even they have Android look the feel is not the right one. As I said, I believe is a waste of time to have 3 completely

Re: [Development] Qt5 missing features

2012-04-11 Thread Alan Alpert
On Thu, 12 Apr 2012 13:44:53 Lincoln Ramsay wrote: On 04/12/2012 01:20 PM, Alan Alpert wrote: If there was a standard API defined for a components and each platform provided something that was source-compatible with this API then that would work too (without indirection) but I haven't seen