Can't found a way to use QKeyEvent
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, nodejs
- 領域
- desktop
調査の方向性
Reproduce the example from index.js:172 and inspect dist/lib/QtGui/QEvent/QKeyEvent.js, then compare it with the existing QKeyEvent documentation. Determine whether the missing guidance or the reported native callback needs addressing; done means the supported usage is clear and the example no longer produces the reported error.
索引モデルが issue の本文から書いたものです。
説明
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:
const {
QKeyEvent
} = require("@nodegui/nodegui");
const keyPressEvent = new QKeyEvent();
The error:
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.
- 主要言語
- C++
- スター
- 9.2k
- フォーク
- 315
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nodegui/nodegui のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
Support QTransform オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
nodegui/nodegui の issue をすべて見る
似ている issue
-
bug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
Needs: Author Feedback Needs: Repro
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
react/react-native#58621 · コメント 1 件 ·
-
comp-query-execution fuzz
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ClickHouse/ClickHouse#121303 · コメント 3 件 ·
-
[BUG] オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
eunomia-bpf/llvmbpf#51 · コメント 1 件 ·
-
status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
PX4/PX4-Autopilot#28776 ·