Skip to content

add a GUI standalone app#67

Merged
3nids merged 20 commits intomainfrom
gui
Feb 24, 2026
Merged

add a GUI standalone app#67
3nids merged 20 commits intomainfrom
gui

Conversation

@3nids
Copy link
Copy Markdown
Member

@3nids 3nids commented Feb 24, 2026

image

This is basically the main functionnality from the QGIS plugin

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds a standalone GUI application for managing PostgreSQL connection service files, porting functionality from the existing QGIS plugin to work as a standalone application.

Changes:

  • Adds PyQt6-based GUI with service list, settings editor, and file management capabilities
  • Introduces service settings definitions with widget type metadata for GUI rendering
  • Implements Qt compatibility layer to support both QGIS plugin and standalone usage

Reviewed changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
pyproject.toml Adds gui optional dependency (PyQt6) and console script entry point
pgserviceparser/service_settings.py Defines PostgreSQL service settings with metadata for GUI editors including widget types and validation
pgserviceparser/gui/init.py GUI module initialization with Qt import
pgserviceparser/gui/main.py Entry point for standalone GUI application
pgserviceparser/gui/compat.py Qt compatibility shim supporting both qgis.PyQt and PyQt6
pgserviceparser/gui/main_window.py Main application window wrapper
pgserviceparser/gui/setting_model.py Qt model for service configuration table with dirty tracking
pgserviceparser/gui/item_delegates.py Custom delegates for password, file, and combobox editors
pgserviceparser/gui/service_widget.py Main widget for listing, creating, editing, and removing services

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

Comment thread pgserviceparser/gui/service_widget.py
Comment thread pgserviceparser/gui/service_widget.py
Comment thread pgserviceparser/gui/service_widget.py
Comment thread pgserviceparser/gui/service_widget.py
Comment thread pgserviceparser/gui/setting_model.py
Comment thread pgserviceparser/gui/service_widget.py
Comment thread pgserviceparser/gui/service_widget.py
Comment thread pgserviceparser/gui/__main__.py
Comment thread pgserviceparser/gui/service_widget.py
Comment thread pgserviceparser/service_settings.py Outdated
@3nids 3nids requested a review from gacarrillor February 24, 2026 16:49
Comment thread pgserviceparser/gui/images/remove.svg Outdated
Comment thread .python-version Outdated
@3nids 3nids merged commit 2bba576 into main Feb 24, 2026
5 checks passed
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