You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\amail\Desktop\project\node_modules\@nodegui\nodegui\dist\lib\QtGui\QEvent\QKeyEvent.js:11
super(new addon_1.default.QKeyEvent(event));
^
Error: Error in native callback
at new QKeyEvent (C:\Users\amail\Desktop\project\node_modules\@nodegui\nodegui\dist\lib\QtGui\QEvent\QKeyEvent.js:11:15)
at Object.<anonymous> (C:\Users\amail\Desktop\project\index.js:172:23)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
Expected behavior
No error in console log.
Desktop (please complete the following information):
OS: Windows 11
NodeGUI version: v0.58.0-rc4
Additional context
I already read the documentation but since has not examples don't help me much.
The text was updated successfully, but these errors were encountered:
I wanted to maintain all the text that the user type in a QTextEdit box to 16 characters max-length per line. Currently i did a QPushButton for that purpose a moment ago and is working so i guess that don't need the QKeyEvent anymore. But i still wonder what was causing the issue.
JS QKeyEvent in NodeGui is built to wrap a C++ QKeyEvent instance. It doesn't support making a brand new QKeyEvent C++ instance from the application side.
I'm not sure how exactly QKeyEvent fits into the problem you want to solve. My approach would be to listen for some changed event and trim any long lines.
Hello, i've trying to use QKeyEvent with QTextEdit but can't found a way to even make a variable with QKeyEvent propierties.
The related code:
The error:
Expected behavior
No error in console log.
Desktop (please complete the following information):
Additional context
I already read the documentation but since has not examples don't help me much.
The text was updated successfully, but these errors were encountered: