Skip to main content

Creates a Qt Editor for arbitrary Python Objects using Reflection.

Project description

Editorium creates Qt editors for objects or functions via reflection.

Object fields or method parameters are reflected and an editor generated for each field or parameter. For instance an int field is generated as a QSpinBox editor.

Please see the StringCoercion project for the command-line equivalent.

Features

  • Generate editor for field/type

  • Generate editors for object

  • Generate editors for function call

  • Read fields from object to editors

  • Write fields from editors into object

  • Supports custom editors and extensions

Default editors

Type

AbstractEditor

QWidget

int

IntEditor

QSpinBox

float

FloatEditor

QLineEdit

str

StringEditor

QLineEdit

Optional[T] [1]

NullableEditor

QCheckBox & Editor(T)

bool

BoolEditor

QCheckBox

Enum

AbstractEnumEditor [3]

QComboBox

Flags

FlagsEditor

QCheckBox[]

List[T]

ListTEditor

Editor(T)`[]`

Filename [2]

AbstractBrowserEditor

QLineEdit & QToolButton

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

editorium-0.0.0.30.tar.gz (15.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page