QConfigEditor

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

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

Import from taurus.qt.qtgui.panel as:

from taurus.qt.qtgui.panel import QConfigEditor
contextMenuEvent(event)[source]

Reimplemented from QWidget.contextMenuEvent()

loadFile(iniFileName=None)[source]

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

Parameters

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).