文件编码问题引起的乱码

This commit is contained in:
DESKTOP-450PEFP\mainc 2026-05-16 15:19:00 +08:00
parent bac55473dc
commit abd149a6e4

View File

@ -1,4 +1,4 @@
/****************************************************************************
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
@ -436,8 +436,8 @@ void QtTreePropertyBrowserPrivate::init(QWidget *parent)
m_treeWidget->setColumnCount(2);
QStringList labels;
labels.append(QCoreApplication::translate("QtTreePropertyBrowser", "属性名"));
labels.append(QCoreApplication::translate("QtTreePropertyBrowser", "属性值"));
labels.append("属性名");
labels.append("属性值");
m_treeWidget->setHeaderLabels(labels);
m_treeWidget->setAlternatingRowColors(true);
m_treeWidget->setEditTriggers(QAbstractItemView::EditKeyPressed);