Review Request: Added ability to save restore splitter state in the ProjectManagerView

Sergey Vidyuk sir.vestnik at gmail.com
Sat Feb 26 16:36:54 UTC 2011



> On Feb. 26, 2011, 12:19 p.m., David Nolden wrote:
> >

I've sent this patch to Milian last saturday but since he is away now I can send it once again to someone else.


- Sergey


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


On Feb. 6, 2011, 9 a.m., Sergey Vidyuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100584/
> -----------------------------------------------------------
> 
> (Updated Feb. 6, 2011, 9 a.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Summary
> -------
> 
> Currently ProjectTreeView and ProjectBuildSet widgets have the same size while the first one usually contains much more items then the second one. Every time when I run kdevelop I adjust the splitter position and then start to work. This patch allows to save the sate of the QSplitter in the ProjectManagerView widget in a session and restore it next time you open this session.
> 
> I've also added defalt strech factors in order to have 75% for the ProjectTreeView and 25% for the ProjectBuildSet for a new sessions.
> 
> 
> Diffs
> -----
> 
>   plugins/projectmanagerview/projectmanagerview.cpp 1149282 
> 
> Diff: http://git.reviewboard.kde.org/r/100584/diff
> 
> 
> Testing
> -------
> 
> The following things are tested manually:
>   1 New session have correct splitter position (75%:25%).
>   2 Splitter position is saved restored correctly for different sessions.
>   3 Sessions created before this patch are loaded correctly and splitter position is set to the default value.
> 
> 
> Thanks,
> 
> Sergey
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110226/4eb7a90b/attachment.html>


More information about the KDevelop-devel mailing list