Entry Dialog

More
07 Oct 2020 02:35 #185185 by phillc54
Replied by phillc54 on topic Entry Dialog

I'll look into the AxisToolButton. Am I understanding right - you want the popup keyboard for the entry widget that pops when you select 'set'?

No, the popup keyboard is good now.
When you first press the AxisToolButton you get this:
Warning: Spoiler!

I would like to be able to style that.


spinbutton - DoubleScale may be what you are looking for - (no docs added yet)

I don't see that in the list of widgets


There is no equivalent to hal_label presently but you can combine some widgets to build it:
Connecting a GeneralHALInput to a standard label using designer's signal/slot selector will give a (boring) label that tracks a HAL pin. using stylesheets can make it look at bit better.
You could of course do a little handler file magic to have more control on a label too.
I will look into this missing widget soon though.

OK, no worries


I never noticed the hyphen problem - yes it's a designer restriction on widget names not qtvcp and in fact some widgets have an entry for the HAL name and you can use a hyphen. I'll have to think about whether to change all the widgets to use this (better) way.

Yeah, it is strange. If I change them in the .ui file it works fine. Designer will still load and save with the hyphenated name so long as you don't try to change the name.
Attachments:

Please Log in or Create an account to join the conversation.

More
07 Oct 2020 02:42 #185187 by cmorley
Replied by cmorley on topic Entry Dialog
if you are current (it was added on the 28th) you should see DoubleScale in the HAL only list of widgets.

Please Log in or Create an account to join the conversation.

More
07 Oct 2020 02:47 #185188 by phillc54
Replied by phillc54 on topic Entry Dialog
I pulled and built yesterday, just tried then and it says I am up to date. master branch

Please Log in or Create an account to join the conversation.

More
07 Oct 2020 02:51 #185189 by cmorley
Replied by cmorley on topic Entry Dialog
if you are compiling, it is there:
github.com/LinuxCNC/linuxcnc/blob/master...plewidgets_plugin.py

Sure you are running the compiled version rather then the installed version? If you miss . 'scripts/rip-environment' that can happen

Please Log in or Create an account to join the conversation.

More
07 Oct 2020 02:56 #185191 by phillc54
Replied by phillc54 on topic Entry Dialog
That is probably why, I am running the installed version. When I run the RIP version I have no Qtvcp widgets, I guess I better read the install instructions again.

Please Log in or Create an account to join the conversation.

More
07 Oct 2020 02:59 #185193 by cmorley
Replied by cmorley on topic Entry Dialog
You are going to have problems with that. The libpyqt5_plugin only worksfor one version of python. IIRC you can have both versions in the file but only the first library found will be used.

Please Log in or Create an account to join the conversation.

More
07 Oct 2020 03:00 #185194 by cmorley
Replied by cmorley on topic Entry Dialog
Once the installed version updates you will be fine too of course

Please Log in or Create an account to join the conversation.

More
07 Oct 2020 03:00 #185195 by phillc54
Replied by phillc54 on topic Entry Dialog
OK, I'll have a play around and see what I can do. Thanks again.

Please Log in or Create an account to join the conversation.

More
07 Oct 2020 03:08 #185197 by phillc54
Replied by phillc54 on topic Entry Dialog
I am using a VM for this so I just changed from Buildbot 2.8 to Buildbot master and updated, I now have a DoubleScale :)

Please Log in or Create an account to join the conversation.

More
07 Oct 2020 09:14 #185216 by cmorley
Replied by cmorley on topic Entry Dialog
ok next update you can style the QMenu of the toolbuttons.
added a HALLabel widget
A bit of docs for DoubleScale and HALLabel
The following user(s) said Thank You: phillc54

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.111 seconds
Powered by Kunena Forum