SET(COMPONENT_NAME SHAPER)
set(SALOME_TEST_LABEL_ADV SHAPR_ADV)
+set(SALOME_TEST_LABEL_SEQ SHAPR_SEQ)
# Add all test subdirs
SUBDIRS(ConnectorAPI
include(tests.set)
-foreach(tfile ${TEST_NAMES})
+foreach(tfile ${TEST_NAMES_PARA})
set(TEST_NAME ${COMPONENT_NAME}_${tfile})
add_test(${TEST_NAME} python ${tfile})
set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
endforeach()
+
+
+foreach(tfile ${TEST_NAMES_SEQ})
+ set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+ add_test(${TEST_NAME} python ${tfile})
+ set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_SEQ}")
+endforeach()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES
+SET(TEST_NAMES_PARA
TestExtrusion.py
TestExtrusionOfCompound.py
TestExtrusionCut.py
Test2817.py
Test19065.py
Test19066.py
- Test19115.py
Test19196.py
TestFillet1D_ErrorMsg.py
TestFillet1D_Vertices_1.py
TestNormalToFace.py
TestLoft.py
)
+
+SET(TEST_NAMES_SEQ
+ Test19115.py
+)
+
+set(TEST_NAMES ${TEST_NAMES_PARA} ${TEST_NAMES_SEQ})
myIsEditEnabled = getApp()->isEditEnabled();
getApp()->setEditEnabled(false);
- // this following row is caused by #187 bug.
- // SALOME saves the dock widget positions before deactivateModule() and
- // load it after the module activation. So, if the panel is visible before
- // deactivate, it becomes visible after activate.
- // In order to avoid the visible property panel, the widget position save is
- // switch off in this module
- aResMgr->setValue("Study", "store_positions", false);
-
// Synchronize displayed objects
Handle(AIS_InteractiveContext) aContext;
if (mySelector && mySelector->viewer())
{
LightApp_Module::updateModuleVisibilityState();
onWhatIs(myIsInspectionVisible);
+
+ // the following code is caused by #187 bug.
+ // SALOME saves the dock widget positions before deactivateModule() and
+ // load it after the module activation. So, if the panel is visible before
+ // deactivate, it becomes visible after activate.
+ // In order to avoid the visible property panel, we hide it here
+ ModuleBase_Operation* anOperation = myWorkshop->module()->currentOperation();
+ if (!anOperation) {
+ myWorkshop->hidePanel(myWorkshop->propertyPanel());
+ }
}
void SHAPERGUI::onEditToolbars()
<parameter name="scalar_bar_text_color" value="#000000" />
<parameter name="shaper_default_transparency" value="0"/>
<parameter name="group_names_display" value="true" />
- <parameter name="group_names_font" value="Arial Black" />
+ <parameter name="group_names_font" value="Times-bold" />
<parameter name="group_names_size" value="12" />
<parameter name="group_names_color" value="#000000" />
</section>
<parameter name="scalar_bar_nb_intervals" value="20" />
<parameter name="scalar_bar_text_color" value="#000000" />
<parameter name="group_names_display" value="true" />
- <parameter name="group_names_font" value="Arial Black" />
+ <parameter name="group_names_font" value="Times-bold" />
<parameter name="group_names_size" value="12" />
<parameter name="group_names_color" value="#000000" />
</section>
//******************************************************
void XGUI_Workshop::hidePanel(QDockWidget* theDockWidget)
{
- if (theDockWidget && theDockWidget == myPropertyPanel) {
+ if (!theDockWidget) return;
+
+ if (theDockWidget == myPropertyPanel) {
QAction* aViewAct = theDockWidget->toggleViewAction();
///<! Do not allow to show empty property panel
aViewAct->setEnabled(false);
}
+
theDockWidget->hide();
// the property panel is active window of the desktop, when it is