- Posts: 425
- Thank you received: 81
qtvcp issues
- auto-mation-assist
- Offline
- Platinum Member
-
I have pushed new files in the: x1Mill_branch/configs/sim/x1Mill/ folder. You will now see four folders for gui related things that im working on. I separated them to help me avoid confusion.
In the main x1Mill folder you will find the versa_probe gui. and in the x1Probing folder you will find the x1Probing gui that uses a main panel with all def statements in the handler with print statements.
The versa_probe reposts an error for the two toggle buttons. The error message is in the doc in versa_probe. This is an error we have seen before.
There may be some changes needed for the status labels an input used to enter values if compatibility problems arise. Please check them out when you have a chance.
I have replaced my lib/qtvcp/ folder in my development qt5vcp_py2 with the most correct version that I have found.
Please Log in or Create an account to join the conversation.
- racedirector
- Offline
- Elite Member
-
- Posts: 231
- Thank you received: 42
I have been watching this thread with interest and have a question.
I have been wanting to give a new face to PathPilot for a while now and QT seems to be the way to go. Would you recommend QT for a newbie designer like me to create a suitable new face for what has already been coded?
I am an ex-4GL programmer from way back but have little or no experience designing user interfaces.
Any suggestions welcome.
Cheers
Bruce
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7368
- Thank you received: 2181
racedirector wrote: Between the 2 of you you seem to have progressed in leaps and bounds, very impressive.
I have been watching this thread with interest and have a question.
I have been wanting to give a new face to PathPilot for a while now and QT seems to be the way to go. Would you recommend QT for a newbie designer like me to create a suitable new face for what has already been coded?
I am an ex-4GL programmer from way back but have little or no experience designing user interfaces.
Any suggestions welcome.
Cheers
Bruce
I'm not sure how to add qtvcp and designer to pilotpath - I've never used it.
Obviously making screens takes practice and requires new skills - but it's not rocket science.
To get basic function won't take long - to get a satisfying preety screen take patients.
I'll give support as much as I can -it helps to make qtvcp better.
Chris M
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7368
- Thank you received: 2181
auto-mation-assist wrote: Chris,
The versa_probe reposts an error for the two toggle buttons. The error message is in the doc in versa_probe. This is an error we have seen before.
Looking at the versa_probe ui file - it seems the sender and receiver are the same widget.
The receiver should be Form.
The toggle buttons fail because the sender is sending 'toggle(bool)' to a receiver that only takes 'toggle()'
Chris M
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7368
- Thank you received: 2181
you must pull from the qt5vcp_py2 branch and then rebase your branch on top of the changes.
you then find versa_probe.py and versa_probe.ui in lib/python/qtvcp/widgets
The image files will be in share/qtvcp/images/probe
If you don't see these files - you are not up to current.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7368
- Thank you received: 2181
The widget python code and optionally the UI code will always be in the
lib/python/qtvcp/widgets directory.
There is also plugin code in lib/python/qtvcp/plugins for designer to know how to display it in the editor.
In some cases the widget may need icons and they are kept in share/qtvcp/images
slots in the Form would call code in the widget's python code.
Chris M
Please Log in or Create an account to join the conversation.