For document editing apps: classes for styling docs e.g. StyleSheet, Styleable, StyleProperty, Formation. Emphasis on object design.  Uses Python PySide Qt QGraphicsItems.  Demo app.