... | ... | @@ -76,6 +76,19 @@ In the course of finishing any task, you will most likely touch some legacy code |
|
|
- check if function can be made `const` or `static`
|
|
|
|
|
|
|
|
|
# Adding an element to the GUI
|
|
|
|
|
|
Since the GUI implementation might be slightly restructured in the foreseeable future, just a few hints.
|
|
|
|
|
|
* If it opens a new window, this window should have its own UI-File.
|
|
|
* Remember saving and loading everything that should be persistent (Like, if a specific checkbox is checked or not)
|
|
|
* See: `PeTrack::openXml`
|
|
|
* See: `PeTrack::saveXml`
|
|
|
* XML here refers to the .pet-File which is a file in the XML format
|
|
|
* Layouts are important, make sure every Widget is part of one.
|
|
|
* Menu-Entries are in the code, not in the UI-Files
|
|
|
* See `Petrack::createMenus`
|
|
|
* See `Petrack::createActions`
|
|
|
|
|
|
<!---
|
|
|
Copied from todo.txt:
|
... | ... | |