LeaderLine and RichTextAnno Alpha Release
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
LeaderLine and RichTextAnno Alpha Release
Preliminary(alpha) versions of TechDraw_LeaderLine and TechDraw_RichTextBlock are available in master branch.
There is a lot of new code and changed code involved with these 2 tools, so testing is required and bug reports are welcome.
Known issues:
- "not a mouseGrabber" message
--- safe to ignore
- Leader does not always appear after document load
--- recompute or touch leader in tree
- no add/delete node function when editing line
- RT editor needs better integration
---- font, fontSize, maxWidth, etc from ViewProvider
- parent child relationship in tree are not perfect
- assigning RTA to Leader after creation
--- connection not created without save/restore
- cannot trigger editors by double click in graphics area
Thanks for the Rich Text editor go to:
** Copyright (C) 2013 Jiří Procházka (Hobrasoft)
** Contact: http://www.hobrasoft.cz/
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
wf
Known issues:
- "not a mouseGrabber" message
--- safe to ignore
- Leader does not always appear after document load
--- recompute or touch leader in tree
- no add/delete node function when editing line
- RT editor needs better integration
---- font, fontSize, maxWidth, etc from ViewProvider
- parent child relationship in tree are not perfect
- assigning RTA to Leader after creation
--- connection not created without save/restore
- cannot trigger editors by double click in graphics area
Thanks for the Rich Text editor go to:
** Copyright (C) 2013 Jiří Procházka (Hobrasoft)
** Contact: http://www.hobrasoft.cz/
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
wf
Re: LeaderLine and RichTextAnno Alpha Release
I did test your work. It looks good.
I don't know if it is what you said here:
I don't know if it is what you said here:
but I find something. At some point I ended edition by double clicking. Then, I couldn't move the view anymore: Plus in RT dialog box, I couldn't find "Save" and "Close": Franck.- parent child relationship in tree are not perfect
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: LeaderLine and RichTextAnno Alpha Release
I suspect the bounding rect for the leader is covering the view completely. I confess I tested mostly with more traditional looking leaders. Will have to change the leader bRect calculation to follow the line like we do for Edges.
2 Top left buttons. They are blank in your screen capture. Are the really blank? What platform are you on?Plus in RT dialog box, I couldn't find "Save" and "Close":
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: LeaderLine and RichTextAnno Alpha Release
Save and Exit (document-save and window-close) are supposed to be theme icons.
Can you see the icons for text foreground color and text background color? They are regular icons in Gui/Resources/icons.
Can you see the icons for text foreground color and text background color? They are regular icons in Gui/Resources/icons.
Re: LeaderLine and RichTextAnno Alpha Release
Sorry. Where I can download this version?
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project
Re: LeaderLine and RichTextAnno Alpha Release
In Gui/Resources/icons/MRTE, I only have icons for text foreground color and text background color. I couldn't find others anywhere.wandererfan wrote: ↑Mon May 06, 2019 5:29 pm Can you see the icons for text foreground color and text background color? They are regular icons in Gui/Resources/icons.
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: LeaderLine and RichTextAnno Alpha Release
A little more investigation reveals that the "from theme" option in QtDesigner only works under certain conditions. So I'll have to find real icons for the word processing functions and put them in the resource file.
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: LeaderLine and RichTextAnno Alpha Release
Icons sorted and merged. Thanks to @fjullien for testing.
wf
wf
Re: LeaderLine and RichTextAnno Alpha Release
Hi. Thanks for these new features. But in windows, the "Edit points" of DrawLeaderLine does not work.
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16687 (Git)
Build type: Release
Branch: master
Hash: ff1fb11af15a7c5f7f0ba3ef79588e128f397c2c
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Australia (en_AU)
OS: Windows 10Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16687 (Git)
Build type: Release
Branch: master
Hash: ff1fb11af15a7c5f7f0ba3ef79588e128f397c2c
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Australia (en_AU)
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project