Commit 11d9f46f authored by Manuel Grizonnet's avatar Manuel Grizonnet

Merge branch 'develop' into txx_to_hxx

parents 7fe54ded 01f22368
......@@ -135,6 +135,7 @@ signals:
/** */
void Updated();
void ValueChanged();
/*-[ PROTECTED SECTION ]---------------------------------------------------*/
//
......
......@@ -619,6 +619,11 @@ ListEditWidget
assert( GetItemModel()!=nullptr );
//Notify the ParameterList that the parameter has been modified (UserValue)
// ParameterList is not available in this class, transfer the signal to WidgetParameterList
emit ValueChanged();
//Then, trigger the update the application parameters
emit Updated();
}
......
......@@ -152,7 +152,7 @@ QtWidgetModel
while(pParam)
{
//Get pareter key
//Get parameter key
cmdLine << "-";
cmdLine << pParam->FirstChildElement("key")->GetText();
cmdLine << " ";
......
......@@ -83,7 +83,13 @@ QtWidgetParameterList
setLayout( gLayout );
//
// Connections.
// Connections (Update UserValue flag).
QObject::connect(
widget, &ListEditWidget::ValueChanged,
this, [=] () { emit ParameterChanged( GetParam()->GetKey() ); }
);
// Connections (Update app parameters).
QObject::connect(
widget, SIGNAL( Updated() ),
this, SIGNAL( NotifyUpdate() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment