mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Refactoring: Use ui file for geometry reach window.
This commit is contained in:
1 parent
ef672798ef
commit
44ccf99d48
11 files changed
+625
-251
No files matched your search
@@ -115,10 +115,10 @@ class PamhyrTableModel(QAbstractTableModel):
|
||||
|
||||
return options
|
||||
|
||||
def rowCount(self, parent):
|
||||
def rowCount(self, parent=QModelIndex()):
|
||||
return len(self._lst)
|
||||
|
||||
def columnCount(self, parent):
|
||||
def columnCount(self, parent=QModelIndex()):
|
||||
return len(self._headers)
|
||||
|
||||
def headerData(self, section, orientation, role):
|
||||
|
||||
Reference in new issue
Block a user