MeVisLab Scripting Reference
|
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 |
Cancels asynchronous execution. Not all derived classes may implement this.
Implemented in MLABPlainDicomTool, and MLABFindSCU.
|
signal |
Emitted when the execution of the tool finishes (also when run synchronously).
|
slot |
Returns error messages of the last execution of this tool.
|
slot |
Runs tool (waits until finished), returns if execution was successful.
|
slot |
Sets AET title of the called instance.
|
slot |
Sets AET title of the calling instance.
|
slot |
Runs tool asynchronously. Connects to finished() signal to get notified when execution finishes.
|
slot |
Waits for asynchronous execution to finish.
This may also block receiving of results, so it might be better to call run() in the first place.