- Posts: 574
- Thank you received: 96
Сustomization QTvcp
- hottabich
- Offline
- Platinum Member
-
Less
More
5 years 10 months ago #192389
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Did as in the screenshot did not change. What am I doing wrong?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
5 years 10 months ago #192406
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Did you remove all builtin actions from the action button?
This new function should used instead of any qtvcp built in actions.
In fact it could be called from a normal QPushButton.
I would also add a temporary print statement to confirm if the new function is being called.
This new function should used instead of any qtvcp built in actions.
In fact it could be called from a normal QPushButton.
I would also add a temporary print statement to confirm if the new function is being called.
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
5 years 10 months ago #192424
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Action button
. Converting to QPushButton no reaction.
Code:
No action recognised (action_button.py:612)
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
5 years 10 months ago #192426
by cmorley
Replied by cmorley on topic Сustomization QTvcp
did you add a print statement to the function?
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
5 years 10 months ago #192428
by hottabich
Replied by hottabich on topic Сustomization QTvcp
How to do it?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
5 years 10 months ago - 5 years 10 months ago #192432
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Code:
def spindle_faster(self, state):
print 'faster button', state
if state:
if STATUS.is_spindle_on(0):
ACTION.SET_SPINDLE_FASTER(0)
Last edit: 5 years 10 months ago by cmorley.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.281 seconds