Review Request 109562: When a user has ( in the project name, use an alternative

Kevin Funk krf at gmx.de
Tue Mar 19 07:56:18 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109562/#review29488
-----------------------------------------------------------


Did you try the version as mentioned in http://qt-project.org/faq/answer/how_can_i_modify_the_color_for_individual_words_for_items_in_a_view?
(overwriting QItemDelegate::paint)

It should be much faster than using QTextDocument and a Richtext *and* we could actually use QPalette to color the text.

- Kevin Funk


On March 19, 2013, 1:13 a.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109562/
> -----------------------------------------------------------
> 
> (Updated March 19, 2013, 1:13 a.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Description
> -------
> 
> If there's ( in the project name, use [.
> 
> Then it will look like "Project Name (some thing) [master]".
> 
> 
> Diffs
> -----
> 
>   plugins/projectmanagerview/CMakeLists.txt 93971e2 
>   plugins/projectmanagerview/projectmodelitemdelegate.h PRE-CREATION 
>   plugins/projectmanagerview/projectmodelitemdelegate.cpp PRE-CREATION 
>   plugins/projectmanagerview/projecttreeview.cpp 4f9b5ae 
>   plugins/projectmanagerview/vcsoverlayproxymodel.cpp b414868 
> 
> Diff: http://git.reviewboard.kde.org/r/109562/diff/
> 
> 
> Testing
> -------
> 
> 
> File Attachments
> ----------------
> 
> Result
>   http://git.reviewboard.kde.org/media/uploaded/files/2013/03/18/kdevelop-peoplehaveparenthesisinprojectnames.png
> custom delegate
>   http://git.reviewboard.kde.org/media/uploaded/files/2013/03/19/kdevelop-peoplehaveparenthesisinprojectnames1.png
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130319/8f527666/attachment.html>


More information about the KDevelop-devel mailing list