Skip to content

Conversation

Tirpitz93
Copy link

I have taken your plugin and made what I believe are some usability improvements.
Please feel free to look over them and merge if you feel they have merit.

  • Now support floats instead of integers.
  • Now used the mouse wheel to rotate the rectangle if shift is held.
  • stores plugin settings with QgsSettings
  • Adds preset sizes and ability to save your own presets with labels.
  • adds 3 edit boxes to the toolbar for quicker adjusting of sizes.
  • saves attributes to the layer if the fields rotation, width, height are present in the layer, (any combination can be omitted).
  • Catches python exceptions to prevent QGIS crashes.

Tirpitz93 and others added 26 commits October 12, 2024 23:01
Adds preset sizes, creation, deletion and use.
saves settings to the QGIS settings.
allows use of float values instead of integers.
blindly catches most errors so that QGIS crashes are less likely.
This update checks if rotation, width, and height fields exist and sets them to corresponding values from the configuration. Ensures new features in the layer have these attributes correctly populated.
Replace new dict update `|=` with dictionary update for settings changes. This ensures compatibility and corrects potential issues with settings merging.
Updated metadata to reflect the rebranded plugin 'BetterQRectangleCreator'. Enhanced usability with new features such as grid snapping, mouse wheel rotation, and preset saving. Updated author details and repository links accordingly.
Updated metadata to reflect the rebranded plugin 'BetterQRectangleCreator'. Enhanced usability with new features such as grid snapping, mouse wheel rotation, and preset saving. Updated author details and repository links accordingly.
Updated metadata to reflect the rebranded plugin 'BetterQRectangleCreator'. Enhanced usability with new features such as grid snapping, mouse wheel rotation, and preset saving. Updated author details and repository links accordingly.
Updated metadata to reflect the rebranded plugin 'BetterQRectangleCreator'. Enhanced usability with new features such as grid snapping, mouse wheel rotation, and preset saving. Updated author details and repository links accordingly.
Removed direct item removal from preset dropdown and added a new `update_dropdown` method. The update process now clears the dropdown and re-populates it with current presets, preserving the current selection if it still exists.
Replaced the full URL of the demo GIF with a relative path to ensure the image loads correctly regardless of the repository location. This change improves portability and consistency across different environments.
Incremented version to 0.5 in metadata.txt. Added changelog entry to mention the fix for the gif in the readme.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant