Skip to content

Commit

Permalink
WIP - setting up inter form event
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinGuillaume committed May 27, 2024
1 parent 8576c5c commit 40a06d0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 0 deletions.
Binary file modified lib/tool/tools/mdprep/include/tools/mdprep/ui/advanced_form.hpp
Binary file not shown.
Binary file modified lib/tool/tools/mdprep/include/tools/mdprep/ui/basic_form.hpp
Binary file not shown.
Binary file modified lib/tool/tools/mdprep/include/tools/mdprep/ui/form_data.hpp
Binary file not shown.
4 changes: 4 additions & 0 deletions lib/tool/tools/mdprep/src/mdprep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ namespace VTX::QT::Mdprep
{
VTX::VTX_INFO( "info from Mdprep::MainWindow::_setupSlots" );
connect( _w_mdEngine, &QComboBox::currentIndexChanged, this, &MainWindow ::_updateFormEngine );
_formAdvanced.subscribe( [ & ]( const VTX::Tool::Mdprep::ui::MdAdvancedDataSample & p_data )
{ _formBasic.update( p_data ); } );
_formBasic.subscribe( [ & ]( const VTX::Tool::Mdprep::ui::MdBasicDataSample & p_data )
{ _formAdvanced.update( p_data ); } );
}

public:
Expand Down
Binary file modified lib/tool/tools/mdprep/src/ui/advanced_form.cpp
Binary file not shown.

0 comments on commit 40a06d0

Please sign in to comment.