Nomenclature export : items double click

User can double click on item to add/remove information to export.
This commit is contained in:
joshua
2019-11-04 20:16:48 +01:00
parent ff7eb4d11c
commit 97a2c8d2c9
2 changed files with 33 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ class BOMExportDialog : public QDialog
void on_m_save_current_conf_pb_clicked(); void on_m_save_current_conf_pb_clicked();
void on_m_load_pb_clicked(); void on_m_load_pb_clicked();
private: private:
void setUpItems(); void setUpItems();
QString getBom(); QString getBom();
QString headers() const; QString headers() const;

View File

@@ -435,5 +435,37 @@
</hint> </hint>
</hints> </hints>
</connection> </connection>
<connection>
<sender>m_var_list</sender>
<signal>itemDoubleClicked(QListWidgetItem*)</signal>
<receiver>m_add_pb</receiver>
<slot>click()</slot>
<hints>
<hint type="sourcelabel">
<x>165</x>
<y>173</y>
</hint>
<hint type="destinationlabel">
<x>342</x>
<y>158</y>
</hint>
</hints>
</connection>
<connection>
<sender>m_choosen_list</sender>
<signal>itemDoubleClicked(QListWidgetItem*)</signal>
<receiver>m_remove_pb</receiver>
<slot>click()</slot>
<hints>
<hint type="sourcelabel">
<x>519</x>
<y>173</y>
</hint>
<hint type="destinationlabel">
<x>342</x>
<y>188</y>
</hint>
</hints>
</connection>
</connections> </connections>
</ui> </ui>