QConfigEditor

Inheritance diagram of QConfigEditor
class QConfigEditor(parent=None, designMode=False)[source]

Bases: taurus.qt.qtgui.container.tauruswidget.TaurusWidget

A widget that shows a tree view of the contents of Taurus configuration files saved by TaurusMainWindow and lets the user edit the values of the configuration keys

contextMenuEvent(event)[source]

Reimplemented from QWidget.contextMenuEvent()

loadFile(iniFileName=None)[source]

Loads a configuration stored in a file and creates the tree.

IniFileName:(str) Name of the file. If None is given the user is prompted for a file.
restoreOriginal()[source]

Replaces temporary file with the original file and builds again the configuration tree.

saveFile()[source]

Replaces original file with temporary file (where changes were being saved).