<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font size="+1"><tt>Hello everyone,</tt></font></p>
<p><font size="+1"><tt>in NowDock I have managed to subclass a QuickWindow
in order to provide masking and various visibility states for
the dock.</tt></font></p>
<p><font size="+1"><tt>In all the visibility states I am setting for
this subclassed window:</tt></font></p>
<p><font size="+1"><tt>
m_dockWindow->setFlags(Qt::FramelessWindowHint|Qt::WindowDoesNotAcceptFocus);<br>
KWindowSystem::setState(m_dockWindow->winId(),
NET::SkipTaskbar | NET::SkipPager);</tt></font></p>
<p><font size="+1"><tt><br>
</tt></font></p>
<p><font size="+1"><tt>but even though the above code enables me to
make my dock ontop or onbottom when I need it, it doesnt hide
my dock from the "present windows effect" and from the "Alt+Tab".
I tried to use:</tt></font></p>
<p><font size="+1"><tt>
KWindowSystem::setType(m_dockWindow->winId(), NET::Dock);</tt></font></p>
<p><font size="+1"><tt>
m_dockWindow->setFlags(m_dockWindow->flags() ^
(Qt::WindowStaysOnTopHint));</tt></font></p>
<p><font size="+1"><tt><br>
</tt></font></p>
<p><font size="+1"><tt>but it didnt help, the dock is still shown in
the window effects....<br>
</tt></font></p>
<p><font size="+1"><tt>I also tried:</tt></font></p>
<p><font size="+1"><br>
<tt> KWindowSystem::setType(m_dockWindow->winId(),
NET::Dock);</tt></font></p>
<p><font size="+1"><tt>but even though this hides my dock from the
kwin effects it also makes my dock "always on top" and I dont
want this in most of my visibility states...</tt></font></p>
<p><font size="+1"><tt><br>
</tt></font></p>
<p><font size="+1"><tt>any ideas?</tt></font></p>
<p><font size="+1"><tt>regards,</tt></font></p>
<p><font size="+2"><tt><font size="+1">michail</font><br>
</tt></font></p>
<br>
</body>
</html>