Commit 356a66e9 authored by saubatn's avatar saubatn
Browse files

FIXED Some configuration information missing or wrong, used for windows user packaging.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@2119 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 62f886d6
......@@ -3,6 +3,7 @@ camitk_extension( ACTION_EXTENSION
NEEDS_COMPONENT_EXTENSION pmlcomponent
NEEDS_CEP_LIBRARIES pml pmlschema
NEEDS_XSD
CEP_NAME CEP_MODELING
DESCRIPTION "Feature PML actions which aims at displaying and manipulating structural information about a PML component."
)
......@@ -45,4 +45,6 @@ camitk_library( STATIC
HEADERS_TO_INSTALL ${monitoringgui_HEADERS_TO_EXPORT}
INCLUDE_DIRECTORIES ${MML_INCLUDE_DIRECTORIES}
NEEDS_QT_MODULES
CEP_NAME CEP_MODELING
DESCRIPTION "Allows one to monitor a biomechanical deformation using a GUI."
)
......@@ -3,5 +3,7 @@
camitk_extension(ACTION_EXTENSION
TEST_APPLICATION ${APPLICATION_TEST_ACTION}
TEST_FILES
CEP_NAME SDK
DESCRIPTION "Allows one to change a component position and orientation by changing its frame."
)
# Call CamiTK CMake Macro to define the action
camitk_extension(ACTION_EXTENSION
NEEDS_COMPONENT_EXTENSION vtkmesh
INCLUDE_DIRECTORIES ../../../components/vtkmesh
TEST_APPLICATION ${APPLICATION_TEST_ACTION}
TEST_FILES bassin.msh diaphragm.pml head1.STL liver-smooth.obj Mesh.off mixed_3D_beam.msh robot.wrl scissors.obj simple.vtk sinus_skin.vtk sinus_skull.vtk skull1.stl structured.vtk testrgba.nrrd truthcube.pml
)
camitk_extension( ACTION_EXTENSION
NEEDS_COMPONENT_EXTENSION vtkmesh
TEST_APPLICATION ${APPLICATION_TEST_ACTION}
TEST_FILES bassin.msh diaphragm.pml head1.STL liver-smooth.obj Mesh.off mixed_3D_beam.msh robot.wrl scissors.obj simple.vtk sinus_skin.vtk sinus_skull.vtk skull1.stl structured.vtk testrgba.nrrd truthcube.pml
CEP_NAME SDK
DESCRIPTION "Allows one to reorient a volumic image."
)
......@@ -506,7 +506,7 @@ void ImpMainWindow::editSettings() {
// construct a dynamic property object
QObject *myProperties = new QObject;
myProperties->setObjectName(Application::getName());
myProperties->setProperty ( "autoLoadLastOpened", autoLoadLastOpened );
myProperties->setProperty ( "Auto load last opened components", autoLoadLastOpened );
settingsDialog.editSettings ( myProperties );
// edit all viewers that have properties
......@@ -524,11 +524,11 @@ void ImpMainWindow::editSettings() {
}
// update the property
autoLoadLastOpened = myProperties->property ( "autoLoadLastOpened" ).toBool();
autoLoadLastOpened = myProperties->property ( "Auto load last opened components" ).toBool();
// save it in the settings
QSettings & settings = Application::getSettings();
settings.beginGroup ( Application::getName() + ".Application" );
settings.setValue ( "autoLoadLastOpened", autoLoadLastOpened );
settings.setValue ( "Auto load last opened components", autoLoadLastOpened );
settings.endGroup();
// check if there are anything to change in the data directory menu (for data directory manager)
......@@ -546,7 +546,7 @@ void ImpMainWindow::initSettings() {
settings.beginGroup (Application::getName() + ".Application");
// the autoload option
autoLoadLastOpened = settings.value ( "autoLoadLastOpened", false ).toBool(); // default false
autoLoadLastOpened = settings.value ( "Auto load last opened components", false ).toBool(); // default false
settings.endGroup();
}
......
......@@ -12,9 +12,9 @@ gather_headers_and_sources(CEPGENERATOR)
camitk_library( STATIC
SOURCES ${CEPGENERATOR_HEADERS} ${CEPGENERATOR_SOURCES}
NEEDS_XSD
NEEDS_XERCESC
NEEDS_CEP_LIBRARIES cepcoreschema
CEP_NAME OZ
NEEDS_XERCESC
NEEDS_CEP_LIBRARIES cepcoreschema
CEP_NAME SDK
DESCRIPTION "Create CEP and file skeletons from xml files"
)
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