MLABPathBrowserControl Class Reference
[GUI Controls]

PathBrowser control. More...

Inherits MLABWidgetControl.

List of all members.

Public Slots

void cd (const QString &dir)
void refresh ()
void setRootDir (const QString &root)
void setSortMode (const QString &mode="name")


Detailed Description

PathBrowser control.

This control shows a directory path browser and is used together with the DicomBrowser (MLABDicomBrowserControl).

MDL reference: PathBrowser


Member Function Documentation

void MLABPathBrowserControl::cd ( const QString &  dir  )  [slot]

Change Directory relative to RootDir, updates the contents.

void MLABPathBrowserControl::refresh (  )  [slot]

Reload the contents, used when filesystem has changed.

void MLABPathBrowserControl::setRootDir ( const QString &  root  )  [slot]

Set the RootDir for the PathBrowser, updates the contents.

void MLABPathBrowserControl::setSortMode ( const QString &  mode = "name"  )  [slot]

Sets the SortMode for the content, sort by "name", "time", "size" or "unsorted".


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