0
I Use This!
Activity Not Available

Commits : Listings

Analyzed over 1 year ago. based on code collected about 4 years ago.
Jan 17, 2021 — Jan 17, 2022
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
PythonCAD/Interface/Gtk/gtkimage.py: Add SelectTool, DeselectTool, and PasteTool to GTKImage::__inittool dictionary. PythonCAD/Interface/Gtk/gtkmenus.py: Remove explict calls of paste_mode_init(), select_mode_init(), and deselect_mode_init(). More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkedit.py: Rework select_mode_init(), deselecte_mode_init(), and paste_mode_init() to take a 'gtkimage' argument and make current 'tool' argument optional; change callers where necessary; move calls of gtkimage.setPrompt() to these functions from their previous location in gtkmenu callbacks. PythonCAD/Interface/Gtk/gtkmenus.py: Use new SelectTool, DeselectTool, and PasteTool classes in appropriate callbacks; adjust callers of select_mode_init(), deselect_mode_init(), and paste_mode_init() as necessary. More... almost 19 years ago
PythonCAD/Generic/tools.py: Add new PasteTool, SelectTool, and DeselectTool classes. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Add tools.PlotTool to the __inittool dictionary. PythonCAD/Interface/Gtk/gtkmenus.py: Remove explicit call to plot_mode_init(). More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkprinting.py: Rework _show_print_dialog() to make 'tool' argument optional and get tool via gtkimage.getImage().getTool() and remove 'tool' argument from plot_mode_init() call; change plot_mode_init() by making 'tool' argument optional and get tool via gtkimage.getImage().getTool(). More... almost 19 years ago
PythonCAD/Generic/prompt.py: Add back 'zoomd' as a valid command. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Add ZoomTool to GTKImage::__inittool dictionary. PythonCAD/Interface/Gtk/gtkmenus.py: Remove explicit call to zoom_init(). More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkmodify.py: Rework zoom_init() to take a 'gtkimage' argument and make 'tool' argument optional;; adjust zoom_end_button_press() call to zoom_init() PythonCAD/Interface/Gtk/gtkmenus.py: Adjust call of zoom_init() in zoom_cb(). More... almost 19 years ago
PythonCAD/Generic/tools.py: Add new ZoomTool class. More... almost 19 years ago
PythonCAD/Generic/keywords.py: Add 'adim', 'rdim', 'hdim', 'vdim', and 'ldim' keywords - these will create various Dimension tools. PythonCAD/Generic/prompt.py: Add the new keywords above and the appropriate tool to the dictionary. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Add the various Dimension creating tools to the GTKImage::__inittool dictionary. PythonCAD/Interface/Gtk/gtkmenus.py: Remove explicit calls to Dimension tool init() routines; remove 'import' of gtkdimension module as it is not necessary now. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkdimension.py: Change add_dimension() so the current tool is obtained via gtkimage.getImage().getTool(); change the various init()-esque functions to take a 'gtkimage' argument and make the 'tool' argument optional; move various calls of gtkimage.setPrompt() from the gtkmenu callbacks to the appropriate init() function. PythonCAD/Interface/Gtk/gtkmenus.py: Change the callbacks for creating Dimensions to conform to the changes above; remove some setPrompt() calls as they are now done in the init() function. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Rework command handling by testing the result of the 'prompt.lookup' call and creating and installing the returned Tool if it is not 'None'. More... almost 19 years ago
PythonCAD/Generic/prompt.py: Start reworking the prompt handling - remove deprecated function, change lookup() to return a value in the dictionary or 'None', change the dictionary by adjusting the values to be various Tool subclasses, and add needed 'import' statement. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkmenus.py: Remove 'import' of 'gtkmirror' module now that things are set up via the 'tool_changed' message in GTKImage. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkmirror.py: Fix call to mirror_mode_init() by passing correct argument. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Add tools.MirrorTool to the GTKImage::__inittool dictionary. PythonCAD/Interface/Gtk/gtkmenus.py: Simplify the callback for the mirror menubutton. PythonCAD/Interface/Gtk/gtkmirror.py: Change mirror_mode_init() to take a 'gtkimage' argument and make the 'tool' argument optional, set the prompt here and get the tool via gtkimage.getImage().getTool(). More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkmenus.py: Change menu callbacks for transfer, rotate, split and delete operations; adjust transfer callback by creating a new TransferTool. PythonCAD/Interface/Gtk/gtkmodify.py: Set prompt in delete_mode_init(); fix typo in stretch_horizontal_init(); set prompt in split_mode_init(); rework transfer_object_init() to accept a 'gtkimage' argument and make 'tool' argument optional and use gtkimage.getImage().getTool() to get the active tool. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Remove MirrorTool from __inittool as the init() function needs fixing. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Add tools for Transfer, Rotate, Split, Mirror, and Delete operations to GTKImage::__inittool dictionary. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkmenus.py: Remove calls to the init() functions for the stretch/move menu callbacks. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Add tools for moving and stretching to GTKImage::__inittool dict. More... almost 19 years ago
PythonCAD/Generic/tools.py: Add new TransferTool class. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Add PerpendicularCLineTool and TangentCLineTool tools and appropriate init() functions to the GTKImage::__inittool dictionary. PythonCAD/Interface/Gtk/gtkmenus.py: Change menu callbacks for creating perpendicular and tangent construction lines - create new PerpendicularCLineTool and TangentCLineTool instances, delete setting the prompt and calling the tool init() function. More... almost 19 years ago
PythonCAD/Generic/tools.py: Simplify the FilletTool and ChamferTool; add new (and simple) PerpendicularCLineTool and TangentCLine tool classes. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Use new ChamferTool and FilletTool classes in the __inittool dictionary. PythonCAD/Interface/Gtk/gtkmenus.py: Remove explicit call to init() functions for menu callbacks for chamfer/fillet creation. More... almost 19 years ago
PythonCAD/Generic/tools.py: Add new ChamferTool() and FilletTool() classes. Both are derived from Tool but add nothing new (yet) ... More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Add tools.TextTool and init function to __initttools; remove the bail-out 'False' from __imageToolChanged(). PythonCAD/Interface/Gtk/gtkmenus. Change all menu callbacks which have tools listed in GTKImage::__inittool by removing the call to the appropriate init()-esque function. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkimage.py: Change 'import' statement of 'tools' module; add class-variable '__inittool'; connect to 'tool_changed' message from attached Image and add GTKImage::__imageToolChanged() handler. More... almost 19 years ago
PythonCAD/Interface/Gtk/gtkmodify.py: Change all init()-esque function with a 'gtkimage' and 'tool' argument to make 'tool' optional and get the active tool via gtkimage.getImage().getTool(). More... almost 19 years ago