Base/App: add new signal interface to Parameter
Added new signal interface using boost::signals2 signalParamChanged. Exposed to Python as ParameterGrpPy.AttachManager() to monitor changes to all parameters, sub groups under the referring group. Added new attribute for ParameterGrp(Py) to query the Parent and Manager of the referring group.
This commit is contained in:
@@ -92,7 +92,7 @@ DlgParameterImp::DlgParameterImp( QWidget* parent, Qt::WindowFlags fl )
|
||||
#endif
|
||||
|
||||
ParameterManager* sys = App::GetApplication().GetParameterSet("System parameter");
|
||||
const std::map<std::string,ParameterManager *>& rcList = App::GetApplication().GetParameterSetList();
|
||||
const auto& rcList = App::GetApplication().GetParameterSetList();
|
||||
for (const auto & it : rcList) {
|
||||
if (it.second != sys) // for now ignore system parameters because they are nowhere used
|
||||
ui->parameterSet->addItem(tr(it.first.c_str()), QVariant(QByteArray(it.first.c_str())));
|
||||
|
||||
Reference in New Issue
Block a user