MeVisLab Scripting Reference
MLABFindSCU Class Reference
Inheritance diagram for MLABFindSCU:
MLABBaseDicomTool

Public Slots

void setEncoding (Encoding enc)
 
void setOverrideKeys (const QVariantMap &keys)
 
void setQueryModel (QueryModel model)
 
- Public Slots inherited from MLABBaseDicomTool
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 receivedResultSet (const QVariantMap &result)
 
- Signals inherited from MLABBaseDicomTool
void finished (bool success)
 

Protected Member Functions

void cancel () override
 

Additional Inherited Members

- Public Types inherited from MLABBaseDicomTool
enum  Encoding { QueryEncoding , Latin1 , Utf8 }
 
enum  QueryModel { }
 

Detailed Description

This class is the object that executes a DICOM query.

You can configure the object and connect to its receivedResultSet signal to receive the results, then you call "start()" (to run the query asynchronously) or "run()" to run it synchronously.

Member Function Documentation

◆ cancel()

void MLABFindSCU::cancel ( )
overrideprotectedvirtual

Cancel execution in asynchronous mode.

This is done by sending the cancel request the next time a result record is received, so it may take some time.

Implements MLABBaseDicomTool.

◆ receivedResultSet

void MLABFindSCU::receivedResultSet ( const QVariantMap &  result)
signal

Connect to this signal to receive the result sets (one at a time).

◆ setEncoding

void MLABFindSCU::setEncoding ( Encoding  enc)
slot

Set character encoding mode (see MLABBaseDicomTool::Encoding)

◆ setOverrideKeys

void MLABFindSCU::setOverrideKeys ( const QVariantMap &  keys)
slot

Set query keys.

If a value is None or empty the value is retrieved from the PACS, otherwise is constitutes part of the query.

◆ setQueryModel

void MLABFindSCU::setQueryModel ( QueryModel  model)
slot

Set query information model.