11from PySide6 import QtWidgets , QtCore , QtGui
22import sys , pathlib , typing
33import locatorator
4+ from locatorator import PAT_VFX_MARKER
45
56MARKER_COMMENT_COLUMN_NAME = "Shot ID"
67EXPORT_TRACK_OPTIONS = ("TC1" ,"V1" ,"V2" ,"V3" ,"V4" ,"V5" ,"V6" ,"V7" ,"V8" )
@@ -61,6 +62,8 @@ def set_changelist(self, markers_changes:typing.Iterable[locatorator.MarkerChang
6162
6263 changelist = []
6364
65+ font_monospace = QtGui .QFontDatabase .systemFont (QtGui .QFontDatabase .SystemFont .FixedFont ).family ()
66+
6467 for marker_change in markers_changes :
6568
6669 if marker_change .change_type == locatorator .ChangeTypes .DELETED :
@@ -86,15 +89,20 @@ def set_changelist(self, markers_changes:typing.Iterable[locatorator.MarkerChang
8689 # Add signed positive TC
8790 if marker_change .relative_offset > 0 :
8891 change = "+" + change
89-
92+
93+
9094 changelist_item = QtWidgets .QTreeWidgetItem ([
91- marker_comment ,
95+ PAT_VFX_MARKER .match (marker_comment ).group (),
96+ #marker_comment,
9297 tc_old ,
9398 tc_new ,
9499 change ,
95100 str (marker_change .change_type .value )
96101 ], marker_change .change_type .value )
97102
103+ changelist_item .setFont (1 , font_monospace )
104+ changelist_item .setFont (2 , font_monospace )
105+
98106 # Align Timecodes right|cener
99107 for idx , header in enumerate (self ._headerlabels ):
100108 if header != MARKER_COMMENT_COLUMN_NAME :
0 commit comments