Commit Graph

9 Commits

Author SHA1 Message Date
Jonas Bähr
34b176c1db Remove C++ escaping from *Py.xml templates
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.

Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
marioalexis
3215c8a426 Gui: Improve docstrings in CommandPy.xml 2022-05-16 13:46:24 +02:00
Chris Hennes
2c0a3b9e77 Gui: Add function to search custom commands 2022-02-26 21:06:37 -06:00
Chris Hennes
93836b89a5 GUI: Add Python interface to create custom command 2022-02-14 09:56:24 -06:00
flachyjoe
6ee63c41ce Documents CommandPy.xml and DocumentPy.xml 2021-05-13 13:10:40 +02:00
wmayer
84d730c194 Gui: [skip ci] add method to return list of QAction of a Command 2020-11-23 16:49:25 +01:00
mwganson
0f7c1b82b5 [Gui::CommandPy] add new command resetShortcut() -- resets shortcut to default 2020-08-06 11:29:07 +02:00
mwganson
e4208dadc7 [Gui Commands] new command: listCommandsByShortcut(string) -- returns a python list of all commands that are using the shortcut. Search is case-insensitive and ignores spaces 2020-08-02 21:09:36 +02:00
wmayer
73f89f8cf0 Gui: [skip ci] move Python functions for commands to its own class 2020-08-02 20:50:43 +02:00