taurus taurus

Previous topic

taurus.qt.qtgui.extra_sardana.ui

Next topic

MntGrpChannelEditor

This Page

ExpDescriptionEditor

Inheritance diagram of ExpDescriptionEditor

class ExpDescriptionEditor(parent=None, door=None)

Bases: PyQt4.QtGui.QWidget, taurus.qt.qtgui.base.taurusbase.TaurusBaseWidget

A widget for editing the configuration of a experiment (measurement groups, plot and storage parameters, etc).

It receives a Sardana Door name as its model and gets/sets the configuration using the ExperimentConfiguration environmental variable for that Door.

changeActiveMntGrp(activeMntGrpName)
closeEvent(event)

This event handler receives widget close events

createMntGrp()

creates a new Measurement Group

deleteMntGrp()

creates a new Measurement Group

getLocalConfig()
getModelClass()

reimplemented from TaurusBaseWidget

isDataChanged()

Tells if the local data has been modified since it was last refreshed

Return type::class:~`bool`
Returns:True if he local data has been modified since it was last refreshed
onChooseScanDirButtonClicked()
onCompressionCBChanged(idx)
onDialogButtonClicked(button)
onFilenameLEEdited(text)
onPathLEEdited(text)
onPreScanSnapshotChanged(items)
setLocalConfig(conf)

gets a ExpDescription dictionary and sets up the widget

setModel(model)

reimplemented from TaurusBaseWidget

writeExperimentConfiguration(ask=True)

sends the current local configuration to the door

Parameters:ask (:class:~`bool`) – If True (default) prompts the user before saving.