Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions attribute_assignment/attribute_assignment.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import os
from typing import Callable, Optional

from PyQt5.QtCore import Qt
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import QAction, QWidget
from qgis.PyQt.QtCore import Qt
from qgis.PyQt.QtGui import QIcon
from qgis.PyQt.QtWidgets import QAction, QWidget

from .ui.main.main import MainDialog
from .utils.click_handler import MapClickHandler
Expand Down
7 changes: 4 additions & 3 deletions attribute_assignment/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
name=Attribute Assignment
description=Easy to assign an attribute on QGIS
about=This plugin allows users to quickly assign attribute values to features by clicking on them in the map canvas.
qgisMinimumVersion=3.0
qgisMaximumVersion=3.99
version=3.0.0
qgisMinimumVersion=3.34
qgisMaximumVersion=4.99
version=4.0.0
supportsQt6=True

# Plugin main icon
icon=ui/icon.png
Expand Down
2 changes: 1 addition & 1 deletion attribute_assignment/ui/main/main.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import os
from typing import Optional

from PyQt5.QtWidgets import QDialog, QHBoxLayout
from qgis.gui import QgsEditorWidgetWrapper, QgsGui
from qgis.PyQt import uic
from qgis.PyQt.QtWidgets import QDialog, QHBoxLayout


class MainDialog(QDialog):
Expand Down
2 changes: 1 addition & 1 deletion attribute_assignment/utils/click_handler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from typing import Any, Optional

from PyQt5.QtWidgets import QMessageBox
from qgis.core import (
QgsCoordinateTransform,
QgsFeatureRequest,
Expand All @@ -9,6 +8,7 @@
QgsRectangle,
)
from qgis.gui import QgsMapCanvas, QgsMapMouseEvent, QgsMapTool
from qgis.PyQt.QtWidgets import QMessageBox

from ..ui.main.main import MainDialog

Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[project]
name = "qgis-attributeassignment-plugin"
version = "3.0.0"
version = "4.0.0"
description = "Easy to assign an attribute on QGIS"
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10"
authors = [
{ name = "Yasunori Kirimoto", email = "info@dayjournal.dev" }
]
Expand All @@ -12,6 +12,7 @@ dependencies = []
[dependency-groups]
dev = [
"pyqt5-stubs>=5.15.6.0",
"PyQt6-stubs>=6.4.0.0",
"ruff>=0.14.0",
]

Expand Down
15 changes: 13 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.