例:
修复 CTA回测 模块中 选择 交易策略 下拉框
修复后:
修复代码
def init_ui(self):
""""""
self.setWindowTitle("CTA回测")
# Setting Part
self.class_combo = QtWidgets.QComboBox()
# 修复下拉框问题 (https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/200)
self.class_combo.setStyleSheet('QComboBox::item:checked{font-weight: bold; height: 12px;}')
self.symbol_line = QtWidgets.QLineEdit("IF88.CFFEX")
self.interval_combo = QtWidgets.QComboBox()
for interval in Interval:
self.interval_combo.addItem(interval.value)
end_dt = datetime.now()