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

Uploaded Source

File details

Details for the file editorium-0.0.0.30.tar.gz.

File metadata

  • Download URL: editorium-0.0.0.30.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for editorium-0.0.0.30.tar.gz
Algorithm Hash digest
SHA256 13ff1f0ceb1c71e9e70858501cc99dacb950baba6185f0de7b8c93f5b5e5738d
MD5 919fed7938ab72688c67098091c2a9f1
BLAKE2b-256 c1c859fcf0761a93e49e817d23670f22a6b11d7097ccfc8630145179f1274bc7

See more details on using hashes here.

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