[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-community
Subject:    Re: [kde-community] Plasmoids and Apps - was - Re: Applications in KDE Generation 5
From:       Kevin Krammer <krammer () kde ! org>
Date:       2014-01-17 8:21:29
Message-ID: 1602435.gx8f5Ov4my () persephone
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

["signature.asc" (application/pgp-signature)]

_______________________________________________
kde-community mailing list
kde-community@kde.org
https://mail.kde.org/mailman/listinfo/kde-community

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic