MeVisLab Scripting Reference
|
#include <mlabBaseDicomTool.h>
Inherits QObject.
Inherited by MLABFindSCU, and MLABPlainDicomTool.
Public Types | |
enum | Encoding { QueryEncoding , Latin1 , Utf8 } |
enum | QueryModel { } |
Public Slots | |
virtual void | cancel ()=0 |
QStringList | getErrorMessages () const |
bool | run () |
void | setCalledAET (const QString &aet) |
void | setCallingAET (const QString &aet) |
bool | start () |
bool | wait (unsigned long time=ULONG_MAX) |
Signals | |
void | finished (bool success) |
Base class for all Dicom tools of this script extension.
It implements basic setup and handling of the thread (if used).
Character encoding mode to use when querying a PACS.
|
pure virtualslot |
Cancel asynchronous execution. Not all derived classes may implement this.
Implemented in MLABFindSCU, and MLABPlainDicomTool.
|
signal |
emitted when the execution of the tool finishes (also when run synchronously).
|
slot |
Get error messages of the last execution of this tool.
|
slot |
Run tool (waits until finished), return if execution was successful.
|
slot |
Set AET title of called instance.
|
slot |
Set AET title of calling instance.
|
slot |
Run tool asynchronously. Connect to finished() signal to get notified when execution finishes.
|
slot |
Wait for asynchronous execution to finish.
This may also block receiving of results, so it might be better to call run() in the first place.