Skip to content

Update Multi Script Editor to work with Python 3, Pyside6 and newer Maya, Nuke and Houdini versions#11

Open
charliewales wants to merge 194 commits into
paulwinex:masterfrom
charliewales:master
Open

Update Multi Script Editor to work with Python 3, Pyside6 and newer Maya, Nuke and Houdini versions#11
charliewales wants to merge 194 commits into
paulwinex:masterfrom
charliewales:master

Conversation

@charliewales

Copy link
Copy Markdown

Added a lot of new functionalities

…B profile", keep previous tab focus when removing tabs
- Fix QListView subcontrol syntax for Qt6 in completer.qss

- Format RGB color variables to hexadecimal in design.py

- Fix outputWidget not applying initial theme on startup

- Add optional argument to QAction lambda to support both PySide2 and PySide6 signals
- Fixed regex replacement logic in design.py to not prepend 'rgb' to non-color variables like [textsize] when custom themes declare them.
- Prevent AttributeError by attaching the highlighter to the document only after all internal formats and regex attributes are initialized.
- Pass document to QSyntaxHighlighter.__init__ at the end of the constructor to satisfy PySide2 and PySide6 argument requirements without triggering AttributeError.
- Extracted textsize spinbox update logic from the color dict loop in themeEditor.py to ensure it updates even when a theme lacks the key.
- Wrap textsize spinbox setValue in blockSignals(True/False) to prevent premature triggering of updateExample before colors list widget is populated.
- Added Monokai theme

- Added Solirized Dark theme

- Added Kimbie Dark theme

- Added Multi Script Editor Light theme with cream-toned backgrounds
- Add cross-compatibility fallbacks for font aliases (Nerd Font, NF, NFM, NFP)

- Extend CSS font injection to support Maya (PySide6) as well as Houdini

- Fix PySide2 TypeError with unbound QFontDatabase.families()

- Resolve Qt6 exec_() deprecation warnings via dynamic hasattr execution
- Add `min-width: 65px` and `min-height: 24px` to `QPushButton` in `style.css` to prevent excessively small dialog buttons.
- Update outline widget to inherit theme colors and remove hardcoded styles.
- Dynamically scale outline font size to 1 point/pixel smaller than the editor font.
- Remove fixed `font` property from `completer.qss` to allow dynamic font scaling.
- Fix missing `QFont` import in `scriptEditor.py` causing NameError on startup.
- Add check marks (ticks) to the active theme inside the Theme menu.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants