Flexible GUI
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
08 Jan 2025 11:54 #318393
by JT
gnipsel.com/linuxcnc/flexgui/hal.html#bool-label
JT
Replied by JT on topic Flexible GUI
You didn't miss anything unless you looked in the last few minutes lol. I just added that feature.I also noticed there's no good binary indicators in qt5's standard set of widgets, like LEDs or even a button that changes appearance on input. The only thing I've found is hal labels, but even then I think they are only actually good for displaying numeric values. If set to "bit" type input, they just display true or false. I don't see any way to make a text string appear or disappear at least. Looking for something that can just indicate a fault.
If something like this is already there just point it out, I'm good at missing things.
gnipsel.com/linuxcnc/flexgui/hal.html#bool-label
JT
Attachments:
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 937
- Thank you received: 150
08 Jan 2025 12:10 - 08 Jan 2025 12:11 #318395
by blazini36
Replied by blazini36 on topic Flexible GUI
Attachments:
Last edit: 08 Jan 2025 12:11 by blazini36.
The following user(s) said Thank You: JT
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
08 Jan 2025 12:25 #318397
by JT
Replied by JT on topic Flexible GUI
Looking good!
JT
JT
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
08 Jan 2025 13:13 #318401
by JT
Replied by JT on topic Flexible GUI
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 937
- Thank you received: 150
08 Jan 2025 21:25 #318468
by blazini36
Is turning into this for me
Replied by blazini36 on topic Flexible GUI
There's a note in your docs:
What bold text thing?
JT
Not sure if that's referring to the same thing but normal fonts set to bold appear fine in Designer. When run the bold text is missing. I've only tried the dark-tough theme so far but this:NoteThere is an documented issue with Qt5 Designer and bold fonts not appearing properly.
Is turning into this for me
Attachments:
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 937
- Thank you received: 150
08 Jan 2025 21:36 #318469
by blazini36
Replied by blazini36 on topic Flexible GUI
Can't edit that post or the quotes turn to mush but I meant that that is a bold font, it shows in designer but not when run. Noto Sans Bold appears the same as Noto Sans Regular
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
08 Jan 2025 22:00 #318473
by JT
Replied by JT on topic Flexible GUI
I've recently discovered that you have to set the font-weight to 700 in the style sheet to get bold which is what I did this morning in the touch themes. The Flex QSS builder creates the correct stylesheet code for bold.
JT
JT
The following user(s) said Thank You: blazini36
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 937
- Thank you received: 150
08 Jan 2025 22:16 #318474
by blazini36
Replied by blazini36 on topic Flexible GUI
I haven't played with the qss builder but I did update to 1.1.1 this morning so it sounds like you are saying I should be seeing bold text with the dark-touch theme?
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 875
- Thank you received: 456
08 Jan 2025 22:24 #318475
by JT
JT
Replied by JT on topic Flexible GUI
Yes you should check out the themes thread I uploaded fresh screen shots.I haven't played with the qss builder but I did update to 1.1.1 this morning so it sounds like you are saying I should be seeing bold text with the dark-touch theme?
JT
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
Less
More
- Posts: 937
- Thank you received: 150
19 Jan 2025 13:09 #319368
by blazini36
Replied by blazini36 on topic Flexible GUI
I'm at the point where I'm trying to integrate all of the hardware controls with the UI so I'm fixing things little by little.
Is here any way to show a selected axis label, either from motion or halui? I looked through the docs and didn't quite see anything that looked like it would work even from hal pins. Like I would need a label with multiple bit inputs and the text would be different for any input that is true. Unless there is some other way to catch this.
Is here any way to show a selected axis label, either from motion or halui? I looked through the docs and didn't quite see anything that looked like it would work even from hal pins. Like I would need a label with multiple bit inputs and the text would be different for any input that is true. Unless there is some other way to catch this.
Please Log in or Create an account to join the conversation.
Time to create page: 0.261 seconds