Lcnc_Dialog Issue

  • LearningLinuxCNC
  • LearningLinuxCNC's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
21 Oct 2025 16:59 #336841 by LearningLinuxCNC
Lcnc_Dialog Issue was created by LearningLinuxCNC
I am trying to call the Lcnc_Dialog widget from python code.

My code is as follows.
        color = QColor(255,0,0,150)
        msgdict = {
            "NAME": "MESSAGE"
            "TITLE": "A-Axis Ready?",
            "MESSAGE": "Is the A-Axis aligned?",
            "TYPE": 'YESNO',
            "ICON": 'QUESTION',
            "FOCUSCOLOR": color
        }

        ACTION.CALL_DIALOG(msgdict)

When the dialog pops up it lists all of the text in the msgdict variable and does not show the dialog as expected.

I know the issue is something simple I just can't seem to see the issue.

Thanks,

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

  • LearningLinuxCNC
  • LearningLinuxCNC's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
21 Oct 2025 22:51 #336854 by LearningLinuxCNC
Replied by LearningLinuxCNC on topic Lcnc_Dialog Issue
I found my mistake. I was editing the wrong file. . . Please excuse me as I leave.
The following user(s) said Thank You: tommylight

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
21 Oct 2025 23:54 #336855 by tommylight
Replied by tommylight on topic Lcnc_Dialog Issue
LOL :)
I wish i could say you are the first one, but many of us did this at some point in time.

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

More
22 Oct 2025 01:03 #336857 by cmorley
Replied by cmorley on topic Lcnc_Dialog Issue
Been there done that too :)
The following user(s) said Thank You: tommylight

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

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