Commit Graph

11 Commits

Author SHA1 Message Date
Simon Edwards
7ae4a5cb7e Wrap some native objects during event dispatch 2021-11-06 20:41:04 +01:00
Simon Edwards
1bc346d22c
Add QEvent methods to all subclasses + some random methods (#848)
* Add `clearFocus()` to `QWidget`

* Add `Alignment` param to `QBoxLayout.addWidget()`

* Add `setViewportMargins()` & `viewportMargins()` to `QScrollArea`

* Add `QEvent` methods to all event related subclasses

* Tell C++ that our 0 is zero and not a null pointer
2021-07-08 22:45:41 +02:00
Atul R
f1b9665c53 Fixes for ts v4 and lint fixes 2021-01-24 19:49:38 +01:00
Atul R
558086655f updates docs and bump version 2020-06-09 19:37:29 +02:00
Atul R
e0cddc9a7b bring back event loop activator 2020-04-13 23:34:58 +02:00
Atul R
50f43d955a
adds memoization and perf fixes (#450)
* adds memoization and perf fixes

* 0.16.1
2020-03-17 00:17:15 +01:00
Atul R
e6c2eb4380
wrapWithUvloop waker (#380) 2020-01-28 20:21:06 +01:00
mspencer92
fd270c18ac Added QMessageBox (#326)
* Added QMessageBox

* Adds Qdialog

* Fixes inheritance and adds pointer based event listener

* Cleans up Qmessagebox so that we create all buttons

* change to abstract button

* fix rawData fetching from the template

* formatting fixes

* change to Objectwrap for better type casting

* Adds Native element part in qpushbutton

* Adds NapiExternal check and use ptr for initialization

* Adds all button classes

* fix c

* fix merge conflicts

* lint fix

Co-authored-by: Atul R <atulanand94@gmail.com>
2020-01-05 15:53:49 +05:30
Atul R
f56bf965ee
Fixes warnings in eslint (#179) 2019-11-08 20:03:50 +01:00
Atul R
bd65329641
Adds linters, code formatters for both js and c++ and adds prepush hook (#178) 2019-11-08 19:30:01 +01:00
Atul R
12b08baed9 Cleans up addon import 2019-09-21 00:05:46 +02:00