Flex GUI Stylesheet Builder
- JT
-
Topic Author
- Away
- Administrator
-
- Posts: 939
- Thank you received: 483
JT
Please Log in or Create an account to join the conversation.
- JT
-
Topic Author
- Away
- Administrator
-
- Posts: 939
- Thank you received: 483
Attachments:
Please Log in or Create an account to join the conversation.
- JT
-
Topic Author
- Away
- Administrator
-
- Posts: 939
- Thank you received: 483
Attachments:
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
-
- Posts: 958
- Thank you received: 162
A gradient would be good for something like a progressbar unless there's some other way to express zones.Messing around with QLinearGradients and thinking of adding them to the Stylesheet Builder.
Is it worth it?
JT
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 or Create an account to join the conversation.
- JT
-
Topic Author
- Away
- Administrator
-
- Posts: 939
- Thank you received: 483
Gradients can be used to style buttons etc.
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.
What would the open function do?
Can you elaborate on apply the background colors?
JT
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
-
- Posts: 958
- Thank you received: 162
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 or Create an account to join the conversation.
- JT
-
Topic Author
- Away
- Administrator
-
- Posts: 939
- Thank you received: 483
I can see the usefulness of being able to open a qss file and set the various widget stylesheet properties."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.
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...
/***** QMainWindow *****/
QMainWindow {
color: #ffffff;
background-color: #121212;
}
JT
Please Log in or Create an account to join the conversation.
- JT
-
Topic Author
- Away
- Administrator
-
- Posts: 939
- Thank you received: 483
JT
Please Log in or Create an account to join the conversation.