Skip to content

Commit

Permalink
Remove imports and unused methods brazil-data-cube#99
Browse files Browse the repository at this point in the history
  • Loading branch information
AbnerErnaniADSFatec committed Jan 10, 2025
1 parent 1c06c68 commit 6564915
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions wtss_plugin/controller/wtss_qgis_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@

"""Python QGIS Plugin for WTSS."""

import datetime

import requests
from pyproj import CRS, Proj, transform
from PyQt5.QtCore import QDate
from PyQt5.QtGui import QStandardItem
from PyQt5.QtWidgets import QInputDialog, QLineEdit, QMessageBox
from wtss import *

Expand All @@ -35,7 +31,6 @@ class Controls:
:methods:
alert
addItemsTreeView
formatForQDate
transformProjection
"""
Expand Down Expand Up @@ -71,18 +66,6 @@ def dialogBox(self, mainDialog, title, text):
else:
return ""

def addItemsTreeView(self, parent, elements):
"""Create a data struct based on QGIS Tree View.
:param parent<QStandardItemModel>: the parent node of data struct.
:param elements<tuple>: list of items in array of tuples.
"""
for text, children in elements:
item = QStandardItem(text)
parent.appendRow(item)
if children:
self.addItemsTreeView(item, children)

def formatForQDate(self, date_string):
"""Return a QDate format.
Expand Down

0 comments on commit 6564915

Please sign in to comment.