Ok! Wait that for me to finish the preferences tab and we can rebase and merge.yorik wrote: ↑Mon Mar 23, 2020 1:13 pm Thanks @carlopav! I think it's perfect way to go. I can merge 3227 already but it has merge conflicts.. Can you have a look?
About the interface, this looks good to me... We can still think of something better later on if more tools need to go to the status bar.
[merged] Draft Statusbar
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Draft Statusbar
follow my experiments on BIM modelling for architecture design
Re: Draft Statusbar
I don't want to ruin the fun, but could we postpone #3227 until after #3082?
I'm not against the status bar, it's just that #3082 has many small changes all over the the new draft modules like gui_snaps and gui_snapper. These are mostly PEP8 changes, some movement of the order of the imports, and addition of docstrings. Adding Carlo's branch at this moment will cause a ton of conflicts that will take a while to correct.
These are some relevant commits in #3082. Carlo, if you can manually integrate these changes then rebasing is going to be much easier. Of course, some of the cleanup work no longer applies to Carlo's branch because of the new code.
gui_snapper
https://github.com/FreeCAD/FreeCAD/pull ... 03bbf373e1
https://github.com/FreeCAD/FreeCAD/pull ... c1f7750be0
https://github.com/FreeCAD/FreeCAD/pull ... 215866f672
gui_snaps
https://github.com/FreeCAD/FreeCAD/pull ... 97d741cc66
An alternative would be to remove these commits from #3082, and place them inside another branch, so that there are no major conflicts. Then later on they could be merged in a separate commit.
Last edited by vocx on Thu Apr 09, 2020 6:08 pm, edited 1 time in total.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Draft Statusbar
No problem to me!
follow my experiments on BIM modelling for architecture design
Re: Draft Statusbar
Here is the proposed modification of Draft Preferences.
By the way, do I have to do something to add a new panel in Draft user preferences?
By the way, do I have to do something to add a new panel in Draft user preferences?
follow my experiments on BIM modelling for architecture design
Re: Draft Statusbar
Check the InitGui.py
Code: Select all
FreeCADGui.addPreferencePage(":/ui/preferences-draft.ui", QT_TRANSLATE_NOOP("Draft", "Draft"))
FreeCADGui.addPreferencePage(":/ui/preferences-draftsnap.ui", QT_TRANSLATE_NOOP("Draft", "Draft"))
FreeCADGui.addPreferencePage(":/ui/preferences-draftvisual.ui", QT_TRANSLATE_NOOP("Draft", "Draft"))
FreeCADGui.addPreferencePage(":/ui/preferences-drafttexts.ui", QT_TRANSLATE_NOOP("Draft", "Draft"))
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Draft Statusbar
What is the status of this?
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Re: Draft Statusbar
Hi, the PR was pending because of the massive reorganization of the Draft code vocx is carrying on.
Last conflicting commits of him were merged day before yesterday, so I was thinking to rebase my PRs next days to let Yorik evaluate the code.
follow my experiments on BIM modelling for architecture design
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Draft Statusbar
Thanks for answer
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Re: Draft Statusbar
PR 3228 was merged right now! thanks to everyone for the effort
follow my experiments on BIM modelling for architecture design
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: [merged] Draft Statusbar
Thanks everyone is it default or need to activate from preferences?
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum