1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 06:37:17 +00:00

Under Qt, added a 'marked' column thus uncoupling the marked' attribute from the 'filename' column.

Also, added the ability to sort by 'marked' status.
This commit is contained in:
Virgil Dupras
2012-03-16 15:05:52 -04:00
parent 771f22f208
commit 6ee56dc55c
5 changed files with 23 additions and 26 deletions

View File

@@ -7,13 +7,10 @@
from qtlib.column import Column
from ..base.results_model import ResultsModel as ResultsModelBase
from core_pe.result_table import ResultTable
# Little hack to remove the 'marked' column which isn't there in the Qt GUI.
del ResultTable.COLUMNS[0]
class ResultsModel(ResultsModelBase):
COLUMNS = [
Column('marked', defaultWidth=30),
Column('name', defaultWidth=200),
Column('folder_path', defaultWidth=180),
Column('size', defaultWidth=60),