[Kst] [Bug 124367] copying plots in layout mode leads to chaos

Andrew Walker arwalker at sumusltd.com
Tue Mar 28 00:57:13 CEST 2006


Deleted that line by mistake and will add it back.
Because we should be able to copy/move labels from 
window to window.

On March 27, 2006 2:44 pm, George Staikos wrote:
> > CCBUG:124367 Allow legends to be copied with a plot.
> >
> >  M  +19 -0     kstviewarrow.cpp
> >  M  +2 -0      kstviewarrow.h
> >  M  +21 -0     kstviewbox.cpp
> >  M  +2 -0      kstviewbox.h
> >  M  +15 -0     kstviewellipse.cpp
> >  M  +2 -0      kstviewellipse.h
> >  M  +31 -2     kstviewlabel.cpp
> >  M  +2 -0      kstviewlabel.h
> >  M  +31 -0     kstviewlegend.cpp
> >  M  +2 -0      kstviewlegend.h
> >  M  +19 -1     kstviewline.cpp
> >  M  +2 -0      kstviewline.h
> >  M  +1 -0      kstviewobject.cpp
> >  M  +18 -0     kstviewpicture.cpp
> >  M  +2 -0      kstviewpicture.h
>
>   Why is this doing the following?
>
> --- libkstapp/kstviewline.cpp   (revision 523336)
> +++ libkstapp/kstviewline.cpp   (revision 523337)
> @@ -74,16 +74,34 @@
>    }
>
>    // always these values
> -  setTransparent(true);
>    _type = "Line";
>    setMinimumSize(QSize(1, 1));
>  }
>
> --- libkstapp/kstviewlabel.cpp  (revision 523336)
> +++ libkstapp/kstviewlabel.cpp  (revision 523337)
> @@ -70,7 +70,6 @@
>    _fontName = KstApp::inst()->defaultFont();
>    _fontSize = 0;
>    _absFontSize = _fontSize+KstSettings::globalSettings()->plotFontSize;
> -  _layoutActions &= ~(MoveTo | Copy | CopyTo);
>    _standardActions |= Delete | Edit;
>    _parsed = 0L;
>    _labelMargin = 0;
> @@ -97,7 +96,6 @@
>    _fontName = KstApp::inst()->defaultFont();
>    _fontSize = 0;
>    _absFontSize = _fontSize+KstSettings::globalSettings()->plotFontSize;
> -  _layoutActions &= ~(MoveTo | Copy | CopyTo);
>    _standardActions |= Delete | Edit;
>    _parsed = 0L;
>    reparse();


More information about the Kst mailing list