Skip to content

Commit

Permalink
Adding empty settings dialog. Removing double _setupUi call issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinGuillaume committed Jun 4, 2024
1 parent 60d610f commit 4d8ce72
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 3 deletions.
Binary file not shown.
Binary file modified lib/tool/tools/mdprep/include/tools/mdprep/ui/basic_form.hpp
Binary file not shown.
Binary file not shown.
8 changes: 5 additions & 3 deletions lib/tool/tools/mdprep/src/mdprep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <ui/qt/application_qt.hpp>
#include <ui/qt/main_window.hpp>
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
Expand Down
Binary file modified lib/tool/tools/mdprep/src/ui/basic_form.cpp
Binary file not shown.
Binary file modified lib/tool/tools/mdprep/src/ui/basic_form_settings_dialog.cpp
Binary file not shown.

0 comments on commit 4d8ce72

Please sign in to comment.