QtVCP
01 Mar 2019 06:46 - 01 Mar 2019 07:34 #127389
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.
Time to create page: 0.151 seconds