- Posts: 1109
- Thank you received: 4
Flexible GUI
1 year 9 months ago #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
Attachment not found
JT
Please Log in to join the conversation.
1 year 9 months ago #318395
by blazini36
Replied by blazini36 on topic Flexible GUI
Lol yeah, I noticed them in the docs and started adding them before updating the debs.....
Kinda tedious but it's getting there...
Kind of a bummer about the bold text thing
Kinda tedious but it's getting there...
Attachment not found
Kind of a bummer about the bold text thing
Please Log in to join the conversation.
1 year 9 months ago #318397
by JT
Replied by JT on topic Flexible GUI
Looking good!
JT
JT
Please Log in to join the conversation.
1 year 9 months ago #318401
by JT
Replied by JT on topic Flexible GUI
Please Log in to join the conversation.
1 year 9 months ago #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.
Attachment not found
Is turning into this for me
Attachment not found
Please Log in to join the conversation.
1 year 9 months ago #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 to join the conversation.
1 year 9 months ago #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
Please Log in to join the conversation.
1 year 9 months ago #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 to join the conversation.
1 year 9 months ago #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 to join the conversation.
1 year 9 months ago #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 to join the conversation.
Time to create page: 0.281 seconds
