Commit Graph

1235 Commits

Author SHA1 Message Date
dependabot-preview[bot]
97a4f73d3a
Merge pull request #351 from nodegui/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-2.15.0 2020-01-13 11:32:16 +00:00
dependabot-preview[bot]
f7af23d5cb
Bump ts-jest from 24.2.0 to 24.3.0
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 24.2.0 to 24.3.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v24.2.0...v24.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 11:29:53 +00:00
dependabot-preview[bot]
634eed9599
Bump @types/node from 13.1.4 to 13.1.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.1.4 to 13.1.6.
- [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-13 11:27:30 +00:00
dependabot-preview[bot]
b6344ff0f1
Bump @typescript-eslint/parser from 2.14.0 to 2.15.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.14.0 to 2.15.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.15.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 11:26:30 +00:00
dependabot-preview[bot]
125569ff2a
Bump @typescript-eslint/eslint-plugin from 2.12.0 to 2.15.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.12.0 to 2.15.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.15.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 11:25:21 +00:00
feng8848
8d5b3ca476 Add QSlider and other improvements (#348) 2020-01-12 23:05:33 +05:30
robertkruis
3a8f405e2d Further enhancements on the QTreeWidget and QTreeWidgetItem (#340)
* Extend QTreeWidget implementation

* Added more QTreeWidget and QTreeWidgetItem APIs

Supports itemClicked and itemChanged events and several APIs to be able to edit columns of the QTreeWidgetItem

* Incorporate suggested changes

* Implemented all QTreeWidget signals

* fix currentItem

* lint fix

Co-authored-by: Atul R <atulanand94@gmail.com>
2020-01-11 12:29:46 +05:30
Atul R
bb98c4b7fc
fixes on white theme (#345) 2020-01-10 21:06:36 +05:30
Atul R
a0522ccce3
Fixes spacing and doc generation (#343) 2020-01-10 12:11:00 +05:30
Atul R
47d92c57ad
updates docs (#342) 2020-01-10 11:16:42 +05:30
allcontributors[bot]
0871034893 docs: add blncd2020 as a contributor (#341)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]
2020-01-10 11:11:13 +05:30
blncd2020
a8796c9c60 Additional documentation and code examples (#339)
* additional documentation and code examples

* Update QTabWidget.ts

* Update QTableWidget.ts

* Update QTableWidgetItem.ts

* Update QTreeWidget.ts

* Update QTreeWidgetItem.ts

* Update QTreeWidget.ts

* Fixup doc comments

* fix nodedialog

* fix abstract class docs

* lint fix

* Adds QFileDialog

* Adds QGroupBox

* Adds qmessagebox, qpainter and qgroupbox

* adds link to advanced qpainter example

* Adds qtablewidget qstackedwidget and qtoolbutton

* Adds Qtreewidget docs

Co-authored-by: Atul R <atulanand94@gmail.com>
2020-01-10 11:10:25 +05:30
mspencer92
6b92bc5676 Add QButtonGroup (#336)
* Added QButtonGroup

* Update

* Update

* Update demo.ts

* Updates

Changed buttonClicked for QButtonGroup to return the id of the button and updated the demo.

* Update QButtonGroup.ts

* Format main.cpp

* Fixes button qgroups

Co-authored-by: Atul R <atulanand94@gmail.com>
2020-01-08 21:18:27 +05:30
Atul R
616b5fd19b
updates all docs (#337) 2020-01-07 17:50:35 +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