I have a ms-access database and i try to make QGIS plugin that take record
from table and show it in Qt, database have format like this :
NO Skala 1 Skala2 Rekomendasi
1. 10001000Skala Sama
2. 10005000Skal
, I make a QGIS plugin to parse xml and show it as a report in TextBrowser,
but when i run this plugin it didnt appear in TextBrowser and i didnt get
any error message from it, this code i use to showing text in textBrowser
def info(self, inform):
fore = open(inform, 'w' ).write()
I try to make QGIS plugin to open and show metadata information in xml
format i use this code to open metadata from drive and show it in UI:
*from PyQt4 import QtCore, QtGuifrom ui_testparse import Ui_testparseimport
xml.etree.ElementTree as ETree# creat
I try to make plugin in QGIS Dufour to open and read xml metadata and then
to show some information in metadata i try to parse it with ElementTree and
then show it in QLineEdit, this code i use to open metadata and parse
metadata :
from PyQt4 import QtCore, QtGui
from ui_testparse import Ui_testpa
Hay i m new in python and i have a task to make plugin in QGIS and use this
code to open xml file and then read it in QTextBrowser, this is code i use
to open xml file :
class testparseDialog(QtGui.QDialog)
:
def __init__(self):
QtGui.QDialog.__init__(self)
# Set up the user in
Hay i m new in python and i have a task to make plugin in QGIS and use this
code to open xml file and then read it in QTextBrowser, this is code i use
to open xml file :
class testparseDialog(QtGui.QDialog):
def __init__(self):
QtGui.QDialog.__init__(self)
# Set up the user int
I try to parse xml from a string source, I make code to open xml from drive
and read it then parse it and show in QlineEdit
This code I use:
>From PyQt4 import QtCore, QtGui
from ui_testparse import Ui_testparse
import xml.etree.ElementTree as ETree
# create the dialog for zoom to point
class t
I make plugin in QGIS to open and read XML file, then parse it and show
scale map from it, its a big xml file and line with scale information have
format like this
ScaleValue
and i try code like this to open xml file and then parse it:
from PyQt4 import QtCore, QtGuifrom ui_latih import Ui_latih
I try make plugin to open and read metadata (.xml) and show information
inside metadata like map scale, map fiture and bounding box and auto fill
it to QLineEdit
This code i use to open metadata
cariButton = self.ui.btnCari
QtCore.QObject.connect(cariButton, QtCore.SIGNAL('clicked()'),se
is a QLineEdit, of course)
>
> Happy New Year!!
>
>
> Jorge Tornero
>
>
>
> 2014/1/1 Suryo Miles
>
>> I try to make save as button but i got this error message when try to
>> save file in my directory
>>
>> File
>> "C:\Users\Mr.Pakde/.q
I try to make save as button but i got this error message when try to save
file in my directory
File
"C:\Users\Mr.Pakde/.qgis2/python/plugins\condition\conditiondialog.py",
line 80, in saveAs
self._save( _filename )
File
"C:\Users\Mr.Pakde/.qgis2/python/plugins\condition\conditiond
I m trying to make QGIS plugin that compare 2 map scale with Input1 and
Input2 and Information about scale when clicked the button, and then i want
to write and save it in pdf format file
i make my code like this
class conditionDialog(QtGui.QDialog):
def __init__(self):
QtGui.QDialo
uot;, line
59, in _save
f.write( "%s" % self.nmfile.text() )
AttributeError: 'latihDialog' object has no attribute 'nmfile'<]
Can someone help me?
On Fri, Dec 27, 2013 at 2:21 AM, Suryo Miles wrote:
> It works but now i have a different error message, it sa
hon 3 and the code is from older version?
Thank you
On Wed, Dec 25, 2013 at 6:09 PM, Suryo Miles wrote:
> Sorry i late to reply, i m trying it as soon as posible
>
> Thank you all for the answer
>
> @Joshua : wow nice observation yeah you are right i m a indonesian
>
Sorry i late to reply, i m trying it as soon as posible
Thank you all for the answer
@Joshua : wow nice observation yeah you are right i m a indonesian
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis
I try to make plugin in QGIS and i want to make save as button but i got
error message like this
""Traceback (most recent call last):
File "C:\Users\Mr.Pakde/.qgis2/python/plugins\latih\latihdialog.py", line
69, in
saveAs
if not filename.isEmpty():
AttributeError: 'unicode' object has no at
I try to make plugin to read shapefile with plugin builder in QGIS and i
try to import pyshp in plugin to read shapefiles but i got this error
message
Traceback (most recent call last):
File "C:\Users\Mr.Pakde/.qgis2/python/plugins\shpread\shpreaddialog.py",
line 42, in baca
shapefile.Reade
I try to make a QGIS plugin to compare 2 different number with 2 input
data, and i want to compare input 1 and input 2, but i dont know how to use
python condition to compare 2 random number input
i try it like this
def Compare1(self):
input1 = self.ui.lineInput1.text()
When i try to open text in textBrowser with command read i got this error
message
def cari(self, event=None):
#open dialog
filename = QtGui.QFileDialog.getOpenFileName(self, 'Open File',
'*.xml')
if filename:
self.ui.lineFile.delete(0, END)
self.ui
I tried to make plugin open file dialog in QGIS Dofour 2.0.1
I write my code like this (attachment) and try to run it in QGIS plugin,
but nothing happened ( the GUI show up but when i try to click the button,
nothing happened, even a error message is not pop up) since its not show a
error message
20 matches
Mail list logo