I am writing to report a bug that I encountered while using your plugin. When applying the QSS file to my application, I received an error message stating:
Open the QSS file in my application.
Apply the QSS file to the desired widget.
Observe the error message in the console or log.
QSS File Content: QLabel#label_main_big{ color:#FFFFFF; font:32px; font-weight: demibold; min-height: 38px; max-height: 38px; }
Expected Behavior: I expected the QSS file to be applied without any errors, and the font-weight property to accept the "demibold" value.
Actual Behavior: The plugin throws an error at the line "font-weight: demibold;", indicating an unexpected token 'd'.
Please let me know if you require any additional information or steps to reproduce the issue. I appreciate your prompt attention to this matter and look forward to your response.
Thank you.
Sincerely, wuhan
Reproduction steps
1: Open the xxx.qss file and wait for CLion to complete indexing and compilation.
2: View the error details.
Plugin
Qt Style Sheets Editor
Describe the bug
Dear Support Team,
I am writing to report a bug that I encountered while using your plugin. When applying the QSS file to my application, I received an error message stating:
"Unexpected token 'd'. Expected , QssTokenType.ALIGNMENT_KEYWORD, QssTokenType.BOOLEAN_VALUE, QssTokenType.BORDER_STYLE, QssTokenType.DIGIT_VALUE, QssTokenType.KEYWORD_VALUE, QssTokenType.METRIC_VALUE, QssTokenType.NONE_KEYWORD, QssTokenType.NORMAL_KEYWORD, QssTokenType.PROPERTY_VALUE_CANDIDATE, QssTokenType.STRING_VALUE, or QssTokenType.URL_FUNTION_NAME."
Error Details:
Plugin Version: [Insert Plugin Version] Operating System: [Insert Operating System] Application Version: [Insert Application Version] Steps to Reproduce:
Open the QSS file in my application. Apply the QSS file to the desired widget. Observe the error message in the console or log. QSS File Content: QLabel#label_main_big{ color:#FFFFFF; font:32px; font-weight: demibold; min-height: 38px; max-height: 38px; }
Expected Behavior: I expected the QSS file to be applied without any errors, and the font-weight property to accept the "demibold" value.
Actual Behavior: The plugin throws an error at the line "font-weight: demibold;", indicating an unexpected token 'd'.
Please let me know if you require any additional information or steps to reproduce the issue. I appreciate your prompt attention to this matter and look forward to your response.
Thank you.
Sincerely, wuhan
Reproduction steps
1: Open the xxx.qss file and wait for CLion to complete indexing and compilation. 2: View the error details.