- int actId = thePref->addPreference(QObject::tr("Activate"), group, SUIT_PreferenceMgr::Selector,
- ModuleBase_Preferences::GENERAL_SECTION,
- "part_activation_study");
- thePref->setItemProperty("strings", actItemList, actId);
- thePref->setItemProperty("indexes", actIdList, actId);
+ int actId = thePref->addPreference(QObject::tr("Create new part"), group, SUIT_PreferenceMgr::Bool,
+ ModuleBase_Preferences::GENERAL_SECTION, "create_init_part");
+
+ // Group related to running a python script
+ group = thePref->addPreference(QObject::tr("Launching a python script"), generalTab,
+ SUIT_PreferenceMgr::Auto, QString(), QString());