修复bug
parent
9de386695b
commit
f7bdcc314f
|
|
@ -913,7 +913,6 @@
|
||||||
<string>RCS数据库管理</string>
|
<string>RCS数据库管理</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionImportRCSData"/>
|
<addaction name="actionImportRCSData"/>
|
||||||
<addaction name="actionShowRCSTable"/>
|
|
||||||
<addaction name="actionQueryRCSData"/>
|
<addaction name="actionQueryRCSData"/>
|
||||||
</widget>
|
</widget>
|
||||||
<addaction name="actionImageSetting"/>
|
<addaction name="actionImageSetting"/>
|
||||||
|
|
|
||||||
|
|
@ -323,6 +323,7 @@ namespace RCSDBManagerTool {
|
||||||
if (_ins == nullptr) {
|
if (_ins == nullptr) {
|
||||||
// 这里需要替换为获取数据库路径的实际方法
|
// 这里需要替换为获取数据库路径的实际方法
|
||||||
const char* datastr=Setting::BusAPI::instance()->getRcsdbFilePath().toUtf8().constData();
|
const char* datastr=Setting::BusAPI::instance()->getRcsdbFilePath().toUtf8().constData();
|
||||||
|
qDebug()<<u8"数据库地址:"<<QString::fromStdString(datastr) ;
|
||||||
std::string sqldbpath(datastr);
|
std::string sqldbpath(datastr);
|
||||||
_ins = new RCSDBManagerClass(sqldbpath);
|
_ins = new RCSDBManagerClass(sqldbpath);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ namespace RCSDBManagerTool {
|
||||||
lastpath,
|
lastpath,
|
||||||
u8"pre文件 (*.pre)");//多组扩展名用双分号";;"隔开
|
u8"pre文件 (*.pre)");//多组扩展名用双分号";;"隔开
|
||||||
|
|
||||||
Setting::BusAPI::instance()->setRcsdbFilePath(QFileInfo(prefileNamePath).absolutePath());
|
Setting::BusAPI::instance()->setLastSelectPath(QFileInfo(prefileNamePath).absolutePath());
|
||||||
|
|
||||||
if (prefileNamePath.isEmpty()) {
|
if (prefileNamePath.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
|
|
@ -135,7 +135,7 @@ namespace RCSDBManagerTool {
|
||||||
|
|
||||||
this->ui->listView->setModel(this->ListViewmodel);
|
this->ui->listView->setModel(this->ListViewmodel);
|
||||||
qDebug()<<(u8"farField Number:"+QString::number(this->farFieldNames.size()) + "\n" + u8"NearField Number:" + QString::number(this->nearFieldNames.size()) + "\n");
|
qDebug()<<(u8"farField Number:"+QString::number(this->farFieldNames.size()) + "\n" + u8"NearField Number:" + QString::number(this->nearFieldNames.size()) + "\n");
|
||||||
|
qDebug()<<u8"数据库地址:"<<Setting::BusAPI::instance()->getRcsdbFilePath();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RCSImportDialog::AddFekoResultClick() {
|
void RCSImportDialog::AddFekoResultClick() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue