1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 07:43:09 +00:00

source table show grid and alt colors

This commit is contained in:
shivansh02 2024-07-06 18:53:18 +05:30 committed by Manu
parent b9c4ffbbcd
commit 94c706826e
2 changed files with 1 additions and 3 deletions

View file

@ -71,9 +71,6 @@
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>

View file

@ -86,6 +86,7 @@ def __init__(self, parent=None):
self.sourceFilesWidget.setSortingEnabled(True)
self.sourceFilesWidget.setContextMenuPolicy(Qt.ContextMenuPolicy.CustomContextMenu)
self.sourceFilesWidget.customContextMenuRequested.connect(self.sourceitem_contextmenu)
self.sourceFilesWidget.setAlternatingRowColors(True)
# Prepare add button
self.addMenu = QMenu(self.addButton)