mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
[processing] couple of fixes for matrix parameter
This commit is contained in:
parent
bb0feccec4
commit
18f3151808
@ -122,7 +122,7 @@ class MatrixModelerWidget(BASE, WIDGET):
|
||||
headers = []
|
||||
model = self.tblView.model()
|
||||
for i in range(model.columnCount()):
|
||||
headers.append(model.headerData(i, Qt.Horizontal))
|
||||
headers.append(str(model.headerData(i, Qt.Horizontal)))
|
||||
|
||||
return headers
|
||||
|
||||
@ -133,5 +133,5 @@ class MatrixModelerWidget(BASE, WIDGET):
|
||||
def fixedRows(self):
|
||||
return self.chkFixedRows.isChecked()
|
||||
|
||||
def setFixedRows(self):
|
||||
self.chkFixedRows.setChecked(True)
|
||||
def setFixedRows(self, fixedRows):
|
||||
self.chkFixedRows.setChecked(fixedRows)
|
||||
|
||||
@ -28,6 +28,9 @@
|
||||
</property>
|
||||
<item row="0" column="0" rowspan="8">
|
||||
<widget class="QTableView" name="tblView">
|
||||
<property name="selectionBehavior">
|
||||
<enum>QAbstractItemView::SelectRows</enum>
|
||||
</property>
|
||||
<attribute name="horizontalHeaderStretchLastSection">
|
||||
<bool>true</bool>
|
||||
</attribute>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user