WandererFan / FreeCAD-TechDraw

This repo is obsolete. Please use FreeCAD/FreeCAD.
Other
3 stars 1 forks source link

Border visibility independent of text in QGIView? #31

Open ianrrees opened 8 years ago

ianrrees commented 8 years ago

Currently in the QGIView class, the border (bounding box) and text are controlled via the same variable. Do we want this to be separated?

screen shot 2016-02-14 at 9 02 53 pm

Reason I'm wondering is something of a test-case in moving the non-GUI code from Gui/ into App/ - if we need to draw borders only for mouse interaction, then the border-drawing code should live in Gui/, but if we wanted the text to be part of output files, then we'll need it to be in App/.

WandererFan commented 8 years ago

First thought is that View.Label would not be something you'd want on you're finished Drawing most of the time. When you did want some text with you'd use an Annotation.

But Clip has the ability to show a cosmetic border in the final result. Maybe that should be more general.

Maybe a Property?

On Sun, Feb 14, 2016 at 3:04 AM, Ian notifications@github.com wrote:

Currently in the QGIView class, the border (bounding box) and text are controlled via the same variable. Do we want this to be separated?

[image: screen shot 2016-02-14 at 9 02 53 pm] https://cloud.githubusercontent.com/assets/5280982/13032616/63b57fc6-d35e-11e5-9af9-b73c7cdf494e.png

Reason I'm wondering is something of a test-case in moving the non-GUI code from Gui/ into App/ - if we need to draw borders only for mouse interaction, then the border-drawing code should live in Gui/, but if we wanted the text to be part of output files, then we'll need it to be in App/.

— Reply to this email directly or view it on GitHub https://github.com/WandererFan/FreeCAD-TechDraw/issues/31.