Files
create/src/Mod/Draft/drafttaskpanels
Tobias Frost 7a5a3d1ffc spelling fixes (#18688)
* Fixes spelling of "Allow to" to "Allow one to"

and those variants:
Allows to -> Allows one to
allow to -> allow one to
allows to -> allows one to

* Fix "Let's -> Lets"

(and lower case variant.)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update src/3rdParty/salomesmesh/inc/MED_Wrapper.hxx

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Base/PyObjectBase.cpp
Update src/App/ExtensionContainer.h
Update src/App/PropertyContainer.h

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Use gerund in user-facing texts.

* Use gerund for two more user-facing strings.

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

---------

Co-authored-by: Tobias Frost <tobi@debian.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-01-13 11:22:20 -06:00
..
2025-01-13 11:22:20 -06:00
2025-01-13 11:22:20 -06:00
2025-01-13 11:22:20 -06:00

General

2020 May

These files provide the logic behind the "task panels" of the "GuiCommands" defined in draftguitools/.

These files should not have code to create the task panel widgets manually. These interfaces should be properly defined in .ui files made with Qt Designer and placed inside the Resources/ui/ directory.

There are many GUI commands which are "old style" and thus don't have an individual task panel. These commands use the task panel defined in the big DraftGui.py module. This module defines many widgets for many tools, and selectively chooses the widgets to show and to hide depending on the command that is activated.

A big file that controls many widgets at the same time is difficult to handle and to maintain because changing the behavior of one widget may affect the operation of various GUI commands. This must be changed so that in the future each tool has its own individual task panel file, and its own .ui file. Individual files are more maintainable because changes can be done to a single tool without affecting the rest.

For more information see the thread: [Discussion] Splitting Draft tools into their own modules

To do

In the future each tool should have its own individual task panel file, and its own .ui file.

This should be done by breaking DraftGui.py, creating many .ui files, creating many task panel modules, and making sure these modules are used correctly by the GUI commands.