Re: [Development] Idea for automatic widget layout

2012-08-31 Thread jan-arve.saether
Hi Kerrick, Here's my initial impressions. Some comments are related to Qt, since that's where I come from. ext Kerrick Staley wrote on 2012-08-31: > Hello, > > I had an idea for automating widget layout in a framework like Clutter, > Gtk+, or Qt. Imagine you have a row of widgets that are com

Re: [Development] HELP NEEDED: Cleaning up the class documentation for Qt 5

2012-08-30 Thread jan-arve.saether
Gladhorn Frederik (Nokia-MP/Oslo) wrote on 2012-08-30: > Hello, > > Torsdag 30. august 2012 12.21.40 skrev eskil.abrahamsen- > blomfe...@nokia.com: >> Hi, >> >> We've started looking at cleaning up the documentation to make it more >> consistent with the changes made in Qt 5. One big task is han

Re: [Development] Qt 5 beta

2012-08-30 Thread jan-arve.saether
ext Yves Bailly wrote on 2012-08-30: > Greetings all, > > Le 30/08/2012 13:23, lars.kn...@nokia.com a écrit : >> the Qt 5 beta has now been released. Please find all the details at >> >> http://www.qt-project.org/wiki/Qt-5-Beta >> >> and my blog post at >> >> http://labs.qt.nokia.com/2012/08/3

Re: [Development] Qt 5 beta

2012-08-30 Thread jan-arve.saether
ext Thiago Macieira wrote on 2012-08-30: > On quinta-feira, 30 de agosto de 2012 11.23.07, lars.kn...@nokia.com > wrote: >> Hi everybody, >> >> the Qt 5 beta has now been released. Please find all the details at >> >> http://www.qt-project.org/wiki/Qt-5-Beta >> >> and my blog post at >> >> htt

Re: [Development] Error running qt5_tool

2012-07-08 Thread jan-arve.saether
Sorry, I believe not. You have to set up your .ssh/config with a host-specific port number for codereview.qt-project.org. This is described here: http://qt-project.org/wiki/Setting-up-Gerrit Jan Arve 08.07.12 03:27 skrev ext Leandro Melo de Sales: So, is there an error in the qt5_tool? Em 0

Re: [Development] Error running qt5_tool

2012-07-07 Thread jan-arve.saether
It seems like the port number is wrong. Note that the gerrit service is not listening to port 22. I don't remember the actual port number, but it should be on the wiki page about gerrit I believe. 07.07.12 21:52 skrev ext Leandro Melo de Sales: Hi, I'm running qtrepotools/bin/qt5_tool -p -c

Re: [Development] Dynamic QtServiceFramework backend.

2012-05-02 Thread jan-arve.saether
ext Corentin Jabot wrote on 2012-05-02: > > bool > QServiceManager::setInterProcessMethod(QService::InterProcessMethod); > > enum QService::InterProcessMethod { >Native, >LocalSocket, >DBus > } > Wouldn't enum QService::InterProcessMethod { Nativ

Re: [Development] Adoption of virtual_hook()

2012-04-11 Thread jan-arve.saether
in and nobody should reimplement it (now). --Jan- Arve Sæther Fra: development-bounces+jan-arve.saether=nokia@qt-project.org [development-bounces+jan-arve.saether=nokia@qt-project.org] på vegne av Fernengel Harald (Nokia-MP/Berlin) Sendt: 11.

Re: [Development] Adoption of virtual_hook()

2012-04-11 Thread jan-arve.saether
Hausmann Simon (Nokia-MP/Oslo) wrote on 2012-04-11: > I would say that qt_metacall is our equivalent. We used that with > slots in QStyle for example to achieve the same effect with slightly > more convenience :) > > Simon > Ok, that will cover most of our classes, but we still have polymorphic

[Development] Adoption of virtual_hook()

2012-04-10 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, http://chaos

Re: [Development] Deprecating QString::{v,}sprintf()

2012-02-21 Thread jan-arve.saether
Sorry for top-posting again... I'm not sure I understand. The code that Marc fixed mostly needed to pay the penalty of converting the QString to a QByteArray. For the majority of the other cases, the code should have used tr().arg(). The code in qmake was however an exception, since it works w

Re: [Development] Changing qreal to a float

2012-02-21 Thread jan-arve.saether
Sorry for top-posting from my N9... I was thinking the same, but I'm afraid we can't change it, since it would cause too many subtle bugs. The best thing I can think is to deprecate it, and add a QRectS or QRectI, but I'm not utterly convinced... Jan-Arve 21.02.12 15:31 skrev ext Andreas A

Re: [Development] Deprecating QString::{v,}sprintf()

2012-02-21 Thread jan-arve.saether
ext Marc Mutz wrote on 2012-02-21: > > https://codereview.qt-project.org/#change,17062 > > The patch also nicely highlights how and where QString().sprintf() is > used in Qt itself, because it adjusts all callers. > This caught my interest, so I checked some of the callers to see how sprintf wa

Re: [Development] QT Accessibility

2012-02-20 Thread jan-arve.saether
Jan-Arve Sæther (Windows) email: jan-arve.saet...@nokia.com irc: jana...@irc.freenode.net regards, Jan-Arve From: development-bounces+jan-arve.saether=nokia@qt-project.org [mailto:development-bounces+jan-arve.saether=nokia@qt-project.org] On Behalf Of ext Sean Farrow Sent: 19. feb

Re: [Development] Let's discuss QPluginManager

2012-01-20 Thread jan-arve.saether
ext Mathias Hasselmann wrote on 2012-01-20: > Hi, > > Qt nicely supports extending applications and libraries via plugins, > still in my opinion one major building block is missing: Some reusable > object which iterates the shared object files in relevant plugin > folders and returns all instance

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-12 Thread jan-arve.saether
ards to behavior it has some advantages, but I believe it also has some disadvantages. And since in addition it might introduce a performance penalty I'm leaning towards that this is not a good idea. I've made a comment on the patch in gerrit: http://codereview.qt-project.org/#c

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-12 Thread jan-arve.saether
gerrit: http://codereview.qt-project.org/#change,11763 Jan-Arve From: development-bounces+jan-arve.saether=nokia@qt-project.org<mailto:development-bounces+jan-arve.saether=nokia@qt-project.org> [mailto:development-bounces+jan-arve.saether=nokia@qt-project.org<mailto:nokia

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-11 Thread jan-arve.saether
e in addition it might introduce a performance penalty I'm leaning towards that this is not a good idea. I've made a comment on the patch in gerrit: http://codereview.qt-project.org/#change,11763 Jan-Arve From: development-bounces+jan-arve.saether=nokia@qt-project.org<mailto:d

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-06 Thread jan-arve.saether
wards that this is not a good idea. I've made a comment on the patch in gerrit: http://codereview.qt-project.org/#change,11763 Jan-Arve From: development-bounces+jan-arve.saether=nokia@qt-project.org [mailto:development-bounces+jan-arve.saether=nokia@qt-project.org] On Behalf O

Re: [Development] Platform / compiler support

2011-11-07 Thread jan-arve.saether
Abecasis Joao (Nokia-MP-Qt/Oslo) wrote on 2011-11-07: > Hi, > > Time and again there is some (not-so-recent) language or compiler > feature (e.g. C99 variadic macros, TR1, , ...) that someone > would like to use in Qt. We usually go it the safe way out: either the > feature is used inside feature

Re: [Development] New feature to qstring | QString::toBool()

2011-10-26 Thread jan-arve.saether
ext Frans Klaver wrote on 2011-10-26: > On Wed, Oct 26, 2011 at 8:31 AM, wrote: > >> Consider this code: >> >> bool parseOk; >> if (str.toBool(&parseOk)) { >>    if (parseOk) >>        enableSuperFastRenderer(); >> } > > I think that in most, if not all cases, the parseOk argument would or >

Re: [Development] New feature to qstring | QString::toBool()

2011-10-25 Thread jan-arve.saether
ext Thiago Macieira wrote on 2011-10-26: > On Tuesday, 25 de October de 2011 23.33.04, Frans Klaver wrote: >>> 1) document very well what is true and what isn't >> >> Restricting the use to e.g. English only, would not be really useful >> when parsing (localized) user input, although I don't thi