[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:       Mark <markg85 () gmail ! com>
Date:       2011-10-27 12:05:42
Message-ID: CAPd6JnFRph5B8XTKLcyU8bS3qtWUk-dDYz1fp5kFGyjOg8wRjw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Oct 27, 2011 at 1:58 PM, Aaron J. Seigo <aseigo@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 :)

[Attachment #5 (text/html)]

<div class="gmail_quote">On Thu, Oct 27, 2011 at 1:58 PM, Aaron J. Seigo <span \
dir="ltr">&lt;<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;">

<div class="im">On Thursday, October 27, 2011 13:36:27 Mark wrote:<br>
&gt; flag setWindowFlags(Qt::FramelessWindowHint) on the QDeclarativeView object<br>
&gt; which is removing the decorations, but i can&#39;t find the flag to get rid \
of<br> &gt; the taskbar entry. I haven&#39;t searched for it thoroughly yet, but if \
someone<br> &gt; knows that flag...? ;)<br>
<br>
</div>from plasma/desktop/shell/panelcontroller.cpp:<br>
<br>
    KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager |<br>
NET::Sticky | NET::KeepAbove);<br>
<br>
it also does the following which may be useful for you:<br>
<br>
    setAttribute(Qt::WA_DeleteOnClose);<br>
    setFocus(Qt::ActiveWindowFocusReason);<br>
<br>
and you may also wish to do this:<br>
<br>
        KWindowSystem::setOnAllDesktops(dialog-&gt;winId(), true);<br>
<div><div></div><div class="h5"></div></div></blockquote></div><br><div>Ah men i hate \
this.. This is a typical &quot;it&#39;s right under your nose&quot; case :p Thanx for \
helping :)</div>



_______________________________________________
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