MLABDicomBrowserControl Class Reference
[GUI Controls]

DicomBrowser control. More...

Inherits MLABSimpleWidgetControl.

List of all members.

Public Slots

void expandSelectedDataset (int listViewID)
void selectedParentDataset (int listViewID)
QString currentDir ()
bool isFirstSelected ()
bool isLastSelected ()
int numDatasets ()
void reload ()
QString rootDir ()
bool selectNextDataset ()
bool selectPrevDataset ()
void setCurrentDir (const QString &dir)
bool setDataset (const QString &dataset)
bool setDicomHierarchy (const QString &name)
void setFilter (const QString &extension, const QString &include, const QString &exclude, bool recursive)
void setPathBrowser (MLABPathBrowserControl *c)
void setProject (const QString &project)
void setRootDir (const QString &dir)
void setTableView (MLABDicomBrowserTableControl *t)


Detailed Description

DicomBrowser control.

This control shows a DicomBrowser.

MDL reference: DicomBrowser


Member Function Documentation

QString MLABDicomBrowserControl::currentDir (  )  [inline, slot]

Returns the current Dir of the DicomBrowser.

void MLABDicomBrowserControl::expandSelectedDataset ( int  listViewID  )  [slot]

Expand the selected Dataset.

bool MLABDicomBrowserControl::isFirstSelected (  )  [slot]

Return true, if the first Dataset is selected.

bool MLABDicomBrowserControl::isLastSelected (  )  [slot]

Return true, if the last Dataset is selected.

int MLABDicomBrowserControl::numDatasets (  )  [slot]

Returns the number of datasets currently in the DicomBrowser.

void MLABDicomBrowserControl::reload (  )  [slot]

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

QString MLABDicomBrowserControl::rootDir (  )  [inline, slot]

Returns the RootPath of the DicomBrowser.

void MLABDicomBrowserControl::selectedParentDataset ( int  listViewID  )  [slot]

Go to the Parent of the selected Dataset.

bool MLABDicomBrowserControl::selectNextDataset (  )  [slot]

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

Return false, if there was no next Dataset.

bool MLABDicomBrowserControl::selectPrevDataset (  )  [slot]

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

Return false, if there was no previous Dataset.

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

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

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

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

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

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

Set the file-filter for searching files.

void MLABDicomBrowserControl::setPathBrowser ( MLABPathBrowserControl c  )  [slot]

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

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

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

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

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

void MLABDicomBrowserControl::setTableView ( MLABDicomBrowserTableControl t  )  [slot]

Set the TableView for this DicomBrowser.


Generated on Sat Sep 3 18:38:02 2011 for MeVisLab Scripting Reference by  doxygen 1.5.8