Skip to content

Add developer modules for prototyping and hot reloading of UI elements#12

Merged
felixvons merged 10 commits into
mainfrom
common/dev-modules-for-hot-reloading-and-ui-prototyping
Jul 8, 2026
Merged

Add developer modules for prototyping and hot reloading of UI elements#12
felixvons merged 10 commits into
mainfrom
common/dev-modules-for-hot-reloading-and-ui-prototyping

Conversation

@LeonardBuhl

@LeonardBuhl LeonardBuhl commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Needs telekom/qgis_plugin_base#21 to be merged first.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates an example QGIS UI module to automatically resize the window after rebuilding the icon table, aiming to better fit the table’s total column width during prototyping.

Changes:

  • Auto-compute a new window width after resize_cells() based on table header length.
  • Resize the main window to match the computed table width.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread modules/examples/qgis_theme_icons.py Outdated
Copilot AI review requested due to automatic review settings July 6, 2026 11:29
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 7 comments.

Comment thread plugin.py Outdated
Comment thread modules/dev/module_quick_load.py Outdated
Comment thread modules/dev/module_quick_load.py
Comment thread modules/dev/frame_quick_reload.py Outdated
Comment thread modules/dev/frame_quick_reload.py Outdated
Comment thread modules/dev/frame_quick_reload.py Outdated
Comment thread modules/dev/frame_quick_reload.py Outdated
Copilot AI review requested due to automatic review settings July 6, 2026 11:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 5 comments.

Comment thread modules/dev/module_quick_load.py
Comment thread modules/dev/module_quick_load.py
Comment thread modules/dev/module_quick_load.py
Comment thread modules/dev/frame_quick_reload.py Outdated
Comment thread modules/dev/frame_quick_reload.py
Copilot AI review requested due to automatic review settings July 6, 2026 12:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Comment thread modules/dev/module_quick_load.py
Comment thread modules/dev/frame_quick_reload.py Outdated
@LeonardBuhl
LeonardBuhl marked this pull request as draft July 6, 2026 12:43
@LeonardBuhl
LeonardBuhl marked this pull request as ready for review July 8, 2026 14:03
Copilot AI review requested due to automatic review settings July 8, 2026 14:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.

Comment thread modules/dev/module_quick_load.py
Comment thread modules/dev/module_quick_load.py
Comment thread modules/dev/frame_quick_reload.py
Comment thread modules/examples/qgis_theme_icons.py
@felixvons
felixvons merged commit 5183018 into main Jul 8, 2026
3 checks passed
@felixvons
felixvons deleted the common/dev-modules-for-hot-reloading-and-ui-prototyping branch July 8, 2026 14:50
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.

3 participants