Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Draft: add README files to explain the new structure
- Loading branch information
1 parent
e66f86c
commit 3ccffc1
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
2020 February | ||
|
||
These files define the GuiCommands, that is, actions called in a graphical | ||
way, either buttons, menu entries, or context commands. | ||
|
||
These tools should be split from the big `DraftTools.py` module. | ||
|
||
These tools are initialized by `InitGui.py`, and require the graphical | ||
interface to exist. | ||
|
||
Those commands that require a "task panel" call the respective module | ||
and class in `drafttaskpanels/`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
2020 February | ||
|
||
At the moment these object functions aren't used. | ||
|
||
When the Draft tools are eventually split into individual modules, | ||
the code of the object creation functions should be placed here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
2020 February | ||
|
||
These files provide the logic behind the task panel of the GuiCommands | ||
defined in `draftguitools/`. | ||
|
||
The task panel graphical interface is properly defined in | ||
the `Resources/ui/` files, which are made with QtCreator. | ||
|
||
There are many commands which aren't defined in `draftguitools/`. | ||
These are defined in the big `DraftGui.py` module, which needs to be split | ||
into individual GuiCommands, and each should have its own dedicated | ||
`.ui` file. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
2020 February | ||
|
||
At the moment these view providers aren't used at all. | ||
|
||
When the Draft tools are eventually split into individual modules, | ||
the code of the view providers should be placed here. | ||
|