Narrowed Upd column in main window. Fixed horizontal header size.

This commit is contained in:
Agnieszka Kostrzewa 2012-03-06 10:45:59 +01:00
parent f047b91e47
commit f5d0104025
2 changed files with 4 additions and 2 deletions

View File

@ -150,7 +150,7 @@
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Upd</string> <string>Up</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Update info</string> <string>Update info</string>

View File

@ -527,7 +527,9 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
self.actionCPU_Graph.setChecked(False) self.actionCPU_Graph.setChecked(False)
self.table.setColumnHidden( self.columns_indices["MEM Graph"], True) self.table.setColumnHidden( self.columns_indices["MEM Graph"], True)
self.actionMEM_Graph.setChecked(False) self.actionMEM_Graph.setChecked(False)
self.table.setColumnWidth(self.columns_indices["Upd"], 50) self.table.setColumnWidth(self.columns_indices["Upd"], 40)
self.table.horizontalHeader().setResizeMode(QHeaderView.Fixed)
self.table.sortItems(self.columns_indices["MEM"], Qt.DescendingOrder) self.table.sortItems(self.columns_indices["MEM"], Qt.DescendingOrder)