MCPcopy
hub / github.com/blackboxo/CleanMyWechat / init_table

Method init_table

main.py:860–869  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

858 widget.hide()
859
860 def init_table(self):
861 self.table_files.setColumnCount(3)
862 self.table_files.setHorizontalHeaderLabels(["选择", "文件路径", "大小"])
863 self.table_files.horizontalHeader().setSectionResizeMode(0, QHeaderView.Fixed)
864 self.table_files.horizontalHeader().setSectionResizeMode(1, QHeaderView.Stretch)
865 self.table_files.horizontalHeader().setSectionResizeMode(2, QHeaderView.Fixed)
866 self.table_files.setColumnWidth(0, 50)
867 self.table_files.setColumnWidth(2, 100)
868 self.table_files.setRowCount(0)
869 self.file_data = []
870
871 def clear_table(self):
872 self.table_files.setRowCount(0)

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected