Skip to content
Permalink
Browse files

[processing] couple of fixes for matrix parameter

  • Loading branch information
alexbruy authored and nyalldawson committed May 7, 2018
1 parent bb0fecc commit 18f3151808c0fe6d52644a1eeab3188f421fc25f
@@ -122,7 +122,7 @@ def headers(self):
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 @@ def setHeaders(self, headers):
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>

0 comments on commit 18f3151

Please sign in to comment.
You can’t perform that action at this time.