[kde-community] Plasmoids and Apps - was - Re: Applications in KDE Generation 5

Kevin Krammer krammer at kde.org
Fri Jan 17 08:21:29 GMT 2014


On Thursday, 2014-01-16, 22:54:43, Albert Astals Cid wrote:
> El Dijous, 16 de gener de 2014, a les 22:13:58, Kevin Krammer va escriure:
> > On Thursday, 2014-01-16, 22:07:17, Albert Astals Cid wrote:

> > > Can you start it from the command line?
> > 
> > plasma-windowed can be run from the commandline, e.g.
> > plasma-windowed org.kde.networkmanagement
> 
> That's a bit too long vs "kcalc", but i guess you could always install a
> shell script file in /usr/bin/kcalc that just runs "plasma-windowed
> org.kde.calculator" inside.

Right. Or I imagine that there could be a PlasmaAppletView class or similar 
that can be used in a small launcher executable

int main(..)
{
    // create app
    PlasmaAppletViewer viewer("org.kde.calc");
    viewer.show();
    
    return app.exec();
}

> So basically there's no difference between a plasmoid and a non-plasmoid?

Not in this case. Aaron mentioned that the stand-alone case might need some 
extras like menu support.

> If that's the case, I don't understand why John started the discussion if we
> should favor plasmoids over non-plasmoids or viceversa since it seems to me
> "plasmoid or not" is an implementation detail.

I guess is was mostly a question of UI technology being used. However, this 
becomes less and less a separation factor. An application core that was 
designed for QML based UI can be used unchanged in a widget UI, QtQuick UI, 
Plasma UI, BB10/Cascades UI, etc.

The videos of the talks of this year's Qt DevDays will hopefully be uploaded 
soon, Tobias König and I demonstrated that with a simple app, using widgets 
and BB10/Cascades as the two UIs :)

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-community/attachments/20140117/7dc976e9/attachment.sig>


More information about the kde-community mailing list