<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<blockquote
cite="mid:0ddcdc8e-3019-f8b7-95ff-3aa77b921a03@gmail.com"
type="cite">
<p><font size="+2"><tt>2. Change Panel's Thickness from client
side<br>
</tt></font></p>
<p><font size="+2"><tt>As I have understood it, the plasma panels
change their thickness only by the user setting its value. I
would like this to be able to be changed from the panel's
client qml codepage. I tried to expose thickness with
Layout.preferredWidth and preferredHeight but this didnt go
quite well because it breaks current implementatation. I
tried containment.implicitWidth... but this isnt exposed at
all. Do you have any ideas how this should be implemented in
order to not break current implementation?</tt></font></p>
<p><font size="+2"><br>
</font></p>
</blockquote>
<p><font size="+2"><tt>for this I found a solution by adding to the
client plasma panelĀ a<br>
</tt></font></p>
<p><font size="+2"><tt>property int thickness /// variable</tt></font></p>
<p><tt><font size="+2">and binding it correctly with the panelview</font><br>
</tt></p>
<br>
<br>
<blockquote
cite="mid:0ddcdc8e-3019-f8b7-95ff-3aa77b921a03@gmail.com"
type="cite">
<p><font size="+2"><tt> </tt></font></p>
<p><font size="+2"><tt>3. "Real" Panel Transparency</tt></font></p>
<p><font size="+2"><tt>Docks are panels that not only have a
visual transparent background but also they pass the mouse
events to go underneath their transparent areas. This is
also the way Plank is doing it. It creates a big window that
for the transparent background leaves all the mouse events
go underneath. I believe plasma panels are Qt windows
managed from KWin, I think Qt is offering this feature by
setting some flags for the window. Do you have any ideas for
this?</tt></font></p>
<br>
</blockquote>
<br>
<p><font size="+2"><tt>for this I found a solution by adding in the
panel view a new variable</tt></font></p>
<p><font size="+2"><tt>QRect m_maskArea<br>
</tt></font></p>
<p><font size="+2"><tt>which is exposed and lets the client code to
set the mask for the panel,</tt></font></p>
<p><font size="+2"><tt>it uses setMask from QWindow...</tt></font></p>
<p><font size="+2"><tt><br>
</tt></font></p>
<p><font size="+2"><tt>what do you think?<br>
</tt></font></p>
<p><font size="+2"><tt><br>
</tt></font></p>
<br>
<br>
</body>
</html>