Professional Qt Style Sheet (QSS) editing for JetBrains IDEs
Works in CLion, PyCharm, IntelliJ IDEA, WebStorm, Rider, and other IntelliJ Platform IDEs.
QSS Toolkit brings dedicated Qt Style Sheet support directly into JetBrains IDEs. It helps you write, validate, navigate, organize colors, and live-preview .qss changes without switching to external tools.
- Live Preview Tools - Generate PySide, PyQt, or C++ Qt helper files that reload a selected
.qssfile when it is saved. - Revamped QSS Colors panel - Organize saved colors with folders, search, drag/drop, multi-select actions, import/export, and editable swatches.
- Editor context menu - Use
Insert Color,Save Color, andEnable Live Previewdirectly from QSS files. - More color formats - Added HSL/HSLA and HSV/HSVA support alongside hex, RGB, RGBA, palette colors, transparent values, and Qt gradients.
- Validation fixes - Improved handling for Qt-specific properties,
qproperty-*declarations, border values, and Qt color functions. - IDE compatibility - Supports JetBrains IDE builds from 2024.2 through 2026.2.
- Syntax highlighting, parsing, code folding, structure view, comments, bracket matching, and smart editing for
.qssfiles. - Completion for Qt widgets, properties, values, sub-controls, pseudo-states, and chained selectors such as
QScrollBar::handle:vertical:hover. - Real-time validation for unknown properties, invalid values, incorrect units, malformed declarations, and common QSS mistakes.
- Qt-aware syntax support for
qproperty-*, palette roles, gradients, icon properties, and template placeholders such as{{BUTTON_COLOR}}.
- Gutter color previews for supported color values.
- Visual color picker with HSV, HSL, and RGB editing modes.
- Format-aware editing for hex, RGB/RGBA, HSL/HSLA, HSV/HSVA, palette colors, transparent values, and Qt gradients.
- QSS Colors tool window for saving, searching, renaming, organizing, importing, exporting, copying, and inserting reusable colors.
- Generate helper files for PySide6, PyQt6, PySide2/PyQt5, or C++ Qt.
- Helpers watch the selected
.qssfile and reload it in the running Qt app when saved. - No debugger hooks, process injection, or external watcher setup required.
- Works after adding one setup call to your app after
QApplicationis created.
QSS Toolkit works in JetBrains IDEs with no language-specific dependency.
| IDE | Use Case |
|---|---|
| CLion | C++ Qt development |
| PyCharm | Python Qt with PySide or PyQt |
| IntelliJ IDEA | Java Qt or mixed projects |
| WebStorm | Qt for WebAssembly or frontend-adjacent projects |
| Rider | .NET Qt development |
| Other IntelliJ IDEs | Any project that uses .qss files |
- Open your JetBrains IDE.
- Go to Settings/Preferences -> Plugins.
- Open the Marketplace tab.
- Search for QSS Toolkit.
- Click Install.
- Restart the IDE if prompted.
- Download the latest
.zipfrom the Releases page. - Open Settings/Preferences -> Plugins.
- Click the gear icon.
- Choose Install Plugin from Disk....
- Select the downloaded
.zip.
- Create or open any
.qssfile. - Use Ctrl+Space for completion.
- Use the gutter color swatches to edit colors.
- Use the Structure tool window to navigate selectors and properties.
- Open View -> Tool Windows -> QSS Colors.
- Create color folders and add reusable colors.
- Search, rename, drag/drop, import, export, copy, or insert saved colors.
- Use the editor context menu to insert saved colors or save selected colors without leaving the file.
- Open a
.qssfile. - Right-click in the editor.
- Choose QSS Toolkit -> Enable Live Preview.
- Select PySide6, PyQt6, PySide2/PyQt5, or C++ Qt.
- Add the generated setup call to your app after
QApplicationis created. - Run your app, edit the
.qssfile, and save to reload the stylesheet.
- Properties: layout, spacing, colors, borders, fonts, outlines, icons,
qproperty-*, and Qt-specific properties. - Widgets: common Qt widgets including buttons, labels, inputs, combo boxes, scroll bars, sliders, menus, views, tabs, toolbars, docks, and more.
- Sub-controls:
::handle,::groove,::indicator,::drop-down,::item,::branch,::separator,::title, and more. - Pseudo-states:
:hover,:pressed,:checked,:disabled,:focus,:selected,:horizontal,:vertical, and more. - Colors: hex, RGB/RGBA, HSL/HSLA, HSV/HSVA, Qt palette colors, transparent values, and Qt gradients.
Issues and pull requests are welcome.
When reporting a bug, include:
- IDE name and version
- Plugin version
- Steps to reproduce
- Sample QSS code, if applicable
This project is licensed under the Apache License 2.0.
- GitHub: https://github.com/avaxerrr
- Issues: GitHub Issues
- Email: zonemaxq@gmail.com
QSS Toolkit is not affiliated with JetBrains or Qt.