SUIT_Selector(mgr, pymod), myPyModule(pymod)
{
MESSAGE("constructor");
+ myLocalEntries.clear();
+ mySelectedList.clear();
+ myEntries.clear();
+ myModifiedTime = 0;
if (myPyModule)
{
connect(myPyModule, SIGNAL(localSelectionChanged()), this, SLOT(onSelectionChanged()));
MESSAGE("destructor");
}
+/*!
+ \brief Reset selection internally. Used on close study.
+ */
+void SALOME_PYQT_Selector::clear()
+{
+ MESSAGE("clear");
+ myLocalEntries.clear();
+ mySelectedList.clear();
+ myEntries.clear();
+}
+
/*!
\brief Get Python module interface instance.
\return a pointer to the Python module interface instance.