表格支持自动调整行宽

This commit is contained in:
2024-05-12 09:09:02 +08:00
parent 90c04767ad
commit 20130363fb
8 changed files with 58 additions and 4 deletions

View File

@@ -27,9 +27,15 @@
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
@@ -112,6 +118,8 @@
<property name="title">
<string>Program</string>
</property>
<addaction name="actionUpdate_apt_cache"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<widget class="QMenu" name="menuHelp">
@@ -147,6 +155,11 @@
<string>Github</string>
</property>
</action>
<action name="actionUpdate_apt_cache">
<property name="text">
<string>Update apt cache</string>
</property>
</action>
</widget>
<resources>
<include location="Resource.qrc"/>