MeVisLab Scripting Reference
|
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 () |
MLABWidgetControl * | control (const QString &name) |
float | scaleFactor () |
MLABModule * | module () |
QString | getType () |
QString | getName () |
bool | acceptDrops () |
void | setAcceptDrops (bool flag) |
void | raiseWidget () |
void | setStyleSheetFromString (const QString &styleSheetText) |
void | setStyleSheetFromFile (const QString &styleSheetFileName) |
MLABTree * | tree () |
void | updateMaxSize () |
bool | expandX () |
bool | expandY () |
MLABTreePtr | getDefaultTagValues () const |
virtual bool | hasUncommittedChanges () const |
virtual void | applyUncommittedChanges () |
virtual void | revertUncommittedChanges () |
MLABField * | field () const |
|
inlineslot |
Returns the current Dir of the DicomBrowser.
|
slot |
Expand the selected Dataset.
|
slot |
Return true, if the first Dataset is selected.
|
slot |
Return true, if the last Dataset is selected.
|
slot |
Script access Returns the number of datasets currently in the DicomBrowser
|
slot |
Reload the DicomHierarchy from disk, used when the filesystem was updated.
|
inlineslot |
Returns the RootPath of the DicomBrowser.
|
slot |
Go to the Parent of the selected Dataset.
|
slot |
Select the next Dataset or the first, if none was selected before.
Return false, if there was no next Dataset.
|
slot |
Select the previous Dataset or the last, if none was selected before.
Return false, if there was no previous Dataset.
|
slot |
Set the current Dir, normally used by PathBrowser, results in a reload of the DicomHierarchy.
|
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
|
slot |
Set a new DicomHierarchy, results in a reload. Returns false if the hierarchy does not exist.
|
slot |
Set the file-filter for searching files.
|
slot |
Set the PathBrowser for this DicomBrowser, results in an update of currentPath and a Reload.
|
slot |
Set a new Project for the DicomBrowser, results in loading a new DicomHierarchy.
|
slot |
Set the RootDir, results in a Reaload of the DicomHierarchy.
|
slot |
Set the TableView for this DicomBrowser.