Bug 87987

Summary: Buttons to rotate the ruler
Product: [Applications] kruler Reporter: Fred Schättgen <kdebugtracker.sch>
Component: generalAssignee: Mathias Soeken <soeken>
Status: RESOLVED FIXED    
Severity: wishlist CC: soeken
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Fred Schättgen 2004-08-25 00:25:34 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Debian testing/unstable Packages

How about a little rotate-button on the ruler? Changing the orientation with the context menu is pretty complicated compared to the simplicity of the program itself and shortcuts are hard to memorize.. ok, not not really, but rotate buttons (or just one) would be very conveniant, since it must be rotated quite often.

Or how about a shaped window which is composed of a vertical and a horizontal ruler? Also I don't see what sense the distinct orientations North/South and East/West make. Why not simply showing the ticks on both sides? There is enough space for it.

 __________
|________  |
         | |
         | |  <-- Next-generation ruler prototype
         | |
         |_|
Comment 1 Niels 2004-08-25 01:43:24 UTC
Very good ideas in my opinion. And maybe the ruler could be resized by pulling the edges?
Comment 2 Mathias Soeken 2009-01-27 18:22:09 UTC
SVN commit 917321 by msoeken:

Changing the offset via the mouse wheel is now possible when holding the left mouse button.

When just using the wheel you can resize the ruler pixel by pixel.

When changing offset or length via wheel the new offset and length are displayed in the label on the 
ruler, respectively

CCBUGS: 87987


 M  +42 -8     klineal.cpp  
 M  +1 -0      klineal.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=917321
Comment 3 Mathias Soeken 2009-02-09 09:26:26 UTC
SVN commit 923701 by msoeken:

Add buttons to rotate the ruler (turn left, turn right). The buttons are only visible when hovering over 
the ruler and if they are configured to be visible (default: not visible).

BUGS: 87987


 M  +8 -1      cfg_appearance.ui  
 M  +28 -1     klineal.cpp  
 M  +2 -0      klineal.h  
 M  +4 -0      kruler.kcfg  


WebSVN link: http://websvn.kde.org/?view=rev&revision=923701