mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
aligned to GdalTools v1.2.8
git-svn-id: http://svn.osgeo.org/qgis/trunk@14019 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
1a72da7dba
commit
504ae2fdb7
@ -22,7 +22,7 @@ def name():
|
||||
def description():
|
||||
return "Integrate gdal tools into qgis"
|
||||
def version():
|
||||
return "Version 1.2.0"
|
||||
return "Version 1.2.8"
|
||||
def qgisMinimumVersion():
|
||||
return "1.0"
|
||||
def classFactory(iface):
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>285</width>
|
||||
<height>170</height>
|
||||
<height>179</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@ -16,9 +16,6 @@
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="pluginLayout">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetNoConstraint</enum>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
|
||||
@ -81,4 +81,5 @@ class GdalToolsDialog(QWidget, Ui_Widget, BasePluginWidget):
|
||||
def addLayerIntoCanvas(self, fileInfo):
|
||||
vl = self.iface.addVectorLayer(fileInfo.filePath(), "contour", "ogr")
|
||||
if vl.isValid():
|
||||
vl.setProviderEncoding(self.lastEncoding)
|
||||
if hasattr(self, 'lastEncoding'):
|
||||
vl.setProviderEncoding(self.lastEncoding)
|
||||
|
||||
@ -82,4 +82,5 @@ class GdalToolsDialog(QWidget, Ui_Widget, BasePluginWidget):
|
||||
def addLayerIntoCanvas(self, fileInfo):
|
||||
vl = self.iface.addVectorLayer(fileInfo.filePath(), fileInfo.baseName(), "ogr")
|
||||
if vl.isValid():
|
||||
vl.setProviderEncoding(self.lastEncoding)
|
||||
if hasattr(self, 'lastEncoding'):
|
||||
vl.setProviderEncoding(self.lastEncoding)
|
||||
|
||||
@ -40,6 +40,12 @@
|
||||
<attribute name="horizontalHeaderStretchLastSection">
|
||||
<bool>true</bool>
|
||||
</attribute>
|
||||
<attribute name="horizontalHeaderStretchLastSection">
|
||||
<bool>true</bool>
|
||||
</attribute>
|
||||
<attribute name="horizontalHeaderMinimumSectionSize">
|
||||
<number>30</number>
|
||||
</attribute>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Name</string>
|
||||
|
||||
@ -115,9 +115,6 @@
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetFixedSize</enum>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="attributeCheck">
|
||||
<property name="text">
|
||||
@ -127,12 +124,6 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>8</pointsize>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>362</width>
|
||||
<width>356</width>
|
||||
<height>181</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>333</width>
|
||||
<height>444</height>
|
||||
<height>450</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
@ -278,6 +278,19 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<spacer name="verticalSpacer_4">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="page_2">
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>391</width>
|
||||
<width>376</width>
|
||||
<height>205</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user