Simon Edwards
2ece6d5375
Merge pull request #947 from nodegui/qevent_control
...
Expand event support to grab QEvents after default processing
2022-05-27 18:05:39 +02:00
Simon Edwards
421929c147
Add "Advanced QEvent Handling" guide to the website sidebar
2022-05-26 12:02:07 +02:00
Simon Edwards
755156c19a
Add a Guide about advanced QEvent handling
2022-05-26 11:44:02 +02:00
Simon Edwards
43deec1c9e
Expand event support to grab QEvents after default processing
2022-05-26 09:44:34 +02:00
Simon Edwards
e20517430e
Mention QBoxLayout in the layout guide
2022-05-26 09:31:35 +02:00
Simon Edwards
16940eca53
Add "Understanding Memory" guide to the website sidebar
2022-05-26 09:27:18 +02:00
Simon Edwards
37d000ee44
Add QWidget methods setFocusProxy(), isAncestorOf(), isEnabledTo(), isVisibleTo(), & stackUnder()
2022-05-25 22:33:33 +02:00
Simon Edwards
0db724d40c
Add more QWidget methods
2022-05-23 22:02:08 +02:00
Simon Edwards
1da7ae6de3
Bump the version
2022-05-23 18:43:39 +02:00
Simon Edwards
1b3478e0cb
Merge pull request #936 from nodegui/memory
...
Improve memory management
2022-05-23 18:38:31 +02:00
Simon Edwards
11bf45466d
Export wrapperCache in index.ts too
2022-05-21 19:54:12 +02:00
Simon Edwards
b36caeddd2
Add documentation about dealing with memory
2022-05-21 12:47:46 +02:00
Simon Edwards
f606ebdd72
Add _id() to QObject for debugging purposes
2022-05-20 16:31:56 +02:00
Simon Edwards
0f9ad1e028
Add logging/debugging controls for the wrapper lifecycle
2022-05-20 15:25:18 +02:00
Simon Edwards
fcdbfb07c3
Merge branch 'master' into memory
2022-05-19 20:04:52 +02:00
Simon Edwards
06637c6c0f
Bump the version
2022-05-19 19:49:57 +02:00
Simon Edwards
c28fd5d5c3
Add QLabel.buddy()
2022-05-19 19:48:23 +02:00
Jake Kerr
d450841001
Expose the QWidget::grab method to script. ( #941 )
...
Reference from qt base:
https://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/kernel/qwidget.cpp#n5247
2022-05-19 18:03:48 +02:00
Simon Edwards
5191892950
Less caching in QMainWindow
2022-05-12 20:49:17 +02:00
Simon Edwards
bfa531f1f4
Massive TS wrapper update
2022-05-11 22:30:42 +02:00
Simon Edwards
6aa3f00fa3
Massive C++ wrapper update
2022-05-09 22:12:52 +02:00
Simon Edwards
f3d7d73acc
Add QObject.children()
2022-05-05 19:25:01 +02:00
Simon Edwards
880ea7c998
Add QObject.parent() and infra for correct subclass wrappers
2022-05-05 17:10:40 +02:00
Simon Edwards
bc9bf12e11
Refine the wrapper type registration
2022-05-01 20:23:21 +02:00
Simon Edwards
02f901ddf1
Add QObject.delete() and QObject.deleteLater(), and test QObject deletion
2022-05-01 20:02:02 +02:00
Simon Edwards
cbb3f99dfa
Add QObject.parent() and a heap of wrapper management
2022-05-01 11:08:37 +02:00
Simon Edwards
7bf97ef618
Eliminate one template param on WrapperCache::get()
2022-04-30 20:00:03 +02:00
Simon Edwards
1d92cc8f3e
Use uint keys inside the C++ wrapper cache
2022-04-30 19:21:20 +02:00
Simon Edwards
9faf63d5d3
Rename QAbstractItemModel.parent() to parentModelIndex()
...
The signature on `QAbstractItemModel.parent()` conflicts with
`QObject.parent()`. Maybe in C++ you can get away with that,
but in TS it is a huge PITA.
2022-04-30 09:42:18 +02:00
Simon Edwards
7dcbc32540
Remove NodeHeaderView, use QHeaderView
2022-04-29 20:35:00 +02:00
Simon Edwards
387555f3c0
Remove NodeTableView, use QTableView
2022-04-29 20:31:44 +02:00
Simon Edwards
10ebd00cde
Remove NodeListView, use QListView
2022-04-29 20:29:29 +02:00
Simon Edwards
fda93e9dd5
Remove NodeTextEdit, use QTextEdit
2022-04-29 20:23:30 +02:00
Simon Edwards
23759b1aaa
Remove NodeDialog, use QDialog instead
2022-04-29 20:10:27 +02:00
Simon Edwards
165bb820bc
Remove NodeDateTimeEdit, use QDateTimeEdit
2022-04-29 20:05:21 +02:00
Simon Edwards
83e9c09690
Remove NodeLayout, use QLayout instead
2022-04-29 19:55:13 +02:00
Simon Edwards
b7476a4ea1
Remove NodeFrame, use QFrame instead
2022-04-29 19:43:39 +02:00
Simon Edwards
38b12759c6
Remove NodeWidget, just use QWidget
2022-04-29 19:36:46 +02:00
Simon Edwards
c6d30f8f9f
Combine NodeObject+QObject; put native field in Component
2022-04-29 13:30:39 +02:00
Simon Edwards
4f40510248
Document and design the case of object creation
2022-04-28 21:18:16 +02:00
Simon Edwards
c733a41d10
Add design documentation for improved memory management
2022-04-28 11:43:27 +02:00
Simon Edwards
81c31f4de3
Fix some uninitialise memory access reported by Valgrind
2022-04-27 10:04:14 +02:00
Simon Edwards
ac1c118ae3
Add QTimerEvent and QObject.startTimer() and QObject.killTimer()
2022-04-19 19:37:26 +02:00
Simon Edwards
7d2dfc1cf2
Add QScreen.grabWindow()
...
issue #933
2022-04-18 17:43:11 +02:00
Simon Edwards
0c2cf50362
Force the latest bug fix release of qode
2022-04-17 21:23:30 +02:00
Simon Edwards
a485be9c1e
Bump the version
2022-04-16 21:51:34 +02:00
Simon Edwards
e2ccec9ba3
Make it possible to set stylesheets and bypass postcss
...
Sometimes the extra CSS properties produced by postcss are applied to the
normal QWidgets which are not subclassed with the Yoga stuff included.
This produces nasty warnings, regardless of whether you are using Yoga/flex
or not.
2022-04-16 21:49:33 +02:00
Simon Edwards
7d8fb77481
Make QTabBar.setTabButton() accept null
2022-04-16 21:49:08 +02:00
Simon Edwards
4c5ccadfc7
Bump version
2022-04-08 15:52:08 +02:00
Simon Edwards
69d0e2e3cd
Add visibility related methods/event to QWindow
2022-04-06 19:31:04 +02:00