<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
El 04/29/2008 02:13 PM, Pau Arumí Albó escribió:
<blockquote cite="mid:1209489224.6400.43.camel@casa" type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap=""> - Added a tooltip when moving over the name of processing box (is a
little bit annoying)
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
I like it (i don't know if i'm missing the annoying part). I find it
very useful.
Another related feature i'd like to see is this tooltip when moving over
the processing-tree (the left pane).
</pre>
</blockquote>
I made it in some way, but I don't like it...<br>
<br>
I tried to put it on a paintEvent (the alternative code is commented in
the patch), but I had two problems (I'm so newbie on Qt... could anyone
help me with this?):<br>
- When i create a QPainter object sometimes I got (I need to filter
certain QPaintEvent (s)?):<br>
<blockquote>
<pre class="code" id="codemain"><span class="comment">QPainter::begin: Widget painting can only begin as a result of a paintEvent</span></pre>
</blockquote>
- I didn't know how to update the widget from the OverProcessing
slot, to make it call to paintEvent...<br>
<br>
So, I putted a simple QToolTip::showText direct from the slot.<br>
<br>
(The last days I was finishing some readings about C++... I'll need to
use this next days to read about Qt!...)<br>
<br>
<blockquote cite="mid:1209489224.6400.43.camel@casa" type="cite">
<pre wrap="">[...]
With the minor fixes, this is commitable. But i'd like a next step that
removes the hardcoded attributes "category", "description" and gets all
metadata instead -- using Factory::GetPairsFromKey(...)
</pre>
</blockquote>
I did it. But anyway, I putted some "hardcoded" checks to take away
"icon" attributes, empty values and values equals to the main key name
-i.e. empty descriptions-. Do you think is better now?<br>
<br>
<br>
Best regards,<br>
Natanael.<br>
</body>
</html>