- Posts: 1108
- Thank you received: 3
Flex GUI Stylesheet Builder
1 year 10 months ago #317198
by JT
Flex GUI Stylesheet Builder was created by JT
If you don't understand how to build a QSS stylesheet then Flex has the solution for you a stylesheet builder.
JT
JT
Please Log in to join the conversation.
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.
JT
Attachment not found
JT
Please Log in to join the conversation.
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.
Is it worth it?
JT
Attachment not found
Is it worth it?
JT
Please Log in to join the conversation.
1 year 9 months ago #318729
by blazini36
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.
Replied by blazini36 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.Messing around with QLinearGradients and thinking of adding them to the Stylesheet Builder.
Attachment not found
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 to join the conversation.
1 year 9 months ago #318749
by JT
What would the open function do?
Can you elaborate on apply the background colors?
JT
Replied by JT on topic Flex GUI Stylesheet Builder
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 to join the conversation.
1 year 9 months ago #318753
by blazini36
Replied by blazini36 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.
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.
1 year 9 months ago #318786
by JT
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...
JT
Replied by JT on topic Flex GUI Stylesheet Builder
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...
Code:
/***** QMainWindow *****/
QMainWindow {
color: #ffffff;
background-color: #121212;
}
JT
Please Log in to join the conversation.
Time to create page: 0.813 seconds
