<div class="gmail_quote">On Fri, Mar 2, 2012 at 3:35 AM, Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com">notmart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
right now it wasn't possible to write in qml those applets that are always<br>
collapsed to a tiny element, but *not* an icon, like the notifications or the<br>
digital clock.<br>
<br></blockquote><div><br></div><div>Aren't we already doing this thing in battery monitor? Its not collapsed to just</div><div>an icon, and it has a popup. The tiny element (battery status svg) is in the main</div><div>
qml item of the plasmoid, and the popup component (power profiles, screen</div><div>brightness, etc.) is inside a PlasmaCore.Dialog's mainItem. And this is</div><div>without making it a PopupApplet.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
exporting a Component property "compactRepresentation", will use that whatever<br>
widgets and fancy graphics contains as icon and will be always collapsed, just<br>
the same behavior of the c++ ones.<br>
<br></blockquote><div><br></div><div><div>This method does sound like a more convenient way of doing it though.</div></div><div><br></div><div>Cheers,</div><div>Viranch</div><div><br></div></div>