On 01/-10/-28163 11:59 AM, Marco Martin wrote:
Hey, guys:On Thu, Dec 8, 2011 at 7:09 AM, Guillaume DE BURE <guillaume.deb...@gmail.com> wrote:Hi there,Is it possible to use KLocale in QML ? Specifically, I need the formatMoney method. Looked in the doc and in various QML examples, but couldn't find information.still not. possible no. what would need is probably a c++ plugin, klocale object instantiable from qml that exposes all those methods. sounds like a good task, even a jj since even if pretty long would be quite trivial to do. Cheers, Marco Martin I quote from Morten Sorvig, who posted this to developm...@qt-project.org just a few hours ago: I think that you 'smarter-then-me' guys might want to nominate this API for inclusion there. Quickly. Along with any number of other other KDE components which are "missing from Qt, but present in KDE, and NOT generic enough to migrate into Qt itself".Hello fellow Trolls,Those of you that follow the commits on Gerrit closely may have noticed the new QPlatformTheme API and wondered what it is. In short, the QPlatformTheme API is there to support deeper platform integration, indepentently of QPlatformIntegration. Examples of (current) QPlatformIntegration plugins: xcb, wayland, cocoa, windows Examples of (possible) QPlatformTheme plugins: kde, gtk, genericunix, cocoa, windows Notice that for some platforms the integration and theme plugins are tightly coupled. This is up to the platform. The QPlatformTheme API will be drawn from several sources in Qt 4: * Various Q_WS ifdefs (system menus, native file/color/font dialogs) * QGuiPlatformPlugin * QPlatformMenuBar QPlatformTheme currently has API for dialogs and system menus. Which APIs belong in QPlatformTheme is up for debate; we want to share as many platform abstractions as possible between QtWidgets and QtQuick, but at the same time some of the APIs might be to tied to the QWidget world. Morten |
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel