Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 897 Bytes

File metadata and controls

25 lines (16 loc) · 897 Bytes

ConfigObj-GUI provides a PyQt based mechanism to edit ConfigObj configurations. It is intended to be used as a library to help configure PyQt based applications using ConfigObj.

Note that the library is not very robust yet as it has not been tested very much.

The basic usage is as follows:

import sys
from PyQt4.QtGui import QApplication
import configobj
import configobj_gui

app = QApplication(sys.argv)

spec = configobj.ConfigObj('yourspecfile', list_values=False)
conf = configobj.ConfigObj('yourconffile', configspec=spec)

wnd = configobj_gui.ConfigWindow(conf, spec)
wnd.show()

app.exec_()
print conf

Support the developer if you like this software:

Donate using Liberapay