[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Some help for recreating the Plasma Tool Box in QML
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2011-10-27 11:58:37
Message-ID: 2022505.NS8Gq3ZN71 () freedom
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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);
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
["signature.asc" (application/pgp-signature)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic