riogisoffline 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- riogisoffline-0.0.1/PKG-INFO +22 -0
- riogisoffline-0.0.1/pyproject.toml +23 -0
- riogisoffline-0.0.1/riogisoffline/LICENSE +21 -0
- riogisoffline-0.0.1/riogisoffline/Makefile +224 -0
- riogisoffline-0.0.1/riogisoffline/README.md +8 -0
- riogisoffline-0.0.1/riogisoffline/__init__.py +52 -0
- riogisoffline-0.0.1/riogisoffline/compile.bat +7 -0
- riogisoffline-0.0.1/riogisoffline/dialog/riogis_dialog_settings.ui +92 -0
- riogisoffline-0.0.1/riogisoffline/dialog/riogis_dockwidget.ui +206 -0
- riogisoffline-0.0.1/riogisoffline/icon.png +0 -0
- riogisoffline-0.0.1/riogisoffline/metadata.txt +56 -0
- riogisoffline-0.0.1/riogisoffline/pb_tool.cfg +59 -0
- riogisoffline-0.0.1/riogisoffline/plugin/__ini__.py +1 -0
- riogisoffline-0.0.1/riogisoffline/plugin/azure_blob_storage_connection.py +35 -0
- riogisoffline-0.0.1/riogisoffline/plugin/dependency_installer.py +14 -0
- riogisoffline-0.0.1/riogisoffline/plugin/refresh_map.py +422 -0
- riogisoffline-0.0.1/riogisoffline/plugin/resources.py +1952 -0
- riogisoffline-0.0.1/riogisoffline/plugin/riogis.py +435 -0
- riogisoffline-0.0.1/riogisoffline/plugin/riogis_dockedwidget.py +41 -0
- riogisoffline-0.0.1/riogisoffline/plugin/settings_dialog.py +39 -0
- riogisoffline-0.0.1/riogisoffline/plugin/syncronizer.py +211 -0
- riogisoffline-0.0.1/riogisoffline/plugin/user_settings_generator.py +64 -0
- riogisoffline-0.0.1/riogisoffline/plugin/utils.py +89 -0
- riogisoffline-0.0.1/riogisoffline/plugin/worker.py +33 -0
- riogisoffline-0.0.1/riogisoffline/plugin_upload.py +126 -0
- riogisoffline-0.0.1/riogisoffline/pylintrc +281 -0
- riogisoffline-0.0.1/riogisoffline/requirements.txt +1 -0
- riogisoffline-0.0.1/riogisoffline/resources.qrc +5 -0
- riogisoffline-0.0.1/riogisoffline/settings.json +104 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: riogisoffline
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: This Exports attributes of a given feature to a Wincan consumable text file.
|
|
5
|
+
Author-email: Vann- og avløpsetaten Oslo kommune <gis@vav.oslo.kommune.no>
|
|
6
|
+
Requires-Python: >=3.7
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Project-URL: Homepage, https://github.com/pypa/riogisoffline
|
|
12
|
+
Project-URL: Issues, https://github.com/pypa/riogisoffline/issues
|
|
13
|
+
|
|
14
|
+
QGIS plugin exports attributes of a given feature to a Norwegian module of WinCan VX.
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
# Acknowledgments
|
|
19
|
+
* [QGIS](https://github.com/qgis/QGIS)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["flit_core >=3.2,<4"]
|
|
3
|
+
build-backend = "flit_core.buildapi"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "riogisoffline"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "This Exports attributes of a given feature to a Wincan consumable text file."
|
|
9
|
+
authors = [
|
|
10
|
+
{ name = "Vann- og avløpsetaten Oslo kommune", email = "gis@vav.oslo.kommune.no" },
|
|
11
|
+
]
|
|
12
|
+
license = { file = "riogisoffline/LICENSE" }
|
|
13
|
+
readme = "riogisoffline/README.md"
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"License :: OSI Approved :: MIT License",
|
|
17
|
+
"Operating System :: OS Independent",
|
|
18
|
+
]
|
|
19
|
+
requires-python = ">=3.7"
|
|
20
|
+
|
|
21
|
+
[project.urls]
|
|
22
|
+
"Homepage" = "https://github.com/pypa/riogisoffline"
|
|
23
|
+
"Issues" = "https://github.com/pypa/riogisoffline/issues"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Joseph Kariuki
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
#################################################
|
|
2
|
+
# Edit the following to match your sources lists
|
|
3
|
+
#################################################
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
#Add iso code for any locales you want to support here (space separated)
|
|
7
|
+
# default is no locales
|
|
8
|
+
# LOCALES = af
|
|
9
|
+
LOCALES =
|
|
10
|
+
|
|
11
|
+
# If locales are enabled, set the name of the lrelease binary on your system. If
|
|
12
|
+
# you have trouble compiling the translations, you may have to specify the full path to
|
|
13
|
+
# lrelease
|
|
14
|
+
#LRELEASE = lrelease
|
|
15
|
+
#LRELEASE = lrelease-qt4
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# translation
|
|
19
|
+
SOURCES = \
|
|
20
|
+
__init__.py \
|
|
21
|
+
riogis.py riogis_dialog.py
|
|
22
|
+
|
|
23
|
+
PLUGINNAME = riogis
|
|
24
|
+
|
|
25
|
+
PY_FILES = \
|
|
26
|
+
__init__.py \
|
|
27
|
+
riogis.py riogis_dialog.py
|
|
28
|
+
|
|
29
|
+
UI_FILES = riogis_dialog_base.ui
|
|
30
|
+
|
|
31
|
+
EXTRAS = metadata.txt icon.png
|
|
32
|
+
|
|
33
|
+
EXTRA_DIRS =
|
|
34
|
+
|
|
35
|
+
COMPILED_RESOURCE_FILES = resources.py
|
|
36
|
+
|
|
37
|
+
PEP8EXCLUDE=pydev,resources.py,conf.py,third_party,ui
|
|
38
|
+
|
|
39
|
+
# QGISDIR points to the location where your plugin should be installed.
|
|
40
|
+
# This varies by platform, relative to your HOME directory:
|
|
41
|
+
# * Linux:
|
|
42
|
+
# .local/share/QGIS/QGIS3/profiles/default/python/plugins/
|
|
43
|
+
# * Mac OS X:
|
|
44
|
+
# Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
|
|
45
|
+
# * Windows:
|
|
46
|
+
# AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins'
|
|
47
|
+
|
|
48
|
+
QGISDIR=~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/
|
|
49
|
+
|
|
50
|
+
#################################################
|
|
51
|
+
# Normally you would not need to edit below here
|
|
52
|
+
#################################################
|
|
53
|
+
|
|
54
|
+
HELP = help/build/html
|
|
55
|
+
|
|
56
|
+
PLUGIN_UPLOAD = $(c)/plugin_upload.py
|
|
57
|
+
|
|
58
|
+
RESOURCE_SRC=$(shell grep '^ *<file' resources.qrc | sed 's@</file>@@g;s/.*>//g' | tr '\n' ' ')
|
|
59
|
+
|
|
60
|
+
.PHONY: default
|
|
61
|
+
default:
|
|
62
|
+
@echo While you can use make to build and deploy your plugin, pb_tool
|
|
63
|
+
@echo is a much better solution.
|
|
64
|
+
@echo A Python script, pb_tool provides platform independent management of
|
|
65
|
+
@echo your plugins and runs anywhere.
|
|
66
|
+
@echo You can install pb_tool using: pip install pb_tool
|
|
67
|
+
@echo See https://g-sherman.github.io/plugin_build_tool/ for info.
|
|
68
|
+
|
|
69
|
+
compile: $(COMPILED_RESOURCE_FILES)
|
|
70
|
+
|
|
71
|
+
%.py : %.qrc $(RESOURCES_SRC)
|
|
72
|
+
pyrcc5 -o $*.py $<
|
|
73
|
+
|
|
74
|
+
%.qm : %.ts
|
|
75
|
+
$(LRELEASE) $<
|
|
76
|
+
|
|
77
|
+
test: compile transcompile
|
|
78
|
+
@echo
|
|
79
|
+
@echo "----------------------"
|
|
80
|
+
@echo "Regression Test Suite"
|
|
81
|
+
@echo "----------------------"
|
|
82
|
+
|
|
83
|
+
@# Preceding dash means that make will continue in case of errors
|
|
84
|
+
@-export PYTHONPATH=`pwd`:$(PYTHONPATH); \
|
|
85
|
+
export QGIS_DEBUG=0; \
|
|
86
|
+
export QGIS_LOG_FILE=/dev/null; \
|
|
87
|
+
nosetests -v --with-id --with-coverage --cover-package=. \
|
|
88
|
+
3>&1 1>&2 2>&3 3>&- || true
|
|
89
|
+
@echo "----------------------"
|
|
90
|
+
@echo "If you get a 'no module named qgis.core error, try sourcing"
|
|
91
|
+
@echo "the helper script we have provided first then run make test."
|
|
92
|
+
@echo "e.g. source run-env-linux.sh <path to qgis install>; make test"
|
|
93
|
+
@echo "----------------------"
|
|
94
|
+
|
|
95
|
+
deploy: compile doc transcompile
|
|
96
|
+
@echo
|
|
97
|
+
@echo "------------------------------------------"
|
|
98
|
+
@echo "Deploying plugin to your .qgis2 directory."
|
|
99
|
+
@echo "------------------------------------------"
|
|
100
|
+
# The deploy target only works on unix like operating system where
|
|
101
|
+
# the Python plugin directory is located at:
|
|
102
|
+
# $HOME/$(QGISDIR)/python/plugins
|
|
103
|
+
mkdir -p $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
|
|
104
|
+
cp -vf $(PY_FILES) $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
|
|
105
|
+
cp -vf $(UI_FILES) $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
|
|
106
|
+
cp -vf $(COMPILED_RESOURCE_FILES) $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
|
|
107
|
+
cp -vf $(EXTRAS) $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
|
|
108
|
+
cp -vfr i18n $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
|
|
109
|
+
cp -vfr $(HELP) $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)/help
|
|
110
|
+
# Copy extra directories if any
|
|
111
|
+
(foreach EXTRA_DIR,(EXTRA_DIRS), cp -R (EXTRA_DIR) (HOME)/(QGISDIR)/python/plugins/(PLUGINNAME)/;)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
# The dclean target removes compiled python files from plugin directory
|
|
115
|
+
# also deletes any .git entry
|
|
116
|
+
dclean:
|
|
117
|
+
@echo
|
|
118
|
+
@echo "-----------------------------------"
|
|
119
|
+
@echo "Removing any compiled python files."
|
|
120
|
+
@echo "-----------------------------------"
|
|
121
|
+
find $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME) -iname "*.pyc" -delete
|
|
122
|
+
find $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME) -iname ".git" -prune -exec rm -Rf {} \;
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
derase:
|
|
126
|
+
@echo
|
|
127
|
+
@echo "-------------------------"
|
|
128
|
+
@echo "Removing deployed plugin."
|
|
129
|
+
@echo "-------------------------"
|
|
130
|
+
rm -Rf $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
|
|
131
|
+
|
|
132
|
+
zip: deploy dclean
|
|
133
|
+
@echo
|
|
134
|
+
@echo "---------------------------"
|
|
135
|
+
@echo "Creating plugin zip bundle."
|
|
136
|
+
@echo "---------------------------"
|
|
137
|
+
# The zip target deploys the plugin and creates a zip file with the deployed
|
|
138
|
+
# content. You can then upload the zip file on http://plugins.qgis.org
|
|
139
|
+
rm -f $(PLUGINNAME).zip
|
|
140
|
+
cd $(HOME)/$(QGISDIR)/python/plugins; zip -9r $(CURDIR)/$(PLUGINNAME).zip $(PLUGINNAME)
|
|
141
|
+
|
|
142
|
+
package: compile
|
|
143
|
+
# Create a zip package of the plugin named $(PLUGINNAME).zip.
|
|
144
|
+
# This requires use of git (your plugin development directory must be a
|
|
145
|
+
# git repository).
|
|
146
|
+
# To use, pass a valid commit or tag as follows:
|
|
147
|
+
# make package VERSION=Version_0.3.2
|
|
148
|
+
@echo
|
|
149
|
+
@echo "------------------------------------"
|
|
150
|
+
@echo "Exporting plugin to zip package. "
|
|
151
|
+
@echo "------------------------------------"
|
|
152
|
+
rm -f $(PLUGINNAME).zip
|
|
153
|
+
git archive --prefix=$(PLUGINNAME)/ -o $(PLUGINNAME).zip $(VERSION)
|
|
154
|
+
echo "Created package: $(PLUGINNAME).zip"
|
|
155
|
+
|
|
156
|
+
upload: zip
|
|
157
|
+
@echo
|
|
158
|
+
@echo "-------------------------------------"
|
|
159
|
+
@echo "Uploading plugin to QGIS Plugin repo."
|
|
160
|
+
@echo "-------------------------------------"
|
|
161
|
+
$(PLUGIN_UPLOAD) $(PLUGINNAME).zip
|
|
162
|
+
|
|
163
|
+
transup:
|
|
164
|
+
@echo
|
|
165
|
+
@echo "------------------------------------------------"
|
|
166
|
+
@echo "Updating translation files with any new strings."
|
|
167
|
+
@echo "------------------------------------------------"
|
|
168
|
+
@chmod +x scripts/update-strings.sh
|
|
169
|
+
@scripts/update-strings.sh $(LOCALES)
|
|
170
|
+
|
|
171
|
+
transcompile:
|
|
172
|
+
@echo
|
|
173
|
+
@echo "----------------------------------------"
|
|
174
|
+
@echo "Compiled translation files to .qm files."
|
|
175
|
+
@echo "----------------------------------------"
|
|
176
|
+
@chmod +x scripts/compile-strings.sh
|
|
177
|
+
@scripts/compile-strings.sh $(LRELEASE) $(LOCALES)
|
|
178
|
+
|
|
179
|
+
transclean:
|
|
180
|
+
@echo
|
|
181
|
+
@echo "------------------------------------"
|
|
182
|
+
@echo "Removing compiled translation files."
|
|
183
|
+
@echo "------------------------------------"
|
|
184
|
+
rm -f i18n/*.qm
|
|
185
|
+
|
|
186
|
+
clean:
|
|
187
|
+
@echo
|
|
188
|
+
@echo "------------------------------------"
|
|
189
|
+
@echo "Removing uic and rcc generated files"
|
|
190
|
+
@echo "------------------------------------"
|
|
191
|
+
rm $(COMPILED_UI_FILES) $(COMPILED_RESOURCE_FILES)
|
|
192
|
+
|
|
193
|
+
doc:
|
|
194
|
+
@echo
|
|
195
|
+
@echo "------------------------------------"
|
|
196
|
+
@echo "Building documentation using sphinx."
|
|
197
|
+
@echo "------------------------------------"
|
|
198
|
+
cd help; make html
|
|
199
|
+
|
|
200
|
+
pylint:
|
|
201
|
+
@echo
|
|
202
|
+
@echo "-----------------"
|
|
203
|
+
@echo "Pylint violations"
|
|
204
|
+
@echo "-----------------"
|
|
205
|
+
@pylint --reports=n --rcfile=pylintrc . || true
|
|
206
|
+
@echo
|
|
207
|
+
@echo "----------------------"
|
|
208
|
+
@echo "If you get a 'no module named qgis.core' error, try sourcing"
|
|
209
|
+
@echo "the helper script we have provided first then run make pylint."
|
|
210
|
+
@echo "e.g. source run-env-linux.sh <path to qgis install>; make pylint"
|
|
211
|
+
@echo "----------------------"
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
# Run pep8 style checking
|
|
215
|
+
#http://pypi.python.org/pypi/pep8
|
|
216
|
+
pep8:
|
|
217
|
+
@echo
|
|
218
|
+
@echo "-----------"
|
|
219
|
+
@echo "PEP8 issues"
|
|
220
|
+
@echo "-----------"
|
|
221
|
+
@pep8 --repeat --ignore=E203,E121,E122,E123,E124,E125,E126,E127,E128 --exclude $(PEP8EXCLUDE) . || true
|
|
222
|
+
@echo "-----------"
|
|
223
|
+
@echo "Ignored in PEP8 check:"
|
|
224
|
+
@echo $(PEP8EXCLUDE)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
QGIS plugin exports attributes of a given feature to a Norwegian module of WinCan VX.
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# Acknowledgments
|
|
6
|
+
* [QGIS](https://github.com/qgis/QGIS)
|
|
7
|
+
|
|
8
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
/***************************************************************************
|
|
5
|
+
RioGIS Offline
|
|
6
|
+
En QGIS plugin
|
|
7
|
+
Denne modulen er ment spesifikt for et kartlag i typen RioGIS. Den vil
|
|
8
|
+
kun hente spesifikke attributter knyttet til RioGIS modellen.
|
|
9
|
+
Attributtene eksporteres så i et wincan motakelig text format.
|
|
10
|
+
-------------------
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
***************************************************************************/
|
|
16
|
+
|
|
17
|
+
/***************************************************************************
|
|
18
|
+
* Alle står fritt til å bruke denne plugin, men den vil ikke gi noe *
|
|
19
|
+
* verdi uten selve RioGIS bakenden. *
|
|
20
|
+
* *
|
|
21
|
+
* *
|
|
22
|
+
* *
|
|
23
|
+
* *
|
|
24
|
+
***************************************************************************/
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
# noinspection PyPep8Naming
|
|
28
|
+
def classFactory(iface): # pylint: disable=invalid-name
|
|
29
|
+
"""
|
|
30
|
+
Handle directory path environment variable and depencdecies, then load RioGIS from file riogis.
|
|
31
|
+
|
|
32
|
+
:param iface: A QGIS interface instance.
|
|
33
|
+
:type iface: QgsInterface
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
# Initialize plugin directory path
|
|
37
|
+
import os
|
|
38
|
+
pdir = os.path.dirname(__file__)
|
|
39
|
+
os.environ['PLUGIN_DIR'] = pdir
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# Install requirements
|
|
43
|
+
try:
|
|
44
|
+
import azure
|
|
45
|
+
except:
|
|
46
|
+
from riogisoffline.plugin.dependency_installer import DependencyInstaller
|
|
47
|
+
deps = DependencyInstaller()
|
|
48
|
+
deps.install_requirements()
|
|
49
|
+
|
|
50
|
+
# Run program
|
|
51
|
+
from riogisoffline.plugin.riogis import RioGIS
|
|
52
|
+
return RioGIS(iface)
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<ui version="4.0">
|
|
3
|
+
<class>Dialog</class>
|
|
4
|
+
<widget class="QDialog" name="Dialog">
|
|
5
|
+
<property name="geometry">
|
|
6
|
+
<rect>
|
|
7
|
+
<x>0</x>
|
|
8
|
+
<y>0</y>
|
|
9
|
+
<width>650</width>
|
|
10
|
+
<height>211</height>
|
|
11
|
+
</rect>
|
|
12
|
+
</property>
|
|
13
|
+
<property name="windowTitle">
|
|
14
|
+
<string>Dialog</string>
|
|
15
|
+
</property>
|
|
16
|
+
<layout class="QFormLayout" name="formLayout">
|
|
17
|
+
<item row="1" column="0">
|
|
18
|
+
<widget class="QLabel" name="label_2">
|
|
19
|
+
<property name="text">
|
|
20
|
+
<string><html><head/><body><p>Navn på operatør:</p></body></html></string>
|
|
21
|
+
</property>
|
|
22
|
+
</widget>
|
|
23
|
+
</item>
|
|
24
|
+
<item row="1" column="1">
|
|
25
|
+
<widget class="QLineEdit" name="lineOperator"/>
|
|
26
|
+
</item>
|
|
27
|
+
<item row="2" column="0">
|
|
28
|
+
<widget class="QLabel" name="label_3">
|
|
29
|
+
<property name="text">
|
|
30
|
+
<string><html><head/><body><p>Azure connection string:</p></body></html></string>
|
|
31
|
+
</property>
|
|
32
|
+
</widget>
|
|
33
|
+
</item>
|
|
34
|
+
<item row="2" column="1">
|
|
35
|
+
<widget class="QLineEdit" name="lineAzurekey"/>
|
|
36
|
+
</item>
|
|
37
|
+
<item row="4" column="0">
|
|
38
|
+
<widget class="QLabel" name="label_4">
|
|
39
|
+
<property name="text">
|
|
40
|
+
<string>URL bakgrunnskart:</string>
|
|
41
|
+
</property>
|
|
42
|
+
</widget>
|
|
43
|
+
</item>
|
|
44
|
+
<item row="4" column="1">
|
|
45
|
+
<widget class="QLineEdit" name="lineBGURL"/>
|
|
46
|
+
</item>
|
|
47
|
+
<item row="5" column="0">
|
|
48
|
+
<widget class="QLabel" name="label">
|
|
49
|
+
<property name="text">
|
|
50
|
+
<string><html><head/><body><p>Velg en mappe hvor </p><p>filene skal plasseres:</p></body></html></string>
|
|
51
|
+
</property>
|
|
52
|
+
</widget>
|
|
53
|
+
</item>
|
|
54
|
+
<item row="5" column="1">
|
|
55
|
+
<widget class="QgsFileWidget" name="usersettingsPath">
|
|
56
|
+
<property name="storageMode">
|
|
57
|
+
<enum>QgsFileWidget::GetDirectory</enum>
|
|
58
|
+
</property>
|
|
59
|
+
</widget>
|
|
60
|
+
</item>
|
|
61
|
+
<item row="6" column="1">
|
|
62
|
+
<widget class="QPushButton" name="btnSubmitSettingsFile">
|
|
63
|
+
<property name="maximumSize">
|
|
64
|
+
<size>
|
|
65
|
+
<width>382</width>
|
|
66
|
+
<height>16777215</height>
|
|
67
|
+
</size>
|
|
68
|
+
</property>
|
|
69
|
+
<property name="text">
|
|
70
|
+
<string>Opprett fil</string>
|
|
71
|
+
</property>
|
|
72
|
+
</widget>
|
|
73
|
+
</item>
|
|
74
|
+
<item row="0" column="0" colspan="2">
|
|
75
|
+
<widget class="QLabel" name="label_6">
|
|
76
|
+
<property name="text">
|
|
77
|
+
<string><html><head/><body><p>Azure-innlogging og URL til database og bakgrunnskart får du fra Faggruppen Systemforvaltning</p></body></html></string>
|
|
78
|
+
</property>
|
|
79
|
+
</widget>
|
|
80
|
+
</item>
|
|
81
|
+
</layout>
|
|
82
|
+
</widget>
|
|
83
|
+
<customwidgets>
|
|
84
|
+
<customwidget>
|
|
85
|
+
<class>QgsFileWidget</class>
|
|
86
|
+
<extends>QWidget</extends>
|
|
87
|
+
<header>qgsfilewidget.h</header>
|
|
88
|
+
</customwidget>
|
|
89
|
+
</customwidgets>
|
|
90
|
+
<resources/>
|
|
91
|
+
<connections/>
|
|
92
|
+
</ui>
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<ui version="4.0">
|
|
3
|
+
<class>RioGIS2</class>
|
|
4
|
+
<widget class="QgsDockWidget" name="RioGIS2">
|
|
5
|
+
<property name="geometry">
|
|
6
|
+
<rect>
|
|
7
|
+
<x>0</x>
|
|
8
|
+
<y>0</y>
|
|
9
|
+
<width>296</width>
|
|
10
|
+
<height>735</height>
|
|
11
|
+
</rect>
|
|
12
|
+
</property>
|
|
13
|
+
<property name="styleSheet">
|
|
14
|
+
<string notr="true">QWidget{
|
|
15
|
+
margin: 0 10px;
|
|
16
|
+
}
|
|
17
|
+
QPushButton, QComboBox{
|
|
18
|
+
padding: 2px 4px;
|
|
19
|
+
}</string>
|
|
20
|
+
</property>
|
|
21
|
+
<property name="windowTitle">
|
|
22
|
+
<string>gsDockWidget</string>
|
|
23
|
+
</property>
|
|
24
|
+
<widget class="QWidget" name="dockWidgetContents">
|
|
25
|
+
<layout class="QGridLayout" name="gridLayout">
|
|
26
|
+
<item row="8" column="1" colspan="2">
|
|
27
|
+
<widget class="Line" name="line_2">
|
|
28
|
+
<property name="orientation">
|
|
29
|
+
<enum>Qt::Horizontal</enum>
|
|
30
|
+
</property>
|
|
31
|
+
</widget>
|
|
32
|
+
</item>
|
|
33
|
+
<item row="13" column="1" colspan="2">
|
|
34
|
+
<widget class="QLabel" name="lblSelectCleaned">
|
|
35
|
+
<property name="text">
|
|
36
|
+
<string>Rengjort:</string>
|
|
37
|
+
</property>
|
|
38
|
+
</widget>
|
|
39
|
+
</item>
|
|
40
|
+
<item row="19" column="2">
|
|
41
|
+
<widget class="QPushButton" name="btnSelectMapClick">
|
|
42
|
+
<property name="text">
|
|
43
|
+
<string>+</string>
|
|
44
|
+
</property>
|
|
45
|
+
</widget>
|
|
46
|
+
</item>
|
|
47
|
+
<item row="21" column="1" colspan="2">
|
|
48
|
+
<widget class="QLabel" name="textLedningValgt">
|
|
49
|
+
<property name="text">
|
|
50
|
+
<string>Ingen ledning er valgt</string>
|
|
51
|
+
</property>
|
|
52
|
+
</widget>
|
|
53
|
+
</item>
|
|
54
|
+
<item row="10" column="1" colspan="2">
|
|
55
|
+
<widget class="QComboBox" name="cmbSelectWeather"/>
|
|
56
|
+
</item>
|
|
57
|
+
<item row="18" column="1" colspan="2">
|
|
58
|
+
<widget class="QComboBox" name="cmbSelectStatus"/>
|
|
59
|
+
</item>
|
|
60
|
+
<item row="7" column="2">
|
|
61
|
+
<widget class="QPushButton" name="btnReset">
|
|
62
|
+
<property name="text">
|
|
63
|
+
<string>Last kart</string>
|
|
64
|
+
</property>
|
|
65
|
+
</widget>
|
|
66
|
+
</item>
|
|
67
|
+
<item row="22" column="2">
|
|
68
|
+
<widget class="QPushButton" name="btnEksport">
|
|
69
|
+
<property name="text">
|
|
70
|
+
<string>Eksporter WinCan-fil...</string>
|
|
71
|
+
</property>
|
|
72
|
+
</widget>
|
|
73
|
+
</item>
|
|
74
|
+
<item row="11" column="1" colspan="2">
|
|
75
|
+
<widget class="QLabel" name="lblSelectPurpose">
|
|
76
|
+
<property name="text">
|
|
77
|
+
<string>Inspeksjonsformål:</string>
|
|
78
|
+
</property>
|
|
79
|
+
</widget>
|
|
80
|
+
</item>
|
|
81
|
+
<item row="24" column="1" colspan="2">
|
|
82
|
+
<widget class="Line" name="line">
|
|
83
|
+
<property name="orientation">
|
|
84
|
+
<enum>Qt::Horizontal</enum>
|
|
85
|
+
</property>
|
|
86
|
+
</widget>
|
|
87
|
+
</item>
|
|
88
|
+
<item row="15" column="1" colspan="2">
|
|
89
|
+
<widget class="QLabel" name="lblSelectStandard">
|
|
90
|
+
<property name="text">
|
|
91
|
+
<string>Inspeksjonsstandard:</string>
|
|
92
|
+
</property>
|
|
93
|
+
</widget>
|
|
94
|
+
</item>
|
|
95
|
+
<item row="17" column="1" colspan="2">
|
|
96
|
+
<widget class="QLabel" name="label_2">
|
|
97
|
+
<property name="text">
|
|
98
|
+
<string>Ny status:</string>
|
|
99
|
+
</property>
|
|
100
|
+
</widget>
|
|
101
|
+
</item>
|
|
102
|
+
<item row="6" column="1">
|
|
103
|
+
<widget class="QLabel" name="label_3">
|
|
104
|
+
<property name="text">
|
|
105
|
+
<string>Last ned kartdata</string>
|
|
106
|
+
</property>
|
|
107
|
+
</widget>
|
|
108
|
+
</item>
|
|
109
|
+
<item row="12" column="1" colspan="2">
|
|
110
|
+
<widget class="QComboBox" name="cmbSelectPurpose"/>
|
|
111
|
+
</item>
|
|
112
|
+
<item row="27" column="2">
|
|
113
|
+
<widget class="QPushButton" name="btnSelectSettingsFile">
|
|
114
|
+
<property name="text">
|
|
115
|
+
<string>Legg til bruker-info...</string>
|
|
116
|
+
</property>
|
|
117
|
+
</widget>
|
|
118
|
+
</item>
|
|
119
|
+
<item row="28" column="2">
|
|
120
|
+
<spacer name="horizontalSpacer">
|
|
121
|
+
<property name="orientation">
|
|
122
|
+
<enum>Qt::Horizontal</enum>
|
|
123
|
+
</property>
|
|
124
|
+
<property name="sizeHint" stdset="0">
|
|
125
|
+
<size>
|
|
126
|
+
<width>40</width>
|
|
127
|
+
<height>20</height>
|
|
128
|
+
</size>
|
|
129
|
+
</property>
|
|
130
|
+
</spacer>
|
|
131
|
+
</item>
|
|
132
|
+
<item row="9" column="1" colspan="2">
|
|
133
|
+
<widget class="QLabel" name="lblSelectWeather">
|
|
134
|
+
<property name="text">
|
|
135
|
+
<string>Avrenning:</string>
|
|
136
|
+
</property>
|
|
137
|
+
</widget>
|
|
138
|
+
</item>
|
|
139
|
+
<item row="7" column="1">
|
|
140
|
+
<widget class="QLabel" name="label_4">
|
|
141
|
+
<property name="text">
|
|
142
|
+
<string>Last kart på nytt</string>
|
|
143
|
+
</property>
|
|
144
|
+
</widget>
|
|
145
|
+
</item>
|
|
146
|
+
<item row="2" column="1" colspan="2">
|
|
147
|
+
<widget class="QLabel" name="label_6">
|
|
148
|
+
<property name="text">
|
|
149
|
+
<string><html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:600;">RioGIS 2 - Eksporter til WinCan</span></p></body></html></string>
|
|
150
|
+
</property>
|
|
151
|
+
</widget>
|
|
152
|
+
</item>
|
|
153
|
+
<item row="26" column="1" colspan="2">
|
|
154
|
+
<widget class="QLabel" name="textBrukerInfo">
|
|
155
|
+
<property name="text">
|
|
156
|
+
<string><html><head/><body><p><span style=" color:#e20000;">Ingen bruker-info er satt! </span></p><p><span style=" color:#e20000;">Trykk på </span><span style=" font-weight:600; color:#e20000;">&quot;Legg til bruker-info...&quot;</span><span style=" color:#e20000;"> for å legge til. </span></p></body></html></string>
|
|
157
|
+
</property>
|
|
158
|
+
</widget>
|
|
159
|
+
</item>
|
|
160
|
+
<item row="28" column="1">
|
|
161
|
+
<spacer name="verticalSpacer">
|
|
162
|
+
<property name="orientation">
|
|
163
|
+
<enum>Qt::Vertical</enum>
|
|
164
|
+
</property>
|
|
165
|
+
<property name="sizeHint" stdset="0">
|
|
166
|
+
<size>
|
|
167
|
+
<width>20</width>
|
|
168
|
+
<height>40</height>
|
|
169
|
+
</size>
|
|
170
|
+
</property>
|
|
171
|
+
</spacer>
|
|
172
|
+
</item>
|
|
173
|
+
<item row="16" column="1" colspan="2">
|
|
174
|
+
<widget class="QComboBox" name="cmbSelectStandard"/>
|
|
175
|
+
</item>
|
|
176
|
+
<item row="6" column="2">
|
|
177
|
+
<widget class="QPushButton" name="btnSync">
|
|
178
|
+
<property name="text">
|
|
179
|
+
<string>Synkroniser</string>
|
|
180
|
+
</property>
|
|
181
|
+
</widget>
|
|
182
|
+
</item>
|
|
183
|
+
<item row="14" column="1" colspan="2">
|
|
184
|
+
<widget class="QComboBox" name="cmbSelectPrewashed"/>
|
|
185
|
+
</item>
|
|
186
|
+
<item row="19" column="1">
|
|
187
|
+
<widget class="QLabel" name="label">
|
|
188
|
+
<property name="text">
|
|
189
|
+
<string>Velg ledning i kart:</string>
|
|
190
|
+
</property>
|
|
191
|
+
</widget>
|
|
192
|
+
</item>
|
|
193
|
+
</layout>
|
|
194
|
+
</widget>
|
|
195
|
+
</widget>
|
|
196
|
+
<customwidgets>
|
|
197
|
+
<customwidget>
|
|
198
|
+
<class>QgsDockWidget</class>
|
|
199
|
+
<extends>QDockWidget</extends>
|
|
200
|
+
<header>qgsdockwidget.h</header>
|
|
201
|
+
<container>1</container>
|
|
202
|
+
</customwidget>
|
|
203
|
+
</customwidgets>
|
|
204
|
+
<resources/>
|
|
205
|
+
<connections/>
|
|
206
|
+
</ui>
|
|
Binary file
|