MeVisLab Scripting Reference
MLABDicomBrowserControl Class Reference
Inheritance diagram for MLABDicomBrowserControl:
MLABSimpleWidgetControl MLABWidgetControl

Public Slots

void expandSelectedDataset (int listViewID)
 
void selectedParentDataset (int listViewID)
 
int numDatasets ()
 
QString rootDir ()
 
QString currentDir ()
 
void reload ()
 
void setProject (const QString &project)
 
bool setDicomHierarchy (const QString &name)
 
void setFilter (const QString &extension, const QString &include, const QString &exclude, bool recursive)
 
void setRootDir (const QString &dir)
 
void setCurrentDir (const QString &dir)
 
void setPathBrowser (MLABPathBrowserControl *c)
 
void setTableView (MLABDicomBrowserTableControl *t)
 
bool setDataset (const QString &dataset)
 
bool selectNextDataset ()
 
bool selectPrevDataset ()
 
bool isFirstSelected ()
 
bool isLastSelected ()
 
- Public Slots inherited from MLABWidgetControl
void adjustSize ()
 
virtual void setEnabled (bool flag)
 
virtual void setVisible (bool flag)
 
virtual bool isVisible ()
 
virtual void setFocus ()
 
virtual bool hasFocus ()
 
virtual void setToolTip (const QString &string)
 
virtual void setWhatsThis (const QString &string)
 
void displayWhatsThis ()
 
void displayWhatsThis (const QString &text)
 
virtual void setTitle (const QString &)
 
QWidget * widget ()
 
QLayout * layout ()
 
virtual QString windowHandle ()
 
virtual bool createScreenshot (const QString &filename, bool grabFromScreen=true, bool scaleToLowRes=false)
 
bool isReloadable () const
 
void reload (MLABTree *tree)
 
QString createGlobalScreenshot ()
 
QString applicationName ()
 
QSize size ()
 
int width ()
 
int height ()
 
int minWidth ()
 
int minHeight ()
 
int maxWidth ()
 
int maxHeight ()
 
virtual void setMinWidth (int s)
 
virtual void setMinHeight (int s)
 
void setMaxWidth (int s)
 
void setMaxHeight (int s)
 
QSize sizeHint ()
 
QSize minSize ()
 
QSize maxSize ()
 
void setMinSize (QSize size)
 
void setMaxSize (QSize size)
 
void updateLayout ()
 
int windowID ()
 
MLABWidgetControlcontrol (const QString &name)
 
float scaleFactor ()
 
MLABModulemodule ()
 
QString getType ()
 
QString getName ()
 
bool acceptDrops ()
 
void setAcceptDrops (bool flag)
 
void raiseWidget ()
 
void setStyleSheetFromString (const QString &styleSheetText)
 
void setStyleSheetFromFile (const QString &styleSheetFileName)
 
MLABTreetree ()
 
void updateMaxSize ()
 
bool expandX ()
 
bool expandY ()
 
MLABTreePtr getDefaultTagValues () const
 
virtual bool hasUncommittedChanges () const
 
virtual void applyUncommittedChanges ()
 
virtual void revertUncommittedChanges ()
 
MLABFieldfield () const
 

Detailed Description

DicomBrowser control.

This control shows a DicomBrowser.

MDL reference: DicomBrowser

Member Function Documentation

◆ currentDir

QString MLABDicomBrowserControl::currentDir ( )
inlineslot

Returns the current Dir of the DicomBrowser.

◆ expandSelectedDataset

void MLABDicomBrowserControl::expandSelectedDataset ( int  listViewID)
slot

Expand the selected Dataset.

◆ isFirstSelected

bool MLABDicomBrowserControl::isFirstSelected ( )
slot

Return true, if the first Dataset is selected.

◆ isLastSelected

bool MLABDicomBrowserControl::isLastSelected ( )
slot

Return true, if the last Dataset is selected.

◆ numDatasets

int MLABDicomBrowserControl::numDatasets ( )
slot

Script access Returns the number of datasets currently in the DicomBrowser

◆ reload

void MLABDicomBrowserControl::reload ( )
slot

Reload the DicomHierarchy from disk, used when the filesystem was updated.

◆ rootDir

QString MLABDicomBrowserControl::rootDir ( )
inlineslot

Returns the RootPath of the DicomBrowser.

◆ selectedParentDataset

void MLABDicomBrowserControl::selectedParentDataset ( int  listViewID)
slot

Go to the Parent of the selected Dataset.

◆ selectNextDataset

bool MLABDicomBrowserControl::selectNextDataset ( )
slot

Select the next Dataset or the first, if none was selected before.

Return false, if there was no next Dataset.

◆ selectPrevDataset

bool MLABDicomBrowserControl::selectPrevDataset ( )
slot

Select the previous Dataset or the last, if none was selected before.

Return false, if there was no previous Dataset.

◆ setCurrentDir

void MLABDicomBrowserControl::setCurrentDir ( const QString &  dir)
slot

Set the current Dir, normally used by PathBrowser, results in a reload of the DicomHierarchy.

◆ setDataset

bool MLABDicomBrowserControl::setDataset ( const QString &  dataset)
slot

Set the current Dataset.

Must give full absPath e.g. as returned by selectedDatasets() Returns true on success, or false, e.g. if given dataset does not exist

◆ setDicomHierarchy

bool MLABDicomBrowserControl::setDicomHierarchy ( const QString &  name)
slot

Set a new DicomHierarchy, results in a reload. Returns false if the hierarchy does not exist.

◆ setFilter

void MLABDicomBrowserControl::setFilter ( const QString &  extension,
const QString &  include,
const QString &  exclude,
bool  recursive 
)
slot

Set the file-filter for searching files.

◆ setPathBrowser

void MLABDicomBrowserControl::setPathBrowser ( MLABPathBrowserControl c)
slot

Set the PathBrowser for this DicomBrowser, results in an update of currentPath and a Reload.

◆ setProject

void MLABDicomBrowserControl::setProject ( const QString &  project)
slot

Set a new Project for the DicomBrowser, results in loading a new DicomHierarchy.

◆ setRootDir

void MLABDicomBrowserControl::setRootDir ( const QString &  dir)
slot

Set the RootDir, results in a Reaload of the DicomHierarchy.

◆ setTableView

void MLABDicomBrowserControl::setTableView ( MLABDicomBrowserTableControl t)
slot

Set the TableView for this DicomBrowser.