Commit Graph

672 Commits

Author SHA1 Message Date
Atul R
07e9d468bc updates all docs 2020-01-07 17:35:26 +05:30
feng8848
5d6806fe7d Add DateTime related Class (#332) 2020-01-06 20:06:37 +05:30
dependabot-preview[bot]
b3ded74acf
Merge pull request #334 from nodegui/dependabot/npm_and_yarn/typedoc-plugin-markdown-2.2.16 2020-01-06 11:30:29 +00:00
dependabot-preview[bot]
f73a19318a
Merge pull request #333 from nodegui/dependabot/npm_and_yarn/types/node-13.1.4 2020-01-06 11:29:05 +00:00
dependabot-preview[bot]
235967bd44
Bump typedoc-plugin-markdown from 2.2.14 to 2.2.16
Bumps [typedoc-plugin-markdown](https://github.com/tom-grey/typedoc-plugin-markdown) from 2.2.14 to 2.2.16.
- [Release notes](https://github.com/tom-grey/typedoc-plugin-markdown/releases)
- [Commits](https://github.com/tom-grey/typedoc-plugin-markdown/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 11:23:26 +00:00
dependabot-preview[bot]
12583140ac
Bump @types/node from 13.1.2 to 13.1.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.1.2 to 13.1.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 11:22:26 +00:00
slidinghotdog
1ed3172f9e add setFont() and font() to QWidget and font() to QAction (#327)
* add setFont() and font() to QWidget and font() to QAction

* fix QAction constructor weight type

* Fix for native element constructor QFont

Co-authored-by: Atul R <atulanand94@gmail.com>
2020-01-05 20:01:50 +05:30
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
feng8848
f409eeb7b0 Add QListWidget Support (#320) 2019-12-31 20:42:01 +05:30
dependabot-preview[bot]
db4dfa30df Bump @types/node from 12.12.21 to 13.1.2 (#322)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.21 to 13.1.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-31 20:38:27 +05:30
dependabot-preview[bot]
c027959454
Merge pull request #323 from nodegui/dependabot/npm_and_yarn/typescript-eslint/parser-2.14.0 2019-12-31 15:07:35 +00:00
dependabot-preview[bot]
76fdac00e6
Bump @typescript-eslint/parser from 2.12.0 to 2.14.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.12.0 to 2.14.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.14.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-31 14:59:59 +00:00
Atul R
7680c0e6ed
Docs update script (#312)
* fix build issues

* Fix docs script
2019-12-29 10:45:40 +05:30
slidinghotdog
9fada0e168 Move QColor from QtCore to QtGui (#311)
* Change QColor from QtCore to QtGui

* lint
2019-12-29 10:41:43 +05:30
slidinghotdog
609e243866 Add QFont and change QAction.setFont() to accept QFont (#309)
* Add QFont and change QAction.setFont() to accept QFont

* fix constructor

* fix .fromQVariant()
2019-12-29 09:55:33 +05:30
Atul R
20cf4cc080
Cleans up (fixes build errors) (#310) 2019-12-29 09:37:05 +05:30
Atul R
392aa3cd4c
Adds automatic docs for now (#308)
* adds basic typedoc

* backup

* Adds all docs to source code

* Adds autogenerated docs

* Fixes doc links

* Updates docs
2019-12-29 00:42:06 +05:30
slidinghotdog
96e7799988 add font to QAction (#307)
* add font to QAction

* lint
2019-12-29 00:04:10 +05:30
Atul R
8521efbe32
0.12.1 (#305) 2019-12-26 19:47:27 +05:30
Atul R
649db6688a
Changes to QOBJECT from eventwidget (#304) 2019-12-26 19:43:26 +05:30
Atul R
0061ba43d8
Bump version to 0.12 (#301)
* 0.12.0

* change to prerelease
2019-12-26 13:34:26 +05:30
Atul R
e98c6d7ebc
Update README.md 2019-12-24 12:54:11 +05:30
dependabot-preview[bot]
1033d2d168 Bump @typescript-eslint/parser from 2.11.0 to 2.12.0 (#296)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.12.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 21:34:54 +05:30
dependabot-preview[bot]
60dafcf770 Bump @types/jest from 24.0.23 to 24.0.24 (#292)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.23 to 24.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 21:33:43 +05:30
dependabot-preview[bot]
a8114818d1 Bump typescript from 3.7.3 to 3.7.4 (#293)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.3 to 3.7.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 21:33:28 +05:30
dependabot-preview[bot]
4a0cabd62c Bump @types/node from 12.12.17 to 12.12.21 (#294)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.17 to 12.12.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 21:33:13 +05:30
dependabot-preview[bot]
b82cec20a7 Bump cuid from 2.1.6 to 2.1.8 (#295)
Bumps [cuid](https://github.com/ericelliott/cuid) from 2.1.6 to 2.1.8.
- [Release notes](https://github.com/ericelliott/cuid/releases)
- [Commits](https://github.com/ericelliott/cuid/compare/v2.1.6...v2.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 21:32:59 +05:30
dependabot-preview[bot]
cd2daf8752 Bump @typescript-eslint/eslint-plugin from 2.11.0 to 2.12.0 (#297)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.12.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 21:32:35 +05:30
dependabot-preview[bot]
7f1b54027b Bump eslint from 6.7.2 to 6.8.0 (#298)
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.7.2...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 21:32:19 +05:30
Atul R
d1e5d499fb
Inherit implemented Qt signals from base classes (#290)
* Adds abstract signals

* basic layout and filedialogs

* Adds all remaining signal heirarchies

* fix lint
2019-12-23 01:26:02 +05:30
Atul R
42e92ecbff
Adds Signals inheritance (#288)
* Inherit signals

* export signals

* Fix Qvariant build

* Adds Abstract button signals

* added more test cases
2019-12-20 23:48:53 +05:30
Atul R
01a6476f9c
Separate events and signals (#287)
* Wip

* Improve constructor typings

* Fixes types for Gui and Core

* QtGui

* Remove unnecessary imports and fix types on abstract classes

* Adds half of qwidgets

* Add all widgets

* cleans up

* fix failing test

* lint fix

* fix demo
2019-12-20 18:33:05 +05:30
slidinghotdog
d238f4f3e8 Add insertWidget to QBoxLayout and stretch arg (#286)
* sync upstream

* Add insertWidget to QBoxLayout and stretch arg
2019-12-20 18:20:32 +05:30
Atul R
8793f172e3
Cleanup and bump version (#285)
* Cleans up and bumps version

* Change to npm blacklist

* geometry now returns QRect
2019-12-19 23:10:32 +05:30
Atul R
4f41d3b12f
Cleanup and adds QColor, QPoint methods and test cases (#284)
* add more methods to qcolor, qpoint and add test cases and lint

* fix lint
2019-12-19 22:01:50 +05:30
mspencer92
43d4ad7218 QPainter (#279)
* QPainter

* QPainter

* QPoint
drawConvexPolygon for QPainter

* QPoint
drawConvexPolygon for QPainter

* Added in QColor and expanded on the demo.

* Added some functions to QPainter and expanded on the demo.

* Expanded on the demo.

* Update package.json

* Update qcolor_wrap.h
2019-12-19 20:05:26 +05:30
Atul R
6babd83c3b
fix formatting (#283) 2019-12-19 19:17:27 +05:30
Atul R
7b5e2017ee
fixes links (#282) 2019-12-19 03:13:22 +05:30
Atul R
80209ba155
Adds automatic alpha release for master branch (#281)
Adds auto alpha release on master commit
2019-12-19 03:06:54 +05:30
Atul R
4a88933eb2
wip (#280) 2019-12-18 20:01:28 +05:30
allcontributors[bot]
1dbdd8c707 docs: add mspencer92 as a contributor (#278)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]
2019-12-18 17:37:37 +05:30
Atul R
c90b2cb3ce
QTreeWidget PR (#277)
* Added the beginning of QTreeWidget and QTreeWidgetItem

* Fixed garbage collection

* Fixed garbage collection

* Rewrote the constructor for QTreeWidgetItem

* Code cleanup

* Fixed up the QTreeWidgetItem constructor to accept only a string list of columns. Code cleanup

* Add setHeaderHidden to QTreeWidget

* Started adding signals to QTreeWidget

* Started adding signals to QTreeWidget

* Started adding signals to QTreeWidget

* Added TreeWidget back to main.cpp

* Added more functions to QTreeWidgetItem and QPlainTextEdit

* linting and cleanup

* parenting fix

* Fixes garbage collection for treewidget items
2019-12-18 17:36:44 +05:30
Atul R
7d33f25040
Adds itemData and icon and bulk clear to combobox (#276) 2019-12-17 23:59:28 +05:30
Atul R
16a74dc589
updating to 0.10 (#274) 2019-12-17 01:46:49 +05:30
dependabot-preview[bot]
826fcbe74d Bump @typescript-eslint/parser from 2.10.0 to 2.11.0 (#270)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.11.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 20:53:56 +05:30
dependabot-preview[bot]
75577ca5ca Bump eslint-plugin-prettier from 3.1.1 to 3.1.2 (#271)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.1...v3.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 20:53:43 +05:30
dependabot-preview[bot]
7a739c9103 Bump @types/node from 12.12.14 to 12.12.17 (#273)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.14 to 12.12.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 20:53:31 +05:30
Maksim Karelov
47ea1861da Pass transformationMode to scaled method (#269) 2019-12-16 20:53:18 +05:30
dependabot-preview[bot]
3af2ff5e02 Bump @typescript-eslint/eslint-plugin from 2.10.0 to 2.11.0 (#272)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.11.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 20:52:28 +05:30
Atul R
a593c53116
Throttle flex layout calculation calls to improve performance (#268)
* Throttling multiple calls to setGeometry

* Lint
2019-12-15 23:36:04 +05:30