846 Commits

Author SHA1 Message Date
allcontributors[bot] 6b560af913 docs: update .all-contributorsrc [skip ci] 2019-12-04 09:55:12 +00:00
allcontributors[bot] 7bf98c0c42 docs: update README.md [skip ci] 2019-12-04 09:55:11 +00:00
Atul R 8cf93ec241 Add QBoxLayout (#239)
* Add QBoxLayout

* remove unused imports from demo

* add layout prop to QBoxLayout
2019-12-04 10:54:30 +01:00
slidinghotdog 164e54c608 change layout prop to childLayout 2019-12-03 21:28:30 -03:00
Atul R c691d6a8d5 reverting demo (#242) 2019-12-04 00:30:36 +01:00
Atul R bae4776747 Fixes dynamic layout sizes after widget show (#241)
* handles most cases

* Works with every edge case
Works similar to QGridLayout

* performance fix

* Adds calculate to sizehint
2019-12-04 00:21:47 +01:00
slidinghotdog f94f418947 add layout prop to QBoxLayout 2019-12-03 13:38:00 -03:00
slidinghotdog b33345bc92 remove unused imports from demo 2019-12-03 02:05:01 -03:00
slidinghotdog 3c36226b71 Add QBoxLayout 2019-12-03 02:02:51 -03:00
dependabot-preview[bot] 420f6db56b Bump node-addon-api from 1.7.1 to 2.0.0 (#234)
Bumps [node-addon-api](https://github.com/nodejs/node-addon-api) from 1.7.1 to 2.0.0.
- [Release notes](https://github.com/nodejs/node-addon-api/releases)
- [Changelog](https://github.com/nodejs/node-addon-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodejs/node-addon-api/compare/1.7.1...2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 22:40:27 +01:00
dependabot-preview[bot] 127238b98d Bump @typescript-eslint/parser from 2.8.0 to 2.9.0 (#235)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.8.0 to 2.9.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.9.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 22:40:17 +01:00
dependabot-preview[bot] 15f248cad2 Bump @types/node from 12.12.12 to 12.12.14 (#236)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.12 to 12.12.14.
- [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-02 22:39:06 +01:00
dependabot-preview[bot] 2bd59d0c65 Bump @typescript-eslint/eslint-plugin from 2.7.0 to 2.9.0 (#237)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.7.0 to 2.9.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.9.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 22:38:56 +01:00
dependabot-preview[bot] f8d6fd7133 Bump eslint from 6.6.0 to 6.7.2 (#238)
Bumps [eslint](https://github.com/eslint/eslint) from 6.6.0 to 6.7.2.
- [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.6.0...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 22:38:44 +01:00
Atul R 518fe1f3cc bump version to 0.7.0 (#233) v0.7.0 2019-11-29 08:11:16 +01:00
Atul R 67b0893f33 Update README.md 2019-11-29 00:40:03 +01:00
Atul R 6e6495f948 Load image from buffer, QMovie and QRect (#232)
* Adds qpixmap load from data

* Adds basic qrect and qmovie

* Adds more methods to QMovie and QLabel

* Adds QMovie, QRect and qlabel methods

* Adds custom method load from data to load from buffer easily

* Adds loading from buffer for qmovie
2019-11-29 00:39:35 +01:00
Atul R 06a787bedf export abstract button (#230)
* export abstract button

* bump version
2019-11-27 23:49:27 +01:00
Atul R 0ed44e458e Adds fix for Qt bug where Qt fails to recognise a default font. In that case set the default font to Sans serif (#229) 2019-11-27 09:48:16 +01:00
Atul R 3a404d24a1 Bugfix: inline stylesheet (#228)
* Bugfix: inline stylesheet

* bump version
v0.6.8
2019-11-26 20:29:23 +01:00
Atul R 6d13aa448f remove unnecessary debug logs (#227) 2019-11-26 19:54:48 +01:00
Atul R 0b68f8586c remove spdlog as a dependency (#226)
* cleans up spdlog everywhere except

* removes all usage of spdlog

* removed spdlog dependency
2019-11-26 19:39:52 +01:00
Atul R 2b2d83d0a6 Mainwindow takeCentralWidget (#225)
* Adds takeCentralWidget to qmainwindow

* lint fix

* bump version to 0.6.7
v0.6.7
2019-11-26 01:00:53 +01:00
Atul R 71c58db50e Bumps version to 0.6.6 (#224) v0.6.6 2019-11-25 23:28:25 +01:00
dependabot-preview[bot] fda5d69071 Bump eslint-config-prettier from 6.6.0 to 6.7.0 (#218)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.6.0 to 6.7.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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 23:26:29 +01:00
dependabot-preview[bot] bb45eb09f4 Bump @types/node from 12.12.8 to 12.12.12 (#219)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.8 to 12.12.12.
- [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-25 23:26:19 +01:00
dependabot-preview[bot] 8dfdb678f9 Bump @typescript-eslint/parser from 2.7.0 to 2.8.0 (#220)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.7.0 to 2.8.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.8.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 23:26:11 +01:00
dependabot-preview[bot] bf1a8bd924 Bump ts-jest from 24.1.0 to 24.2.0 (#221)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 24.1.0 to 24.2.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.1.0...v24.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 23:26:01 +01:00
Atul R 1a02ded4be Fixes flexlayout calculations (#223) 2019-11-25 23:25:47 +01:00
dependabot-preview[bot] aa95508482 Bump husky from 3.0.9 to 3.1.0 (#222)
Bumps [husky](https://github.com/typicode/husky) from 3.0.9 to 3.1.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v3.0.9...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 13:47:47 +01:00
Atul R 22c7acd74e Methods and exports needed for Webview support (#217)
* Adds basic qurl support

* allows building with custom qt installation using the env variable

* cleans up

* cleanup
2019-11-24 23:05:53 +01:00
Mikko Sairio 15c2f1aca6 update lineedit docs (#216) 2019-11-24 19:19:31 +01:00
Atul R ba26a3b1c1 Update README.md 2019-11-23 00:14:27 +01:00
Atul R 6ac7303e16 Adds automatic test and linting on pull requests for nodegui (#215)
* adds test action

* make c++11 mandatory

* fix

* fix

* fix broken tests in windows

* upgrade qode to 1.0.6

* Fixes recursive hell for layouts

* adds cross env for windows

* change to pull request
2019-11-22 23:43:54 +01:00
Atul R 8a93f69e03 bump version (#214) 2019-11-22 19:40:57 +01:00
Atul R 1132d5f0a7 remove defaulting to web config (#213) v0.6.5 2019-11-22 19:34:38 +01:00
Atul R 681689b7dd Fixes the dist in latest release (#212)
* bump version

* bumping version
v0.6.3
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