pySimBlocks.gui.graphics.theme¶
- class pySimBlocks.gui.graphics.theme.Theme(scene_bg: QColor, block_bg: QColor, block_bg_selected: QColor, block_border: QColor, block_border_selected: QColor, text: QColor, text_type: QColor, text_selected: QColor, text_type_selected: QColor, wire: QColor, port_in: QColor, port_out: QColor)[source]¶
Bases:
objectStore the GUI color palette used by the graphics layer.
- scene_bg: QColor¶
Scene background color.
- block_bg: QColor¶
Default block background color.
- block_bg_selected: QColor¶
Selected block background color.
- block_border: QColor¶
Default block border color.
- block_border_selected: QColor¶
Selected block border color.
- text: QColor¶
Default text color.
- text_type: QColor¶
- text_selected: QColor¶
Selected text color.
- text_type_selected: QColor¶
- wire: QColor¶
Connection wire color.
- port_in: QColor¶
Input port color.
- port_out: QColor¶
Output port color.