File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ State_LED #name_of_led{
232232 }
233233----
234234
235- ==== Handler Patching
235+ ==== Handler Patching - Subclassing Builtin Screens
236236We can have QtVCP load a subclassed version of the standard handler file. in that file we can manipulate the original functions or add new ones. +
237237Subclassing just means our handler file first loads the original handler file and adds our new code on top of it - so a patch of changes. +
238238This is useful for changing/adding behaviour while still retaining standard handler updates from LinuxCNC repositories. +
@@ -242,7 +242,7 @@ See 'custom handler file'
242242
243243There should be a folder in the config folder; for screens: named '<CONFIG FOLDER>/qtvcp/screens/<SCREEN NAME>/' +
244244add the handle patch file there, named like so <ORIGINAL SCREEN NAME>_handler.py +
245- ie for Qtdragon the file would be caller 'qtdragon_handler.py' +
245+ ie for Qtdragon the file would be called 'qtdragon_handler.py' +
246246
247247Here is a sample to add X axis jog pins to a screen like Qtdragon: +
248248
You can’t perform that action at this time.
0 commit comments