Commit Graph

560 Commits

Author SHA1 Message Date
Atul R
681689b7dd
Fixes the dist in latest release (#212)
* bump version

* bumping version
2019-11-22 00:26:58 +01:00
Atul R
cce917681f
Bug fixes: Flexlayout. Fixes layout issues (#211)
* bump version

* Fixes size control for the flex layout

* Bumps version
2019-11-22 00:02:49 +01:00
Atul R
0079abaa73
Adds Marc as a backer 2019-11-21 13:16:28 +01:00
Atul R
ab9b080fbd
quick fix for layout (#209) 2019-11-19 02:30:03 +01:00
Atul R
6dc34d5cae
bump version to 0.6 (#208) 2019-11-19 01:38:12 +01:00
Atul R
dfdb1907c7
Adds size test for radiobutton and checkbox (#207) 2019-11-19 01:31:22 +01:00
Atul R
97c67219e2
Adds Abstract button - QPushbutton, checkbox and radiobutton methods and tests (#206)
* Adds QAbstract button and related methods to QPushbutton, checkbox and radiobutton
Also adds QIcon to QVariant

* Adds iconSize to abstract button
2019-11-19 01:27:26 +01:00
Atul R
11ff1be321
Fixes sizepolicies for FlexLayout. (#205)
* update package.lock

* Fixes the flexlayout to follow sizehints by yoga.

* fix lint
2019-11-19 00:07:18 +01:00
dependabot-preview[bot]
4c48b1a563 Bump @typescript-eslint/parser from 2.6.1 to 2.7.0 (#200)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.6.1 to 2.7.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.7.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 18:39:30 +01:00
dependabot-preview[bot]
a2a4b38cc4 Bump eslint-config-prettier from 6.5.0 to 6.6.0 (#201)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.5.0...v6.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 18:39:22 +01:00
dependabot-preview[bot]
d190f2bc80 Bump @types/node from 12.12.7 to 12.12.8 (#202)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.7 to 12.12.8.
- [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-11-18 18:39:14 +01:00
dependabot-preview[bot]
35c24548f4 Bump @types/jest from 24.0.22 to 24.0.23 (#203)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.22 to 24.0.23.
- [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-11-18 18:39:06 +01:00
dependabot-preview[bot]
53e35355ac Bump @typescript-eslint/eslint-plugin from 2.6.1 to 2.7.0 (#204)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.6.1 to 2.7.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.7.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 18:38:54 +01:00
Atul R
edcdbb510e
Adds dynamic content support for flex layout. (#199)
* layout performance fix

* adjust size, webdefaults

* Add flexlayout owner to the context

* revert

* reorders setlayout and setflexnode

* add defaults

* fix mainwindow rootNode

* properties to methods

* Adds defaultsAdds flexutils  measurewidget

* introduce configure for all types of nodes.

* lint fix

* Revams flexlayout to handle dynamic content

* Adds dynamic layout support for flex layout.

* lint fix

* fix few code updates
2019-11-18 00:52:29 +01:00
allcontributors[bot]
1c1cea7a3b docs: add pepf as a contributor (#198)
* docs: update README.md

* docs: update .all-contributorsrc
2019-11-17 08:27:42 +01:00
Pepijn
b9ca846835 QMouseEvent() wrapper (#197)
* ADDS initial support for wrapping native events in  QMouseEvent()

only x, y and button are wrapped

* ADDS global coordinates

Cleanup
2019-11-17 08:26:46 +01:00
Atul R
9e667c7a86
Adds qobject props to all layouts (#196) 2019-11-12 20:49:35 +01:00
Atul R
68c910d107
Fixes critical memory leak (#195) 2019-11-12 00:43:45 +01:00
dependabot-preview[bot]
8045f5689f Bump prettier from 1.18.2 to 1.19.1 (#190)
Bumps [prettier](https://github.com/prettier/prettier) from 1.18.2 to 1.19.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.18.2...1.19.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 22:51:59 +01:00
dependabot-preview[bot]
5f4eebff65 Bump @types/jest from 24.0.21 to 24.0.22 (#191)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.21 to 24.0.22.
- [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-11-11 22:51:46 +01:00
dependabot-preview[bot]
e66aa7c802 Bump @types/node from 12.12.3 to 12.12.7 (#192)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.3 to 12.12.7.
- [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-11-11 22:51:31 +01:00
Atul R
e3667c0bbd
Adds QSize and few more test cases for pixmap, qsize and qvariant (#194)
* Adds qsize, qvariant adn qpixmap testcases

* lint
2019-11-11 22:51:15 +01:00
Dimitar Nestorov
8f26fd515b
docs: add msairio as a contributor (#193)
docs: add msairio as a contributor
2019-11-11 22:32:21 +02:00
allcontributors[bot]
0f0150990a
docs: update .all-contributorsrc 2019-11-11 20:31:33 +00:00
allcontributors[bot]
0db4cce3fe
docs: update README.md 2019-11-11 20:31:32 +00:00
Mikko Sairio
cd7906710a Feature/key events (#188)
* Added key property to QKeyEvent

* Custom handling for KeyPress and KeyRelease events

* Added modifiers, count, isAutoRepeat to QKeyEvent

* Fixed typings

* Revereted eventwidget.cpp redundant changes
2019-11-10 21:20:35 +01:00
Atul R
ece01d3803
Add qvariant object translation (#189)
* working - translation of any wrapped object

* clang format

* Adds QVariant and Qbject property. Also adds QPixmap fromQVariant

* fixes breaking test cases

* Adds build to prepush hook aswell
2019-11-10 20:48:41 +01:00
Mikko Sairio
88cd9d430f Added echoMode to QLineEdit (#187) 2019-11-10 16:29:59 +01:00
Atul R
21e5e78876
Add qvariant object translation (#185)
* working - translation of any wrapped object

* clang format
2019-11-10 12:30:26 +01:00
Atul R
f8696508fa fix dist and bump version 2019-11-10 01:21:54 +01:00
Atul R
febbaa82cc Bump version 2019-11-10 01:13:46 +01:00
Atul R
95cdcb37be
Adds QObject exports (#184)
* Adds QObject wrapper

* disable source map in the dist since its of no use

* rename to nodeobject

* Adds qobject setProperty and auto conversion of napi to qvariant (mvp version)

* fix

* moved qobject methods to qobject from qwidget

* added qobject test cases
2019-11-10 01:04:37 +01:00
Atul R
ce6860dd86 Bumps version 2019-11-09 00:16:26 +01:00
Atul R
87886aeec9
fix clang-format warning (#183) 2019-11-09 00:07:55 +01:00
Atul R
382f2d7da6
Changes unique_ptr to qpointer for qobjects since they can be managed by other parent objects. This fixes double memory free. (#182) 2019-11-09 00:05:25 +01:00
Atul R
3c57b550df
Bump yoga to 1.18.0 and typescript to 3.7.2 (#181)
* Updates yoga to v1.18.0

* Testing the flex layout a bit
2019-11-08 21:10:02 +01:00
Atul R
ae81e2aae5 cleanup plugin.js 2019-11-08 20:39:08 +01:00
Atul R
6035b5d038
Re arrange folders to make more sense (#180)
* Re-arranged qtgui and core

* Re arranges qt widgets
2019-11-08 20:33:17 +01:00
Atul R
f56bf965ee
Fixes warnings in eslint (#179) 2019-11-08 20:03:50 +01:00
Atul R
bd65329641
Adds linters, code formatters for both js and c++ and adds prepush hook (#178) 2019-11-08 19:30:01 +01:00
Atul R
fbbfa97d4b Updated the documentation with the links to talks 2019-11-06 21:42:56 +01:00
Atul R
af4c76ea4d
Update README.md 2019-11-06 19:54:24 +01:00
Umar Farouq Mohammed
49ea4c8c4d Added missing image example for layout documentation (#130) 2019-11-04 20:20:41 +01:00
Atul R
cafb42321e remove comments 2019-11-04 18:52:25 +01:00
Atul R
0b0c77daac
Update README.md 2019-11-03 23:50:19 +01:00
Dimitar Nestorov
ca2977f3e3 Added a center method on QMainWindow (#175)
Closes #134
2019-11-03 20:11:04 +01:00
Atul R
ca1ef6540b
Merge pull request #176 from nodegui/feature/scroll-push
Adds few methods to scroll area and qlabel
2019-11-03 20:09:12 +01:00
Atul R
282875d4f7 fix link 2019-11-03 20:08:10 +01:00
Atul R
20a23cb8ba Adds few methods to scroll area and qlabel 2019-11-03 20:06:42 +01:00
Atul R
a5d0c78ba6
Merge pull request #173 from nodegui/refactor/rename-children
Renaming `children` to `nodeChildren`
2019-11-03 19:45:33 +01:00