From 4d8ce72b181f6b0a317c8ff80831af59af6a541b Mon Sep 17 00:00:00 2001 From: Valentin Date: Tue, 4 Jun 2024 23:33:02 +0200 Subject: [PATCH] Adding empty settings dialog. Removing double _setupUi call issue --- .../mdprep/gateway/engine_job_manager.hpp | Bin 732 -> 796 bytes .../include/tools/mdprep/ui/basic_form.hpp | Bin 7810 -> 8056 bytes .../mdprep/ui/basic_form_settings_dialog.hpp | Bin 1634 -> 2768 bytes lib/tool/tools/mdprep/src/mdprep.cpp | 8 +++++--- lib/tool/tools/mdprep/src/ui/basic_form.cpp | Bin 35538 -> 35872 bytes .../src/ui/basic_form_settings_dialog.cpp | Bin 1556 -> 1958 bytes 6 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/tool/tools/mdprep/include/tools/mdprep/gateway/engine_job_manager.hpp b/lib/tool/tools/mdprep/include/tools/mdprep/gateway/engine_job_manager.hpp index 5a76ff84ecc84a0c472baf0c4fcab07ac46f2fd6..52071c3418b558a3275653a4d06ae1f7b59bdbe9 100644 GIT binary patch delta 99 zcmcb^I)`n;5619BhCBuZhD3%WhGK>ih9V#<8AvNI_%gTv$yA_hIzuLqOa=1Nfb#ha hxjKfcil+NOvYf*<^mEvj9M}6xRR% delta 35 pcmbQkc87Jt4@U74h75*O1_cIR1{WZi%8lOuj21 zUk?%~25L`XumVD$m0+Xtfrfz$u_4hyJD?Nef#%_H5(6&-7Z`(V_T9`XSj!6lx8gH; delta 37 tcmexi*JL~4$7UtQ6-<+jM2$Avv7F}IC=8n-*eSk03JoOpj z7xV{xLtoOllVE|#Wp;M%J?GprclT@YbM?8tQNuAV87DYL1vNBq#P>2zQAOqDDy+@~ z5Z=HN7Tn6<1`z_>Vt^JxXdEC$4~F@e6`z&T`^R1CDUUp>hdld87#e-z6JiCI5Z`1? z6xz)6xp#>ag^ugdVaDf5h%rt-VnuX%4i}O=;reuQ@A3ihE$I3mTSAN3NF*aZ&o}{* zHU#&u%l9TPWVp9!C8ib4)3vkLBuDH9t}0f$$k`qBww7h4$R&el6E&bE18+1`Hf3Mc zo-L_dR%45ykwtnOnx_d-W*{~^J5*jeU~`#{v7Rby3U|W%pSQpMgOo23(x6X8F@-e2wMR<{l0gCIH|448Q;Y diff --git a/lib/tool/tools/mdprep/src/mdprep.cpp b/lib/tool/tools/mdprep/src/mdprep.cpp index b2f11f666..d4e337eb2 100644 --- a/lib/tool/tools/mdprep/src/mdprep.cpp +++ b/lib/tool/tools/mdprep/src/mdprep.cpp @@ -9,6 +9,7 @@ #include "tools/mdprep/mdprep.hpp" #include "tools/mdprep/ui/md_engine_form.hpp" // +#include "tools/mdprep/ui/basic_form_settings_dialog.hpp" #include "tools/mdprep/ui/main_window.hpp" #include #include @@ -96,6 +97,8 @@ namespace VTX::QT::Mdprep _formBasic.setupUi( _fieldOrganizer.containerParamBasic ); _formAdvanced.setupUi( _fieldOrganizer.containerParamAdvanced ); qLayoutWindow->addWidget( new QPushButton( "Button" ) ); + + _updateFormEngine( 0 ); } void _updateFormEngine( int idx ) noexcept { @@ -134,9 +137,8 @@ namespace VTX::QT::Mdprep MainWindow( QWidget * const p_parent ) : UI::QT::QtDockablePanel( p_parent ) // MainWindow( QWidget * const p_parent, const std::string & p_name ) : UI::QT::QtDockablePanel( p_parent ) { - _setupUi( QString::fromStdString( "name" ) ); - _updateFormEngine( 0 ); - _setupSlots(); + //_setupUi( QString::fromStdString( "name" ) ); + //_setupSlots(); } }; } // namespace VTX::QT::Mdprep diff --git a/lib/tool/tools/mdprep/src/ui/basic_form.cpp b/lib/tool/tools/mdprep/src/ui/basic_form.cpp index 5c351d9aa6facfa3aa72f660bb5b602b9112a92c..6fb201cdd17ef689f161f70e4c12d47161b83ce8 100644 GIT binary patch delta 174 zcmcaKm1)5YrVUC=laDY;O}1f{VvL`xs3gpt!jQ?3$dJR3&yc?PKjY`z$&WZqCeJI7 zne0*^HTgoRfOb4XF+(at2@qy7W_2K~wUO}Ud3 Mnq@XewN$VH0E2rn6#xJL delta 64 zcmV-G0KfmBm;%z30diMw7O19Fu@@K$Dzs9JB6m_7anTas-p$ Wg%Xnlg%Fc0goKko4G6Qag>VLfksB8P diff --git a/lib/tool/tools/mdprep/src/ui/basic_form_settings_dialog.cpp b/lib/tool/tools/mdprep/src/ui/basic_form_settings_dialog.cpp index d135c3d11f66707b780c10d360a629820007d349..e083e5b5bd756dd8221a4917c55f7190703a95a0 100644 GIT binary patch delta 126 zcmbQjvy6X37t7>NOiq)tn5!7;CU0cc*VkasWKdwpW5{PnWvF0C29gB~B@Da_TnwBH z)liy~A(J5us7ixDVR9p@CZ_^W4_L+IT2@2RWQH7|?qZ-$kXhCcna$lS%8cy!K*LfQ K@+NO(jRydrY#3<( delta 30 lcmZ3+KZR#Q7Yk$cW?436M)qQc42FD$^2vg1!jq%eeE@^E2hRWi