Modifiche interfaccia per frame riferimento
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 4.8.2, 2019-11-12T09:34:56. -->
|
||||
<!-- Written by QtCreator 4.8.2, 2019-11-12T17:05:54. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
|
||||
@@ -271,7 +271,7 @@ void RoboGlue_GUI::on_btn_open_clicked() {
|
||||
m->commonStatus.isFileOpen = true;
|
||||
fileOpen = true;
|
||||
metadata["name"] = ui->txt_fileName->text();
|
||||
metadata["plot"] = true;
|
||||
metadata["plot"] = false;
|
||||
param["action"] = "open";
|
||||
param["metadata"] = metadata;
|
||||
ui->btn_record->setEnabled(false);
|
||||
@@ -336,10 +336,10 @@ void RoboGlue_GUI::on_btn_setFrame_clicked() {
|
||||
param["action"]="set";
|
||||
param["framename"]=ui->txt_frameName->text();
|
||||
for(auto tp : ui->txt_framePos->text().split(",")){
|
||||
frm[tp.split(":").first()]=tp.split(":").last();
|
||||
frm[tp.split(":").first()]=tp.split(":").last().replace(" ", "").toDouble();
|
||||
}
|
||||
for(auto tp : ui->txt_frameOr->text().split(",")){
|
||||
frm[tp.split(":").first()]=tp.split(":").last();
|
||||
frm[tp.split(":").first()]=tp.split(":").last().replace(" ", "").toDouble();
|
||||
}
|
||||
param["frame"]=frm;
|
||||
emit m->commonStatusChange();
|
||||
|
||||
@@ -1447,12 +1447,12 @@
|
||||
<resources/>
|
||||
<connections/>
|
||||
<buttongroups>
|
||||
<buttongroup name="grp_hilo"/>
|
||||
<buttongroup name="grp_mod"/>
|
||||
<buttongroup name="gpr_lock">
|
||||
<property name="exclusive">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</buttongroup>
|
||||
<buttongroup name="grp_mod"/>
|
||||
<buttongroup name="grp_hilo"/>
|
||||
</buttongroups>
|
||||
</ui>
|
||||
|
||||
Reference in New Issue
Block a user