fix bug by doc/*.txt
This commit is contained in:
parent
873bee7e7b
commit
bec8d013ed
@ -1,6 +1,6 @@
|
||||
1.参数编辑时候崩溃bug。参数编辑窗口,添加,点击参数名称,在蓝色状态时候点击字母按键会崩溃。后续进行过某些操作就不会崩溃了。
|
||||
解决方案
|
||||
a、修改当前的crash
|
||||
a、修改当前的crash(解决)
|
||||
2.参数编辑,第一次生成matlabparam还是在workspace下,后续生成在release下,simmatlab文件需要保存在release下才能运行。参数文件和运行的.m文件路径需要统一
|
||||
解决方案
|
||||
a、放到想定空间所在的目录
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
5.关联文件时候更改文件的按键不太明显。
|
||||
解决方案
|
||||
a、属性控件文件选择按钮不明显
|
||||
a、属性控件文件选择按钮不明显 (解决)
|
||||
b、属性控件中间的分割线能左右移动
|
||||
|
||||
6.提供的轨迹文件是如何输入到dyt界面的,我们需要知道。
|
||||
|
@ -7,6 +7,7 @@
|
||||
<file>res/sys_icon.png</file>
|
||||
<file>res/sys_down.png</file>
|
||||
<file>res/sys_up.png</file>
|
||||
<file>res/select_file.ico</file>
|
||||
<file>res/default/menu_new_file.png</file>
|
||||
<file>res/default/menu_open_file.png</file>
|
||||
<file>res/default/menu_save_file.png</file>
|
||||
|
BIN
src/res/select_file.ico
Normal file
BIN
src/res/select_file.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -32,57 +32,57 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="21"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="27"/>
|
||||
<source>参数名称</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="26"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="32"/>
|
||||
<source>描述</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="31"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="37"/>
|
||||
<source>数据类型</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="36"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="42"/>
|
||||
<source>最大值</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="41"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="47"/>
|
||||
<source>最小值</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="46"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="52"/>
|
||||
<source>小数点有效位</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="51"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="57"/>
|
||||
<source>初始值</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="56"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="62"/>
|
||||
<source>数据输入示例</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="72"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="78"/>
|
||||
<source>添加</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="85"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="91"/>
|
||||
<source>删除</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="98"/>
|
||||
<location filename="../ui/Layout/AddParamSetting.ui" line="104"/>
|
||||
<source>应用</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -809,12 +809,12 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/PropertyBrowser.cpp" line="206"/>
|
||||
<location filename="../ui/PropertyBrowser.cpp" line="207"/>
|
||||
<source>ModelBase</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/PropertyBrowser.cpp" line="211"/>
|
||||
<location filename="../ui/PropertyBrowser.cpp" line="212"/>
|
||||
<source>color base</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -822,12 +822,12 @@
|
||||
<context>
|
||||
<name>QFilePathEdit</name>
|
||||
<message>
|
||||
<location filename="../ui/PropertyBrowser/qtpropertybrowserutils.cpp" line="739"/>
|
||||
<location filename="../ui/PropertyBrowser/qtpropertybrowserutils.cpp" line="740"/>
|
||||
<source>Open File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/PropertyBrowser/qtpropertybrowserutils.cpp" line="739"/>
|
||||
<location filename="../ui/PropertyBrowser/qtpropertybrowserutils.cpp" line="740"/>
|
||||
<source>All Files (*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -835,12 +835,12 @@
|
||||
<context>
|
||||
<name>QModelFilePathEdit</name>
|
||||
<message>
|
||||
<location filename="../ui/PropertyBrowser/qtpropertybrowserutils.cpp" line="815"/>
|
||||
<location filename="../ui/PropertyBrowser/qtpropertybrowserutils.cpp" line="817"/>
|
||||
<source>Open File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/PropertyBrowser/qtpropertybrowserutils.cpp" line="815"/>
|
||||
<location filename="../ui/PropertyBrowser/qtpropertybrowserutils.cpp" line="817"/>
|
||||
<source>All Files (*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -22,7 +22,7 @@ AddParamSetting::AddParamSetting(const QString& strDir, QWidget* parent)
|
||||
{
|
||||
ui.setupUi(this);
|
||||
|
||||
setWindowFlags(/*Qt::FramelessWindowHint | */Qt::Window);
|
||||
//setWindowFlags(/*Qt::FramelessWindowHint | */Qt::Window);
|
||||
|
||||
listType << "String" << "Int" << "Double" << "Int[]" << "Double[]" << "String[]" << "a+bi";
|
||||
|
||||
|
@ -16,6 +16,12 @@
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QTableWidget" name="tableWidget">
|
||||
<property name="editTriggers">
|
||||
<set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::ExtendedSelection</enum>
|
||||
</property>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>参数名称</string>
|
||||
|
@ -107,7 +107,8 @@ void PropertyBrowser::InitUI() {
|
||||
browser_ = new QtTreePropertyBrowser;
|
||||
layout->addWidget(browser_);
|
||||
|
||||
browser_->setHeaderVisible(false);
|
||||
browser_->setHeaderVisible(true);
|
||||
browser_->setResizeMode(QtTreePropertyBrowser::Interactive);
|
||||
|
||||
InitPropertyManager();
|
||||
InitComponentPropertyManager();
|
||||
|
@ -696,8 +696,9 @@ QFilePathEdit::QFilePathEdit(QWidget* parent) :
|
||||
QWidget(parent),
|
||||
m_stringEdit(new QLineEdit(this)),
|
||||
m_button(new QPushButton(this)) {
|
||||
m_button->setIcon(QIcon(QLatin1String(":/qt-project.org/qtpropertybrowser/images/button-reset.ico")));
|
||||
m_button->setMaximumWidth(15);
|
||||
m_button->setIcon(QIcon(QLatin1String(":/res/select_file.ico")));
|
||||
m_button->setMaximumWidth(64);
|
||||
m_button->setMinimumWidth(32);
|
||||
|
||||
m_stringEdit->setReadOnly(true);
|
||||
|
||||
@ -771,8 +772,9 @@ QModelFilePathEdit::QModelFilePathEdit(QWidget* parent) :
|
||||
QWidget(parent),
|
||||
m_stringEdit(new QLineEdit(this)),
|
||||
m_button(new QPushButton(this)) {
|
||||
m_button->setIcon(QIcon(QLatin1String(":/qt-project.org/qtpropertybrowser/images/button-reset.ico")));
|
||||
m_button->setMaximumWidth(15);
|
||||
m_button->setIcon(QIcon(QLatin1String(":/res/select_file.ico")));
|
||||
m_button->setMaximumWidth(64);
|
||||
m_button->setMinimumWidth(32);
|
||||
|
||||
m_stringEdit->setReadOnly(true);
|
||||
|
||||
|
@ -460,8 +460,11 @@ void QtTreePropertyBrowserPrivate::init(QWidget *parent)
|
||||
m_delegate = new QtPropertyEditorDelegate(parent);
|
||||
m_delegate->setEditorPrivate(this);
|
||||
m_treeWidget->setItemDelegate(m_delegate);
|
||||
m_treeWidget->header()->setSectionsMovable(false);
|
||||
m_treeWidget->header()->setSectionResizeMode(QHeaderView::Stretch);
|
||||
QHeaderView* header = m_treeWidget->header();
|
||||
header->setSectionResizeMode(QHeaderView::Interactive);
|
||||
header->setStretchLastSection(true);
|
||||
|
||||
//header->setSectionResizeMode(QHeaderView::Stretch);
|
||||
|
||||
m_expandIcon = drawIndicatorIcon(q_ptr->palette(), q_ptr->style());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user