Commit Graph

1030 Commits

Author SHA1 Message Date
Simon Edwards
053fc9dc65 Add (basic) QHeaderView; Support wrappers on plain Qt widgets 2021-08-22 09:48:17 +02:00
Simon Edwards
11c33771c2 Format some TS code 2021-08-22 09:48:17 +02:00
Simon Edwards
5fd23f0ba3 Tune down eslint regarding unused method parameters 2021-08-22 09:48:17 +02:00
Simon Edwards
c209fe2adc Format cpp code 2021-08-22 09:48:17 +02:00
Simon Edwards
940351acbe Sort and doc the state of QAbstractItemModel and its methods/signals 2021-08-22 09:48:17 +02:00
Simon Edwards
f7a4a4d3d1 Add QAbstractItemModel.buddy() support 2021-08-22 09:48:17 +02:00
Simon Edwards
e81b5ae658 Implement QAbstractItemModel.setData() and 5th tutorial example 2021-08-22 09:48:17 +02:00
Simon Edwards
588093519a Add header model view tutorial example 2021-08-22 09:48:17 +02:00
Simon Edwards
3a83a7fe62 Fix bug in QAbstractItemModel.rowCount() 2021-08-22 09:48:17 +02:00
Simon Edwards
b5a9f30d34 Add the changing data model view example 2021-08-22 09:48:17 +02:00
Simon Edwards
25026a55f7 Add 2nd model view tutorial app 2021-08-22 09:48:17 +02:00
Simon Edwards
467231d4b7 Fix up constructor arg handling in QBrush. 2021-08-22 09:48:17 +02:00
Simon Edwards
3aeb4b09bf Fill in the missing values from ItemDataRole 2021-08-22 09:48:17 +02:00
Simon Edwards
9eed41ecd8 Add bold support to QFont 2021-08-22 09:48:17 +02:00
Simon Edwards
25e0d61e01 Add basic QAbstractItemModel and QAbstractTableModel 2021-08-22 09:48:17 +02:00
Simon Edwards
080bb3626d Add some missing geometry methods to QWidget 2021-08-13 15:53:00 +02:00
Atul R
c26a194694
Upgrade deps and qode (#865)
* bump deps

* fix test

* fix node verison

* 0.36.0

* revert tsconfig

* add env

* fix cmake build for windows

* fix qode bump

* temp fix
2021-08-09 23:44:46 +02:00
Simon Edwards
a577689cd4 Add QFontDatabase.applicationFontFamilies() 2021-08-08 20:45:41 +02:00
Simon Edwards
d3f6d6d092 Implement QGridLayout.addLayout() 2021-08-04 20:31:33 +02:00
Simon Edwards
87e6531c65 Re-use existing JS event emitters when creating JS side wrappers
By not re-using JS event emitters, if a JS/C++ wrapper is created twice for
a `QObject` then any previously registered event handlers will be overwritten
and lost when the `QObject`'s `initNodeEventEmitter()` is called for a 2nd
time.
2021-08-02 17:07:13 +02:00
Simon Edwards
faa6adcb23 Bump the version 2021-07-30 10:04:59 +02:00
Simon Edwards
880a8433cb Add QApplication.setStyleSheet() 2021-07-30 09:34:15 +02:00
Simon Edwards
f319a24ad3 Add QColor.rgb() and QColor.rgba() 2021-07-30 09:34:15 +02:00
Simon Edwards
17462abae7 Add a (basic) QPalette 2021-07-30 09:34:15 +02:00
Simon Edwards
978526c4e6 Bump version 2021-07-19 19:52:32 +02:00
Simon Edwards
2901d09d01
Extra methodsfor QPainter, string lists in QVariant, and default args for QClipboard (#858)
* Add string list support to `QVariant`

* Add more methods to `QPainter`

* Give the `QClipboard` methods default params to match C++ API

* Code style fix for `nutils.cpp`
2021-07-16 21:14:16 +02:00
Shoomba
af64c4820f
bolded the features (#855)
added bold to the features to give contrast
2021-07-12 21:36:12 +02:00
JIBSIL
0d01354737
Update homepage (#854)
* Update homepage

Corrected MacOs to MacOS, Added a missing GUI on the "lets you create truly native apps..." block and corrected some grammar in that block to make it flow better.

* Update CreateNativeApps.js
2021-07-12 21:35:35 +02:00
Simon Edwards
d04364a186
Add QInputEvent methods (#853) 2021-07-11 12:33:17 +02:00
Simon Edwards
4a66c65034
Export SliderAction (#852) 2021-07-11 08:35:17 +02:00
Simon Edwards
4eebad6f5f
Add way for JS to stop event processing in QObject::event() (#850)
This adds a couple small methods on `QObject` which makes it possible for
JS code to indicate to the currently running `QObject::event()` override
method whether it should allow more processing of an event or to stop
processing and not call super class `event()` method. This is Qt recommended
(C++) way of overriding event behaviour and stopping default behaviour.
2021-07-10 20:49:43 +02:00
Atul R
281a89508b
Update README.md 2021-07-10 14:30:29 +02:00
Atul R
f38c50724d 0.33.3 2021-07-10 12:18:45 +02:00
Atul R
76d737340e Adds npm token 2021-07-10 12:18:24 +02:00
Atul R
6edf90ee97 0.33.2 2021-07-10 12:12:16 +02:00
Atul R
1b1647892d fix npm publish command 2021-07-10 12:02:28 +02:00
Atul R
7863875641 update workflow files 2021-07-10 11:54:26 +02:00
Atul R
39edc4e382 fix release job 2021-07-10 11:41:07 +02:00
Atul R
3f26303d6e corrects engine version 2021-07-10 11:36:32 +02:00
Atul R
37fed9dde7 0.33.2 2021-07-10 11:33:40 +02:00
Atul R
d5800fd92f
Adds prepublish (#851) 2021-07-10 11:32:58 +02:00
Atul R
a1070a7c26 change docs command to increase memory to 6.5 gb 2021-07-09 20:05:37 +02:00
Atul R
8549a4e1de update demo 2021-07-09 20:01:38 +02:00
Atul R
06d735fe89 cleans up docs and bumps version 2021-07-09 19:47:56 +02:00
Atul R
bcd1f8ea0b Adds mirror for m1 mac mini qt 2021-07-09 19:36:20 +02:00
Atul R
e6d01fc7f5 update docs 2021-07-09 01:04:06 +02:00
Atul R
4adef0a280
Adds readme for m1 macs (#849)
* Adds readme for m1 macs

* skip webengine

* update docs

* adds qtsvg
2021-07-09 00:48:45 +02:00
Atul R
b8a94d8db5 bumps version 2021-07-08 23:10:56 +02: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
1d2a0a6f47 0.32.1 2021-07-04 12:56:28 +02:00