feat(core): various improvement related to validator
Description
Various improvement:
- Add direct access to SOP class uid in Series
-
Application::exit()
can now be synchronous. In this case, it will immediately throw anExitException
which is caught inAppConfigManager
(when in the startup sequence) and insight::ui::qt::App::notify
. This will permit early exit without partially creating the gui and exiting just after. -
SLandmarks
can have a limit per group, per visible landmarks or total usingconfigureNewLandmarks()
slot -
SLandmarks
has been cleaned, and some bugs fixed: updating now correctly remove ghost landmarks that are defined in Ogre context but do not belong to the data::Landmarks anymore. -
SSequencer
will now correctly refresh activity validation when callingcheckNext()
- New
validateNext()
slot in SSequencer that emitsnextValidated(true/false)
,nextValid
ornextInvalid
without enabling other activities (though invalid one are disabled). -
SSequencer
can now reset requirement when reloading an activity with thereset
attribute (by default,reset
= 'false'):
...
<requirement name="patientRegistration" type="sight::data::Matrix4" minOccurs="0" maxOccurs="1" create="true" reset="true">
<desc>Patient registration matrix.</desc>
</requirement>
...
How to test it?
- Launch a third party application that demonstrate the use...