Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implementovat auto-zoom na vyber #2

Open
landam opened this issue Feb 9, 2016 · 0 comments
Open

implementovat auto-zoom na vyber #2

landam opened this issue Feb 9, 2016 · 0 comments

Comments

@landam
Copy link
Contributor

landam commented Feb 9, 2016

V tomto pripade by chtelo doimplementovat i dialog nastaveni, kde by se tato volba dala deaktivovat.

@landam landam transferred this issue from ctu-geoforall-lab/qgis-vfk-plugin-old Feb 15, 2021
landam added a commit that referenced this issue Feb 15, 2021
* apply qgis2to3, see #2
* update metadata.txt to qgis3, see #2
* update resources file to qt5, see #2
* fix another qgis2to3 issue, see #2
* Rewriting code for QGIS 3 part 1
Undertaken steps:
- importing some modules and classes in due to splitting the original ones (QtGui > QtGui, QtWidget)
- renaming some QGIS API 3.x classes
Result:
- plugin can be started in QGIS 3
- VFK file can be imported
* Update README.md
* Decoding UTF-8
ad vfkTableModel.py:
- in Python 3 no longer needed "prefixes" u'...'/u"..."
ad mainApp.py:
- problem with decoding the file
I found this hack (can't find the source again), but the traceback says the byte can't be decoded - is the encoding truly utf-8?
sources:
https://timothybramlett.com/Strings_Bytes_and_Unicode_in_Python_2_and_3.html
https://medium.com/@andreacolangelo/strings-unicode-and-bytes-in-python-3-everything-you-always-wanted-to-know-27dc02ff2686
* quick and dirty QByteArray fix, see #3
* Completing API functions
Functions which run correctly
- import
- search form (owners excluded)
- export (HTML, LaTeX)
* add sample data

Co-authored-by: luciestara <[email protected]>
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

No branches or pull requests

1 participant