QtVCP
- phillc54
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5714
- Thank you received: 2090
01 Mar 2019 06:46 - 01 Mar 2019 07:34 #127389
by phillc54
QtVCP was created by phillc54
I am finding some strange behaviour in the file dialog in both open and save mode.
If I try to enter the file name I get the following error:
In the terminal:
In a popup dialog:
Am I missing something in my processed_key_event__
Cheers, Phill.
Edit 1:
OK, if you type the first character and it matches the first character of an existing file/files then a popup appears with the file/files in it.
The next keypress give the error as does the key release.
Edit 2:
I think it is the way I set up my processed_key_event__ to try to stop the plethora of error messages from various widgets...
If I try to enter the file name I get the following error:
In the terminal:
Warning: Spoiler!
dialog
dialog
dialog
receiver: <PyQt5.QtWidgets.QListView object at 0x7f736a2d1808>
Error in, or no function for: None in handler file for-l
Exception: No KeyCall binding defined for Key_l
from <PyQt5.QtWidgets.QPushButton object at 0x7f738734d5a8>
Error in, or no function for: None in handler file for-l
Exception: No KeyCall binding defined for Key_l
from <PyQt5.QtWidgets.QDialogButtonBox object at 0x7f738734d5a8>
dialog
dialog
dialog
In a popup dialog:
Warning: Spoiler!
Traceback (most recent call last):
File "/home/phill/git_imac/lcnc/lib/python/qtvcp/qt_makegui.py", line 52, in eventFilter
handled = self.w.handler_instance.processed_key_event__(receiver,event,p,k,c,s,ctrl)
File "/home/phill/./imac/git/lcnc/configs/sim/qtvcp_screens/plasmac/plasmac_ui_handler.py", line 111, in processed_key_event__
receiver.keyPressEvent(event)
RuntimeError: no access to protected functions or signals for objects not created from Python
Am I missing something in my processed_key_event__
Cheers, Phill.
Edit 1:
OK, if you type the first character and it matches the first character of an existing file/files then a popup appears with the file/files in it.
The next keypress give the error as does the key release.
Edit 2:
I think it is the way I set up my processed_key_event__ to try to stop the plethora of error messages from various widgets...
Last edit: 01 Mar 2019 07:34 by phillc54.
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 355
09 Mar 2019 11:31 #128153
by pl7i92
Replied by pl7i92 on topic QtVCP
can you tell us please what system and version you are on
Thank you
Thank you
Please Log in or Create an account to join the conversation.
- phillc54
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5714
- Thank you received: 2090
12 Mar 2019 02:20 #128410
by phillc54
Replied by phillc54 on topic QtVCP
Sorry for the lack of response, I have been away.
I should also have posted earlier that I have solved the issues I was having by using a variation of the processed_key_event__ function used in the qtaxis sample screen.
Cheers, Phill
I should also have posted earlier that I have solved the issues I was having by using a variation of the processed_key_event__ function used in the qtaxis sample screen.
Cheers, Phill
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 355
12 Mar 2019 11:56 #128422
by pl7i92
Replied by pl7i92 on topic QtVCP
can you specifi the problem please you are running into
and the solution you made in a Separate Thread
that wouodt prevent others to run into
and the solution you made in a Separate Thread
that wouodt prevent others to run into
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds