Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem] TechDraw has 2 annotation tools and both are not ideal #12371

Open
2 tasks done
PaddleStroke opened this issue Feb 13, 2024 · 2 comments
Open
2 tasks done

[Problem] TechDraw has 2 annotation tools and both are not ideal #12371

PaddleStroke opened this issue Feb 13, 2024 · 2 comments
Labels
UI/UX WB TechDraw Related to the TechDraw Workbench

Comments

@PaddleStroke
Copy link
Contributor

PaddleStroke commented Feb 13, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

TechDraw annotation dialog UI is very strange. Why not simply using line breaks instead of this exotic + - buttons?

Besides why a dialog in the first place? The user should be able to start edition directly on the annotation.

Problem 2 : TechDraw has 2 annotation tools that seems overlapping. Forum discussion : https://forum.freecad.org/viewtopic.php?t=87441

Full version info

0.22

Subproject(s) affected?

Techdraw

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@luzpaz luzpaz added WB TechDraw Related to the TechDraw Workbench UI/UX labels Feb 13, 2024
@WandererFan
Copy link
Contributor

The 2 tools are essentially "quick, casual, plain text annotation" and "full featured formatted text annotation".

@WandererFan
Copy link
Contributor

This commented code in QGIViewAnnotation should implement "edit directly on the annotation", but it is 8 years old, so no guarantees.

    m_textItem->setTextInteractionFlags(Qt::NoTextInteraction);
    //To allow on screen editing of text:
    //m_textItem->setTextInteractionFlags(Qt::TextEditorInteraction);   //this works
    //QObject::connect(QGraphicsTextItem::document(), SIGNAL(contentsChanged()), m_textItem, SLOT(updateText()));  //not tested

@PaddleStroke PaddleStroke changed the title [Problem] TechDraw annotation shouldn't need a dialog [Problem] TechDraw has 2 annotation tools and both are not ideal May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI/UX WB TechDraw Related to the TechDraw Workbench
Projects
None yet
Development

No branches or pull requests

3 participants