Application Preference Styles not in 3.12.3
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Application Preference Styles not in 3.12.3
Hello
QCAD 3.12.3 does not have the option for the Layout : Styles included in the application preferences. Is this removed on purpose?
Thanks
Jason
Windows 7, Windows 10
QCAD 3.12.3 does not have the option for the Layout : Styles included in the application preferences. Is this removed on purpose?
Thanks
Jason
Windows 7, Windows 10
- Attachments
-
- preferences.PNG (170.1 KiB) Viewed 10179 times
Jason
Win 10, Win 7
Win 10, Win 7
Re: Application Preference Styles not in 3.12.3
Yes, styles were removed from QCAD in version 3.12.x because they are incompatible with newer Qt versions (>=5).
Re: Application Preference Styles not in 3.12.3
Would it be - or is it too time consuming to look at this and offer some new styles, I'm particularly thinking about different colour schemes more than anything else?
Thanks
Clive
Thanks
Clive
Re: Application Preference Styles not in 3.12.3
Unfortunately, color scheme / theme design is quite laborious, yes.
QCAD 3.14.1 comes with an experimental example theme in the 'themes' directory. This is a theme originally created for another Qt application (Qt Creator) which I've adjusted slightly. It's all CSS stylesheets and pretty straight forward, so anyone with design skills and CSS experience should be able to adjust it further or create a new theme without requiring any programming skills.
The theme can be set under Edit > Application Preferences > General > Theme. A restart is currently required, though I'm not sure why..
QCAD 3.14.1 comes with an experimental example theme in the 'themes' directory. This is a theme originally created for another Qt application (Qt Creator) which I've adjusted slightly. It's all CSS stylesheets and pretty straight forward, so anyone with design skills and CSS experience should be able to adjust it further or create a new theme without requiring any programming skills.
The theme can be set under Edit > Application Preferences > General > Theme. A restart is currently required, though I'm not sure why..
Re: Application Preference Styles not in 3.12.3
This is really great Andrew, thanks for this I like it a lot. Although for some css would be straight forward to understand and make additional styles for QCAD like this ... I'm afraid it's still beyond me. I wonder if it would be possible when you have the time to maybe make another style like this but in a more green style?
Thanks again
Clive
Thanks again
Clive
Re: Application Preference Styles not in 3.12.3
I'm not planning to add any more styles, but the CSS provided in themes/Dark/stylesheet.css can be modified really easily into a new, similar theme with different colors.
It would require nothing more than replacing the various gray colors with something else.
Color codes look like this: #3c3f41 which looks complicated but is really just a hexadecimal, unique code for a color.
These codes can for example be visualised or found using online color pickers or color wheels:
http://www.w3schools.com/colors/colors_picker.asp
http://color.adobe.com
It would require nothing more than replacing the various gray colors with something else.
Color codes look like this: #3c3f41 which looks complicated but is really just a hexadecimal, unique code for a color.
These codes can for example be visualised or found using online color pickers or color wheels:
http://www.w3schools.com/colors/colors_picker.asp
http://color.adobe.com
Re: Application Preference Styles not in 3.12.3
Thanks Andrew, okay I'll give it a go
Re: Application Preference Styles not in 3.12.3
Okay I'm now looking in the .txt document and where do i start, it would be easier if the code had the colour 'Gray' beside it
Re: Application Preference Styles not in 3.12.3
Excellent! Let me know if you bump into any problems.
Some more resources for creating / finding matching colors:
http://colorschemedesigner.com/
http://www.colourlovers.com/palettes
But there are many more, so it's usually not necessary to figure out these codes with a calculator
Some more resources for creating / finding matching colors:
http://colorschemedesigner.com/
http://www.colourlovers.com/palettes
But there are many more, so it's usually not necessary to figure out these codes with a calculator
Re: Application Preference Styles not in 3.12.3
All codes looking like #xxxxxx where x is 1-9 or a-f are color codes. A theme uses multiple colors. For the dark theme, the colors are all some shade of gray with very few exceptions (tabs for example).Clive wrote:it would be easier if the code had the colour 'Gray' beside it
One way to find out what one code does is to change it to red and then check what is affected by the change (red is #ff0000). Then pick the desired color and replace #ff0000 with the desired color code.
Re: Application Preference Styles not in 3.12.3
Okay many thanks for the insight. I'll see how I get on.
-
- Registered Member
- Posts: 1
- Joined: Tue Apr 24, 2018 8:03 am