Modifiche interfaccia per frame riferimento

This commit is contained in:
2019-11-13 15:55:55 +01:00
parent 4970162ed5
commit 04ae933f6e
3 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject> <!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> <qtcreator>
<data> <data>
<variable>EnvironmentId</variable> <variable>EnvironmentId</variable>

View File

@@ -271,7 +271,7 @@ void RoboGlue_GUI::on_btn_open_clicked() {
m->commonStatus.isFileOpen = true; m->commonStatus.isFileOpen = true;
fileOpen = true; fileOpen = true;
metadata["name"] = ui->txt_fileName->text(); metadata["name"] = ui->txt_fileName->text();
metadata["plot"] = true; metadata["plot"] = false;
param["action"] = "open"; param["action"] = "open";
param["metadata"] = metadata; param["metadata"] = metadata;
ui->btn_record->setEnabled(false); ui->btn_record->setEnabled(false);
@@ -336,10 +336,10 @@ void RoboGlue_GUI::on_btn_setFrame_clicked() {
param["action"]="set"; param["action"]="set";
param["framename"]=ui->txt_frameName->text(); param["framename"]=ui->txt_frameName->text();
for(auto tp : ui->txt_framePos->text().split(",")){ 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(",")){ 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; param["frame"]=frm;
emit m->commonStatusChange(); emit m->commonStatusChange();

View File

@@ -1447,12 +1447,12 @@
<resources/> <resources/>
<connections/> <connections/>
<buttongroups> <buttongroups>
<buttongroup name="grp_hilo"/> <buttongroup name="grp_mod"/>
<buttongroup name="gpr_lock"> <buttongroup name="gpr_lock">
<property name="exclusive"> <property name="exclusive">
<bool>false</bool> <bool>false</bool>
</property> </property>
</buttongroup> </buttongroup>
<buttongroup name="grp_mod"/> <buttongroup name="grp_hilo"/>
</buttongroups> </buttongroups>
</ui> </ui>