Previous topic

qarbon.qt.gui.pixmapwidget

Next topic

qarbon.qt.gui.treeqobject

This Page

qarbon.qt.gui.propertyeditor

A widget dedicated view/edit the properties of any QObject.

Example:

from qarbon.external.qt import QtGui
from qarbon.qt.gui.application import Application
from qarbon.qt.gui.propertyeditor import PropertyEditor

app = Application()
inspector = PropertyEditor(qobject=None)

# watch myself... weard
inspector.setQObject(inspector)
inspector.show()
app.exec_()

Inheritance diagram of PropertyEditor

Classes

PropertyEditor A widget dedicated view/edit the properties of any QObject.
class qarbon.qt.gui.propertyeditor.PropertyEditor(parent=None, qobject=None)[source]

Bases: PyQt4.QtGui.QWidget

A widget dedicated view/edit the properties of any QObject.

qobject[source]

returns the current QObject being edited or None if no QObject is associated with the editor.

Returns:the current QObject being edited or None if no QObject is associated with the editor
setQObject(qobject)[source]

Sets the current QObject whose properties are to been seen by the editor.

Parameters:qobject – the new QObject (can be None)