Optimizations for data wizard for cases with thousands/tens of thousands
of fields.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1300975 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Ascii source optimization:
Don't re-open and re-read the file for every field.

This is about a 10x speedup for wide files.  Now all fields from files
with 10k + columns are easily readable (~3s on my laptop) in fixed with
per column mode.

It scales a little faster than n, but not as n^2.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1301214 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Save/use arrow head property defaults.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1301720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Don't invert Z order of viewItems which are direct children of the View.

Fixes Nicolas' bug "Arrows lose their z-order when saved and reloaded"


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1301721 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
'Save as defaults' for labels saves the font family as well.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1301727 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Respect Bold or Italic if selected in the dialog.  It now gets 'or'ed
with 'latex' requests like \Textbf{...} instead of being overridden.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1301729 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Clicking 'set as default' enables apply in view item dialogs.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1301730 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
When leaving edit multiple mode, take the check boxes out of tristate
mode.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1301731 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Make sure to reset render contect font size if the label ends with a
superscript or subscript.

Fixes the 'polynomial label' bug.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1301738 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Allow SVG and pixmap view objects to have adjustable aspect ratios.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1301739 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
For arrows, use the pen colour as the brush colour.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1301744 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Line and arrow dimensions were sometimes very off when opened in the
dialog.  This fixes it.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1302005 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Line item dialog did not allow 'lock to data' mode to be turned off.
This fixes that.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1302006 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Fix saving and loading lines when they are the child of a plot,
so that they are reloaded in the right place.

There still seems to be an issue when they are the child of a box
though...


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1302557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Finish fixing save/reload of lines and arrows.

It turns out that qgraphicsitem_cast doesn't work unless one defiles
type().  Which we don't, except for ViewItem.  Furthermore, it won't
ever work for polymorphic casts, so if we did implement type() for all
viewitems, then a qgraphicsitem_cast to a parent item would not work.

So: use plain old dynamic_cast for run type type ID of anything which
inherits from ViewItem.  OTOH, testing for ViewItem using
qgraphicsitem_cast still works fine and can stay as it is.

Moral: kst uses RTTI, and has to, at least for now.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1302619 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-Fix apply button in view item dialogs (including labels).
-Add ability to set left or right alignment point for labels in creator.
-Make alignment defaults work in label dialog.
-Add a help window for label formatting.



git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1303760 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Add licence...


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1303761 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Make sure the correct context menu is always shown.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1303996 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Close all windows when the main window is closed.


git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4@1303997 283d02a7-25f6-0310-bc7c-ecb5cbfe19da