Some help for recreating the Plasma Tool Box in QML

Mark markg85 at gmail.com
Thu Oct 27 12:05:42 UTC 2011


On Thu, Oct 27, 2011 at 1:58 PM, Aaron J. Seigo <aseigo at kde.org> wrote:

> On Thursday, October 27, 2011 13:36:27 Mark wrote:
> > flag setWindowFlags(Qt::FramelessWindowHint) on the QDeclarativeView
> object
> > which is removing the decorations, but i can't find the flag to get rid
> of
> > the taskbar entry. I haven't searched for it thoroughly yet, but if
> someone
> > knows that flag...? ;)
>
> from plasma/desktop/shell/panelcontroller.cpp:
>
>    KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager |
> NET::Sticky | NET::KeepAbove);
>
> it also does the following which may be useful for you:
>
>    setAttribute(Qt::WA_DeleteOnClose);
>    setFocus(Qt::ActiveWindowFocusReason);
>
> and you may also wish to do this:
>
>        KWindowSystem::setOnAllDesktops(dialog->winId(), true);
>

Ah men i hate this.. This is a typical "it's right under your nose" case :p
Thanx for helping :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111027/7e4777ab/attachment.html>


More information about the Plasma-devel mailing list