Review Request: Add a document list context menu button right to main tab bar

André Stein andre.stein at rwth-aachen.de
Fri Nov 9 15:20:39 UTC 2012


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

(Updated Nov. 9, 2012, 3:20 p.m.)


Review request for KDevelop.


Changes
-------

Possible bugfix: Just change the Action trigger slot. This will have the simpler code in the update function at cost of a linear search to lookup the QWidget*. As a click is a very rare event I think it's tolerable to have a better readable code.


Description
-------

This request adds a little button to the right of the tab bar. It activates a context menu which shows (in sorted order) all currently open documents and opens the selected document upon click. This is a feature I miss from Visual Studio. I do know that it's redundant to the Documents view panel but I think it allows a quicker access to files - especially when a lot files are open in the IDE. As it is very small button I think it does no harm to users who don't want to use it.


Diffs (updated)
-----

  sublime/container.cpp c85ce0a 

Diff: http://git.reviewboard.kde.org/r/107170/diff/


Testing
-------

Manual testing.


Screenshots
-----------

Button
  http://git.reviewboard.kde.org/r/107170/s/814/
Context menu shown on button click
  http://git.reviewboard.kde.org/r/107170/s/809/


Thanks,

André Stein

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20121109/3ec918dc/attachment.html>


More information about the KDevelop-devel mailing list