[Kst] [Bug 108027] New view objects for annotating and drawing

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Wed Jun 29 14:57:58 CEST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=108027         




------- Additional Comments From netterfield astro utoronto ca  2005-06-29 14:57 -------
As a supplement to George's description of structure changes, I have submitted  
a brief overvies of the UI for plots and view objects.  I will include it 
here for good luck as well...

Plot UI 
 
ToolBar 
There should be two pull down icon menus forming a radio pair in the tool bar:  
* one selects the 2d plot zoom modes,  
* Contains XY, X, and Y zoom icons 
* the other selects object manipulation modes.   
* Contains Select, Text, Line, Arrow, Box, Ellipse.  Biezer, poly-line and 
polygon are optional. 
* The last icon selected from the list is the one which shows.   
 
Zoom Modes (XY, X and Y zoom modes) 
2d plot modes which are only valid for 2d plots.  The current behavior of 
these there modes is correct, though the toolbar icon handling will change as 
described above. 
 
Modes selected from the data-manipulation toolbar icon: 
For all of these modes, the right button menu should include: 
.... 
Select Mode: 
 Used to move and edit any data view object.  An enhancement to layout mode. 
* A single click on a view object pops up the objects edit dialog. (eg, 
PlotDialog for plot, labeldialog for labels, etc) 
* A drag on a view object moves the object. 
* If a view object is dragged to become completely contained in another view 
object, it becomes a child of the containing object, and then drags and 
scales with the containing onject. 
* A drag on the edge of, or the hot point of a data object changes the 
object's geometry. 
* The top-most object with pixels drawn in the mouse target area (~20% of the 
mouse's size) is the one which is selected. 
* The mouse icon will change depending on where it is 
* By default the mouse icon is the standard arrow 
* When a drag would cause a move, the mouse icon is the standard 4 arrow mouse 
move icon 
* When a drag would move a hot point, the mouse returns to an arrow icon, and 
the hot point box is filled. 
* Visual feedback as to what object will be selected will be given by showing 
the hotpoints or by drawing a dashed bounding box as follows: 
* Plots: A dashed rectangle around the outside, as currently in layout mode 
* Rectangles: Same as plots 
* Text: Dashed box around the text 
* Lines and poly-lines: Hot points at each end and each vertex 
* Ellipse: Hot point at the center and at both sides of the widest and 
narrowest sections.  Dragging the hot points can change the scaling and 
orientation of the ellipse. 
 
Text Mode 
* Icon changes to the text | icon. 
* Clicking on text calls up the text edit dialog. 
* Otherwise, clicking calls up a text dialog for entry. 
 
Line/Arrow Line modes: 
* The line goes from the first click to the second click. 
* The line is drawn from the first click to the mouse until the 2nd click. 
* <Esc> cancels the line. 
* For arrows, the head is at the 2nd click. 
* An arrow is just a line with the 2nd arrow head shown by default.  A line 
can be turned to an arrow or an arrow to a line in the dialog. 
 
PolyLine/Polygon: 
* Arrow Icon 
* First and each subsequent click adds a node. 
* The lines are drawn as we go.  A line is drawn from the previous node to the 
mouse icon. 
* <Esc> ends the line with the last node. 
* Double click ends the line at the location of the double click. 
* For Polygons, once ended, a line is drawn from the first point to the last 
point. 
 
Ellipse: 
* Arrow Icon 
* First click is at centre. 
* Second is at radius. 
* The circle is drawn as the mouse is moved. 
* <Esc> cancels the circle. 
* To convert to an ellipse, Select mode must be used. 
 
Dialogs: 
* Line Mode and arrow mode contains: width, type, color, and arrow head 
properties (check box for 1st head, 2nd head, and a scale factor). 
* Polyline contains: width, type, color 
* Polygon contains width, type, line color, fill color 
* Ellipse contains width, type, line color, and a check box to make it a 
circle


More information about the Kst mailing list