文件编码问题引起的乱码
This commit is contained in:
parent
bac55473dc
commit
abd149a6e4
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user