Small adjustment to Light-blue stylesheet

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

nyholku
Posts: 149
Joined: Wed Dec 28, 2016 4:18 pm

Small adjustment to Light-blue stylesheet

Postby nyholku » 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.
User avatar
Kunda1
Posts: 8721
Joined: Thu Jan 05, 2017 9:03 pm

Re: Small adjustment to Light-blue stylesheet

Postby Kunda1 » Sat Nov 11, 2017 12:02 pm

pablogil wrote:ping
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
pablogil
Posts: 845
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Small adjustment to Light-blue stylesheet

Postby pablogil » Sun Nov 12, 2017 10:24 pm

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: 845
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Small adjustment to Light-blue stylesheet

Postby pablogil » Sun Nov 12, 2017 10:24 pm

[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

Postby nyholku » Mon Nov 13, 2017 6:56 am

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 1156 times
User avatar
pablogil
Posts: 845
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Small adjustment to Light-blue stylesheet

Postby pablogil » Mon Nov 13, 2017 9:46 am

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 82 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

Postby nyholku » Mon Nov 13, 2017 10:16 am

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
Posts: 2145
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Small adjustment to Light-blue stylesheet

Postby Jee-Bee » Mon Nov 13, 2017 6:08 pm

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