<br><br><div class="gmail_quote">On Mon, Jun 23, 2008 at 1:34 AM, Andreas Pakulat <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I just committed a change to the project treeview which will cause<br>
a problem when using a plain-qt-styles (i.e. not inheriting from KStyle)<br>
due to QTreeView defaulting to the DoubleClickEditTrigger. That means by<br>
default QTreeView will start editing on double-click and not do anything<br>
else (like emitting the activated signal). As we can't control Qt styles<br>
and can't guarantee that people use KDE styles, I think we need to find<br>
another way to fix this. The options as far as I can see are (my<br>
opinions will be in a separate mail):<br>
<br>
- disable in-place-editing of items in the project treeview.<br>
- find an edit-trigger that suits us, possible options are<br>
  "pressing edit key", "pressing any key". I don't think any of the<br>
  other options is usable for a project treeview</blockquote><div>I'd go for right-click + edit when the underlying project manager is editable.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
- install an eventfilter/override the event hooks to have full control<br>
  over how to do that<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
You will always get the greatest recognition for the job you least like.<br>
<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</font></blockquote></div><br>