wip: chore

This commit is contained in:
2023-09-06 00:31:20 +08:00
parent fcc0d40d9a
commit 1955a7963a
8 changed files with 135 additions and 20 deletions

View File

@ -165,7 +165,7 @@ class ChartDelegate(TextSegmentDelegate):
def updateEditorGeometry(self, editor: QWidget, option, index: QModelIndex) -> None:
editor.move(editor.pos() + option.rect.topLeft())
editor.setMaximumWidth(option.rect.width())
keepWidgetInScreen(editor)
def setEditorData(self, editor: ChartSelectorDelegateWrapper, index: QModelIndex):