Flex GUI Stylesheet Builder

More
1 year 10 months ago #317198 by JT
If you don't understand how to build a QSS stylesheet then Flex has the solution for you a stylesheet builder.



JT

Please Log in to join the conversation.

More
1 year 10 months ago #317403 by JT
Replied by JT on topic Flex GUI Stylesheet Builder
The stylesheet builder now has QPushButton, QCheckBox, QRadioButton and QLabel.

Attachment not found



JT

Please Log in to join the conversation.

More
1 year 9 months ago #318635 by JT
Replied by JT on topic Flex GUI Stylesheet Builder
Messing around with QLinearGradients and thinking of adding them to the Stylesheet Builder.

Attachment not found



Is it worth it?

JT

Please Log in to join the conversation.

More
1 year 9 months ago #318729 by blazini36

Messing around with QLinearGradients and thinking of adding them to the Stylesheet Builder.

Attachment not found



Is it worth it?

JT
 
A gradient would be good for something like a progressbar unless there's some other way to express zones.

Was messing with the qss builder a bit.....it definately needs an "open" function.

Also doesn't seem to be any way to apply the background colors. I assumed this would be part of "All" but it doesn't seem to work like that.

 

Please Log in to join the conversation.

More
1 year 9 months ago #318749 by JT
Replied by JT on topic Flex GUI Stylesheet Builder

A gradient would be good for something like a progressbar unless there's some other way to express zones.

Was messing with the qss builder a bit.....it definately needs an "open" function.

Also doesn't seem to be any way to apply the background colors. I assumed this would be part of "All" but it doesn't seem to work like that.

 

Gradients can be used to style buttons etc.

What would the open function do?

Can you elaborate on apply the background colors?

JT

Please Log in to join the conversation.

More
1 year 9 months ago #318753 by blazini36
"What would the open function do?"

If you use flexqss to make a qss file then close it, your done. You can't edit it after the fact without some File->open type function. There's an awful lot of different selections to make having to make them in 1 sitting.

"Can you elaborate on apply the background colors?"
How do you change the background color without using a theme in the ini? If you specify a qss, the theme doesn't work.....or at least that's what I'm seeing. From my setup, it's either use a flex theme or the background is white.....and my qt theme is dark on my Debian VM. Designer preview shows my ui as dark, launching LinuxCNC with a qss specified it is white....so maybe I'm missing something.

Please Log in to join the conversation.

More
1 year 9 months ago #318786 by JT
Replied by JT on topic Flex GUI Stylesheet Builder

"What would the open function do?"

If you use flexqss to make a qss file then close it, your done. You can't edit it after the fact without some File->open type function. There's an awful lot of different selections to make having to make them in 1 sitting.

"Can you elaborate on apply the background colors?"
How do you change the background color without using a theme in the ini? If you specify a qss, the theme doesn't work.....or at least that's what I'm seeing. From my setup, it's either use a flex theme or the background is white.....and my qt theme is dark on my Debian VM. Designer preview shows my ui as dark, launching LinuxCNC with a qss specified it is white....so maybe I'm missing something.
 
I can see the usefulness of being able to open a qss file and set the various widget stylesheet properties.

Yes it is either use a theme or create your own qss stylesheet and use that.

As for the main window background color I need to add that but in the mean time...
Code:
/***** QMainWindow *****/ QMainWindow {     color: #ffffff;     background-color: #121212; }

JT

Please Log in to join the conversation.

More
1 year 9 months ago #318950 by JT
Replied by JT on topic Flex GUI Stylesheet Builder
I started adding containers and a gui you can pop up to view all the changes in one place.

JT

Please Log in to join the conversation.

Time to create page: 0.813 seconds
Powered by Kunena Forum