208 |
208 |
209 self.setSortingEnabled(True) |
209 self.setSortingEnabled(True) |
210 |
210 |
211 self.setSelectionMode(QAbstractItemView.SelectionMode.ExtendedSelection) |
211 self.setSelectionMode(QAbstractItemView.SelectionMode.ExtendedSelection) |
212 self.setSelectionBehavior(QAbstractItemView.SelectionBehavior.SelectRows) |
212 self.setSelectionBehavior(QAbstractItemView.SelectionBehavior.SelectRows) |
213 |
|
214 self.header().setStretchLastSection(True) |
|
215 |
213 |
216 self.layoutDisplay() |
214 self.layoutDisplay() |
217 |
215 |
218 def layoutDisplay(self): |
216 def layoutDisplay(self): |
219 """ |
217 """ |