Aggiunto checkbox per il plot del percorso caricato

This commit is contained in:
2019-11-14 15:45:18 +01:00
parent 04ae933f6e
commit 623ae0bedb
2 changed files with 18 additions and 4 deletions

View File

@@ -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"] = false;
metadata["plot"] = ui->chk_plot->isChecked();
param["action"] = "open";
param["metadata"] = metadata;
ui->btn_record->setEnabled(false);

View File

@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>948</width>
<width>1018</width>
<height>826</height>
</rect>
</property>
@@ -1046,7 +1046,21 @@
</widget>
</item>
<item>
<widget class="QLineEdit" name="txt_fileName"/>
<widget class="QLineEdit" name="txt_fileName">
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chk_plot">
<property name="text">
<string>Plot</string>
</property>
</widget>
</item>
</layout>
</item>
@@ -1425,7 +1439,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>948</width>
<width>1018</width>
<height>22</height>
</rect>
</property>