Commit Graph

1008 Commits

Author SHA1 Message Date
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
Simon Edwards
f4e0ca1677
More random methods and events (#847)
* Add `maximumViewportSize()`, `setHorizontalScrollBar()` & `setVerticalScrollBar()` to `QAbstractScrollArea`

* Log any JS exceptions thrown during Qt event dispatch

* Add `setData()` & `data()` to `QAction`

* Add `clear()` to `QMenu`

* Add `triggered` event support to `QMenu`

* Code style fixes

* Add `focusWindowChanged` event to `QApplication`

* Add `isActiveWindow()` to `QWidget`
2021-07-04 12:55:41 +02:00
Atul R
b5d7e957cf 0.32.0 2021-06-26 18:41:09 +02:00
Simon Edwards
2b26ea4ddd
Extra font and painter related methods and classes (#845)
* Add `QPaintEvent`

* Add `setStyleName()` to `QFont`

* Add `isFixedPitch()` and `styles()` to `QFontDatabase`

* Add `drawImage()` to `QPainter`

* Add `setFocusPolicy()` to `QWidget`
2021-06-26 18:37:53 +02:00
Atul R
52d122583e 0.31.0 2021-06-19 11:44:44 +02:00
Atul R
8e0e4568fe package lock 2021-06-19 11:43:06 +02:00
Simon Edwards
a59274c371
Extra drawing related methods (#844)
* Add `setPixelSize()` & `pixelSize()` to `QFont`

* Add `xHeight()` to `QFontMetrics`

* Export `QImageFormat`

* Add `drawArc()`, `setFont()`, `setTransform()`, & `fillRect()` to `QPainter`

* Improve `QPainter.setTransform()` docs
2021-06-19 11:34:40 +02:00
Atul R
d0e9f67a25 0.30.3 2021-06-12 18:00:18 +02:00
allcontributors[bot]
b2485f6133
docs: add sedwards2009 as a contributor for code (#838)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-06-12 17:51:51 +02:00
Simon Edwards
953b553089
Add extra QMouseEvent and QPainter methods (#837)
* Add `buttons()` to `QMouseEvent`

* Add `beginNativePainting()` and `endNativePainting()` to `QPainter`
2021-06-12 17:51:42 +02:00
allcontributors[bot]
4db29780e0
docs: add stvkoch as a contributor (#821)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-03-07 21:32:06 +01:00
Steven Koch
69e6d8d6e2
Add painter.drawPie method and fix painterPath.arcTo arguments (#782) 2021-03-07 21:31:30 +01:00
Atul R
5b8eef255d fix lint 2021-03-07 20:32:00 +01:00
Atul R
a77d2d67f6 0.30.2 2021-03-07 20:27:38 +01:00
Atul R
8f7bde6e0a scrollarea fix 2021-03-07 20:27:31 +01:00
Atul R
b7ad6ed815 bump yoga native 2021-03-07 15:11:54 +01:00
Atul R
99978de2ab
Update README.md 2021-03-05 23:32:46 +01:00
Atul R
37cefe6d61
Update README.md 2021-03-05 23:26:03 +01:00
Atul R
6c016c5913 removes prebuild install 2021-02-25 23:41:35 +01:00
Atul R
a684544982 bumps minor version 2021-02-25 22:50:05 +01:00
4h7l
006d35914a
fix(qimage): fix setPixelColor (#810) 2021-02-25 22:44:22 +01:00
allcontributors[bot]
c85120054e
docs: add wkirby as a contributor (#815)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-02-25 22:43:59 +01:00
Wyatt Kirby
3fe8f17f94
Fix incorrect behavior of minimum size for yoga layout (#814) 2021-02-25 22:43:45 +01:00