We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dd4ac9 commit 77c3339Copy full SHA for 77c3339
Utils/SortFilterModel.py
@@ -30,15 +30,15 @@ def __init__(self, *args, **kwargs):
30
# 自动
31
self.setDynamicSortFilter(True)
32
33
- def lessThan(self, source_left, source_right):
34
- # 按照文字长度和字母比较排序
35
- if not source_left.isValid() or not source_right.isValid():
36
- return False
37
- leftData = self.sourceModel().data(source_left)
38
- rightData = self.sourceModel().data(source_right)
39
- # return super(SortFilterModel, self).lessThan(source_left,
40
- # source_right)
41
- return len(leftData) < len(rightData)
+# def lessThan(self, source_left, source_right):
+# # 按照文字长度和字母比较排序
+# if not source_left.isValid() or not source_right.isValid():
+# return False
+# leftData = self.sourceModel().data(source_left)
+# rightData = self.sourceModel().data(source_right)
+# # return super(SortFilterModel, self).lessThan(source_left,
+# # source_right)
+# return len(leftData) < len(rightData)
42
43
def filterAcceptsRow(self, sourceRow, sourceParent):
44
# 过滤
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments