Small adjustment to Light-blue stylesheet

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

Small adjustment to Light-blue stylesheet

Post by nyholku »

HI,

I'm happy with Light-blue stylesheet in combination with Simple01_dark icons from

Code: Select all

https://github.com/pgilfernandez/FreeCAD_iconTheme_simple
About the only thing I would like to have is have a light separating bar between Combo View and the moved view area and below each tool bar. Or a slight shadow would work too.

I'm pretty sure this can be done with stylesheets easily but I don't know where to begin.

So if someone could give me a hint I would try to fix this myself.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Small adjustment to Light-blue stylesheet

Post by Kunda1 »

pablogil wrote:ping
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
pablogil
Posts: 881
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Small adjustment to Light-blue stylesheet

Post by pablogil »

nyholku wrote: Sat Nov 11, 2017 9:06 am HI,

I'm happy with Light-blue stylesheet in combination with Simple01_dark icons from

Code: Select all

https://github.com/pgilfernandez/FreeCAD_iconTheme_simple
About the only thing I would like to have is have a light separating bar between Combo View and the moved view area and below each tool bar. Or a slight shadow would work too.

I'm pretty sure this can be done with stylesheets easily but I don't know where to begin.

So if someone could give me a hint I would try to fix this myself.
Hi nyholku,

Could you please show me with an screenshot what do you mean? with your explanation I don't get what do you want...
Thanks
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
User avatar
pablogil
Posts: 881
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Small adjustment to Light-blue stylesheet

Post by pablogil »

[delete please]
Last edited by pablogil on Mon Nov 13, 2017 9:12 am, edited 1 time in total.
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

Re: Small adjustment to Light-blue stylesheet

Post by nyholku »

This is more or less the look I'm aiming for, managed to do that by butchering the Light-blue stylesheet
Screen Shot 2017-11-13 at 08.48.17.png
Screen Shot 2017-11-13 at 08.48.17.png (481.16 KiB) Viewed 2061 times
User avatar
pablogil
Posts: 881
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Small adjustment to Light-blue stylesheet

Post by pablogil »

Hi,

I now understand you.
I have attached a modded stylesheet with the changes you like. Anyway, I'm not including it in the official style because I feel the style is more simple as it is now.
In case you want to follow with this modded style (or if you want to apply it to other styles) here is the code I have just added at the end of the .qss file:

Code: Select all

QToolBar {
    border-bottom: 1px solid #d2d2d2;
}

QMainWindow::separator:vertical {
    padding-right: 4px;
    border-right: 1px solid #d2d2d2;
}
PS- the 3D cube is already working? I didn't know it... could you point me out where to download it? thanks!
Attachments
Light-blue (mod).zip
(10.28 KiB) Downloaded 99 times
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

Re: Small adjustment to Light-blue stylesheet

Post by nyholku »

Thanks, I will have a look at your modified stylesheet.

The NaviCube code is here:
https://github.com/nyholku/FreeCAD/tree/navicube
but that is for 0.16 and not quite as polished as what I have on this machine.
I've now ported the code to Qt5 and integrated it with 0.17 and hope to publish that
in a week or two.

wbr Kusti
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Small adjustment to Light-blue stylesheet

Post by Jee-Bee »

nyholku wrote: Mon Nov 13, 2017 10:16 am I've now ported the code to Qt5 and integrated it with 0.17 and hope to publish that
in a week or two.
Nice Currious to see :D And hopefully later on in master
Post Reply