Re: [Development] Question about Qt's future

2014-04-22 Thread Kevin Krammer
mage property for input and three appropriately named integer properties for output. But the actual adapter code would be the same. Cheers, Kevin [1] Custom widget would be in the same boat as custom item, so that obviously can always deal with domain specific types. -- Qt Developer Days 2014,

Re: [Development] Question about Qt's future

2014-04-21 Thread Kevin Krammer
On Monday, 2014-04-21, 14:15:16, André Pönitz wrote: > On Mon, Apr 21, 2014 at 10:53:01AM +0200, Kevin Krammer wrote: > > The language "barrier" between C++ and QML makes it easier to see where UI > > ends and program logic begins, leading to better abstraction between cor

Re: [Development] Question about Qt's future

2014-04-21 Thread Kevin Krammer
ding facilities. > For the time being it was a lot easier to call a c++ method > getAltitude(AltitudeUnit unit) from QtWidgets than QML :) You mean if the method is in a different class then the enum definition? Cheers, Kevin -- Qt Developer Days 2014, October 6 - 8 at BCC, Berlin. Save the

Re: [Development] Question about Qt's future

2014-04-21 Thread Kevin Krammer
uctible QObject subclass and most widgets are in that category. Cheers, Kevin -- Qt Developer Days 2014, October 6 - 8 at BCC, Berlin. Save the dates! Kevin Krammer | kevin.kram...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540

Re: [Development] Question about Qt's future

2014-04-21 Thread Kevin Krammer
t it mainly depends on how much JS you want to use. If you are mainly working with bindings then that is usually not an issue. Cheers, Kevin -- Qt Developer Days 2014, October 6 - 8 at BCC, Berlin. Save the dates! Kevin Krammer | kevin.kram...@kdab.com | Senior Software Engineer Klarälvdalens D

Re: [Development] Question about Qt's future

2014-04-21 Thread Kevin Krammer
for any of the other technologies currently used with .ui files. Cheers, Kevin [1] including a console UI technology like Curses, see https://www.youtube.com/watch?v=pTSPviWQs4w for an inspiration [2] https://www.youtube.com/watch?v=NqpJEj15t9Q -- Qt Developer Days 2014, October 6 - 8 at BC

Re: [Development] Q_WS_* used in Qt sources

2014-03-12 Thread Kevin Krammer
e some integration hooks that haven't been fully ported yet. Like the QSystemTrayIcon code that Martin Gräßlin only recently refactored. Cheers, Kevin -- Qt Developer Days 2014, October 6 - 8 at BCC, Berlin. Save the dates! Kevin Krammer | kevin.kram...@kdab.com | Senior Software Engineer K

Re: [Development] [API Change] New authentication method in QNetworkAccessManager

2014-03-09 Thread Kevin Krammer
t? Cheers, Kevin -- Qt Developer Days 2014, October 6 - 8 at BCC, Berlin. Save the dates! Kevin Krammer | kevin.kram...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - Qt Experts - Platform-ind

Re: [Development] Binary Compatibility question (KDE)

2014-02-28 Thread Kevin Krammer
ouldn't log in with my identity > password on techbase. "Login with OpenID", then select KDE Identity as the ID provider :) Cheers, Kevin -- Kevin Krammer | kevin.kram...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +

Re: [Development] New Features in Qt-5.3

2014-02-26 Thread Kevin Krammer
know it is just not built by default. Cheers, Kevin -- Kevin Krammer | kevin.kram...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - Qt Experts - Platform-independent software soluti

Re: [Development] Text to Speech classes (tts)

2014-01-17 Thread Kevin Krammer
On Friday, 2014-01-17, 17:43:40, Frederik Gladhorn wrote: > Fredag 17. januar 2014 16.13.16 skrev Kevin Krammer: > > On Friday, 2014-01-17, 14:42:37, Travis Allen wrote: > > > On Fri, 2014-01-17 at 14:21 +0100, Frederik Gladhorn wrote: > > > > So this is a reques

Re: [Development] Text to Speech classes (tts)

2014-01-17 Thread Kevin Krammer
speech output having asymetric technology requirements. In which case a single module would drag in both. Are both likely to be used together or could there be common cases which use only one of them? Cheers, Kevin -- Kevin Krammer | kevin.kram...@kdab.com | Software Engineer Klarälvdalens Da

Re: [Development] Consoles

2014-01-17 Thread Kevin Krammer
On Friday, 2014-01-17, 11:15:24, Laszlo Papp wrote: > On Fri, Jan 17, 2014 at 11:06 AM, Kevin Krammer wrote: > > On Friday, 2014-01-17, 10:52:29, Laszlo Papp wrote: > >> Wouldn't it be useful to get a proper 3D module in place first? > >> Although, there are sti

Re: [Development] Consoles

2014-01-17 Thread Kevin Krammer
ment > > ___ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development -- Kevin Krammer | kevin.kram...@kdab.com | Software Engineer Klarälvdalens Datakonsult AB, a KDAB Grou

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

2014-01-13 Thread Kevin Krammer
On Monday, 2014-01-13, 12:37:54, Thiago Macieira wrote: > On segunda-feira, 13 de janeiro de 2014 21:28:05, Kevin Krammer wrote: > > D-Bus simply is *the* system integration technology on Linux, QtCore will > > need to be able to do D-Bus at runtime. > > That will always

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

2014-01-13 Thread Kevin Krammer
pter on the QtCore level. D-Bus simply is *the* system integration technology on Linux, QtCore will need to be able to do D-Bus at runtime. Cheers, Kevin -- Kevin Krammer | kevin.kram...@kdab.com | Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090,

Re: [Development] Request for new Playground Repo

2013-11-21 Thread Kevin Krammer
ality. > > Let me know if there are any questions. Since I saw PPS being mentioned as one of the extra APIs, isn't that also available on stock QNX? I.e. would it make sense to follow the naming used for the QPA or is the plan to mostly add BB specific APIs? Cheers, Kevin -- Kevi

Re: [Development] QML and JavaScript extensions

2013-11-15 Thread Kevin Krammer
y technique. Sure. QML just makes the separation very obvious. Since it is declarative you immedately see when you are going imperative. If you are all imperative it is hard to tell which part is UI and which is application core. With QML you can see that you are doing something wrong when your

Re: [Development] QML and JavaScript extensions

2013-11-15 Thread Kevin Krammer
re several platform vendors decided that they and only they can be trusted to write a secure enough JavaScript JIT. Obviously even if QJSEngine were a full QScriptEngine replacement, one would still want to separate UI and logic. After all this is one of the most important improvements over the C

Re: [Development] QML and JavaScript extensions

2013-11-15 Thread Kevin Krammer
On Friday, 2013-11-15, 11:51:43, Alan Alpert wrote: > On Fri, Nov 15, 2013 at 2:00 AM, Kevin Krammer wrote: > > On Thursday, 2013-11-14, 21:20:25, Topi Mäenpää wrote: > >> I considered the options carefully before switching to Qt5. I talked to > >> Digia engineers an

Re: [Development] QML and JavaScript extensions

2013-11-15 Thread Kevin Krammer
ng business logic process in the UI. That was already not a good idea when using C++, no need to continue bad practise when the new UI technology hands you a nice way to correct that. I also wouldn't consider widgets to be deprecated, at least not yet. And nicely use QML with widgets as the UI elem

Re: [Development] QML and JavaScript extensions

2013-11-15 Thread Kevin Krammer
ntly has. If so, I would imagine that this status could be changed to actively mainained again. Qt development is a combined effort of multiple parties. If one or more parties have interest in continued development of a scripting module and provide the resources to do it, then I am sure that woul

Re: [Development] QML, Widgets, and setParent

2013-11-05 Thread Kevin Krammer
On Monday, 2013-11-04, 21:48:11, Alan Alpert wrote: > On Sat, Nov 2, 2013 at 5:06 AM, Kevin Krammer wrote: > > The thing is that the widgets wouldn't have non-Widget parents, at least > > not in DeclarativeWidgets. The parent is either a widget or, most of the > > ti

Re: [Development] QML, Widgets, and setParent

2013-11-02 Thread Kevin Krammer
On Saturday, 2013-11-02, 11:25:07, Konrad Rosenbaum wrote: > Hi, > > On Saturday 02 November 2013, Kevin Krammer wrote: > > On Thursday, 2013-10-31, 20:17:43, Konrad Rosenbaum wrote: > > > I've got it running > > > for trivial QML files, however

Re: [Development] QML, Widgets, and setParent

2013-11-02 Thread Kevin Krammer
the Q_ASSERT. > I kind of ran out of ideas on how to solve this. Should I consider > setParent, qqmlvme or the direct use of QWidgets as a bug? I agree with Alan on setParent() being in error, the problem is some other areas rely on that. E.g. QWidget::parentWidget() does a static_cast

Re: [Development] QAction-like API for QML

2012-12-18 Thread Kevin Krammer
awing icons on demand sounds very cumbersome to me. > > That was certainly not what I was trying to suggest. I hope that clarifies > things. :) It does :) It was just that drawing was the only way I could quickly come up with that would create an icon without having to load data from a f

Re: [Development] QAction-like API for QML

2012-12-18 Thread Kevin Krammer
n were shipping icons, most of them as part of their resources, some as files. Both mechanisms which by design load icon data by name, so at least from my empirical data I am quite puzzled to learn that iconName would be sufficient for specifying icons. Drawing icons on demand sounds very c

Re: [Development] QAction-like API for QML

2012-12-17 Thread Kevin Krammer
ne so icons not being loaded by name (from theme, resource or file)? Cheers, Kevin -- Kevin Krammer | kevin.kram...@kdab.com | Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - Qt Experts - Platform-independent sof

Re: [Development] QML Runtime

2012-12-11 Thread Kevin Krammer
On Tuesday, 2012-12-11, Knoll Lars wrote: > On Dec 11, 2012, at 12:15 PM, Kevin Krammer wrote: > > On Tuesday, 2012-12-11, Knoll Lars wrote: > >> On Dec 11, 2012, at 10:47 AM, Kevin Krammer > >> wrote: > >>> If you load a BB10 Cascades application you&#x

Re: [Development] QML Runtime

2012-12-11 Thread Kevin Krammer
On Tuesday, 2012-12-11, Knoll Lars wrote: > On Dec 11, 2012, at 10:47 AM, Kevin Krammer > > wrote: > > On Tuesday, 2012-12-11, Alan Alpert wrote: > >> One big difference would be less flexibility about the invocation. As > >> a debugging tool qmlscene needs to

Re: [Development] QML Runtime

2012-12-11 Thread Kevin Krammer
cascades::Application (which is a direct subclass of QCoreApplication) instantiated. Maybe something like enabling QML plugins to optionally create an application instance plus some heuristics for pure source applications? Cheers, Kevin -- ** Qt Developer Conference: http://qtconference.kdab.c

Re: [Development] QAction-like API for QML

2012-12-11 Thread Kevin Krammer
of the menu entry, the toolbar button and the shortcut to the same custom property. Do you have a specific use case in mind that would require to disable some trigger sources but not all? Cheers, Kevin -- ** Qt Developer Conference: http://qtconference.kdab.com/ ** Kevin Krammer | kevin.kram..

Re: [Development] QML-Development Mailing List

2012-12-10 Thread Kevin Krammer
are often very much aligned with requirements of using those APIs in a scripting context or through language bindings. Cheers, Kevin -- ** Qt Developer Conference: http://qtconference.kdab.com/ ** Kevin Krammer | kevin.kram...@kdab.com | Software Engineer Klarälvdalens Datakonsult AB, a KD

Re: [Development] QJSEngine debuging

2012-11-20 Thread Kevin Krammer
mponent->isLoading()) { I think you can just call component->isError() here, unless your module.qml refers to some QML that is loaded asynchronously. But overall it looks similar to what I have in a project that uses QML in a similar fashion. Cheers, Kevin -- ** Qt Developer Confer

Re: [Development] QJSEngine debuging

2012-11-19 Thread Kevin Krammer
t's debugging > infrastructure. Also, QML is not tied to UI at all. Cheers, Kevin -- ** Qt Developer Conference: http://qtconference.kdab.com/ ** Kevin Krammer | kevin.kram...@kdab.com | Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563

Re: [Development] Summary of renaming changes

2012-10-19 Thread Kevin Krammer
declarative input for processing problems (IIRC there is a QML based cmake frontend prototype). Cheers, Kevin -- ** Qt Developer Conference: http://qtconference.kdab.com/ ** Kevin Krammer | kevin.kram...@kdab.com | Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ)

Re: [Development] QTcpSocket, QLocalSocket, common-use-model?

2012-10-10 Thread Kevin Krammer
uch as QLocalSocket is better access control. Any process (running as any user) on the machine can attempt a connect to a TCP socket on the loopbar device, while e.g. Unix domain sockets can be created such that only processes of the same user can attempt connections. Cheers, Kevin -- ** Qt Dev

Re: [Development] QThread usage/guidance

2012-10-06 Thread Kevin Krammer
states that QTcpSocket instances returned by that method cannot be used from another thread, making either that note very wrong or recommendation of moveToThread() very dangerous. Cheers, Kevin -- ** Qt Developer Conference: http://qtconference.kdab.com/ ** Kevin Krammer | kevin.kram...@kdab.co

Re: [Development] Change / clarification to Maintainer's commit privilege

2012-09-03 Thread Kevin Krammer
t;Maintainers may approve their own change to the code they maintain if" Cheers, Kevin -- Kevin Krammer | kevin.kram...@kdab.com | Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - Qt Experts - Platform-inde