Commit Graph

631 Commits

Author SHA1 Message Date
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
feng8848
6c92f02edd Add QToolButton Mainly (#265) 2019-12-15 21:19:01 +05:30
Rustam
fb6244de69 fix(docs) image link (#266) 2019-12-15 05:15:20 +05:30
Atul R
9d30182c64
Update README.md 2019-12-15 00:34:55 +05:30
slidinghotdog
a59e8b5e2e Qtablewidget rebase (#264)
* sync upstream

* Initial tablewidget

* methods from tableview and signals

* remove comment in CMakeLists

* inherits from QAbstractScrollArea

* revert demo
2019-12-14 09:27:34 +05:30
Atul R
9aa53ea118 cleanup demo.ts 2019-12-12 19:38:42 +05:30
feng8848
19f786a0f1 Add font support (#261)
* Add font support

* Update qfontdatabase_wrap.h

* Update qfontdatabase_wrap.cpp

* Update QFontDatabase.ts

* make static method
2019-12-12 19:16:49 +05:30
Maksim Karelov
9cb47c7d8a Add stack-related methods to QWidget (#262)
- `activateWindow`
- `raise`
- `lower`
2019-12-12 14:27:21 +05:30
allcontributors[bot]
b51e5f0654 docs: add Ty3uK as a contributor (#259)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]
2019-12-11 15:17:04 +05:30
Maksim Karelov
16b9bc5585 Add signals to QSystemTrayIcon (#258)
* Add signals to QSystemTrayIcon

- `activated(QSystemTrayIcon::ActivationReason reason)`
- `messageClicked()`

* Fix `QSystemTrayIconActivationReason` export
2019-12-11 13:12:04 +05:30
slidinghotdog
4703dd4d27 Add QFileDialog (#256)
* Add QFileDialog

* fix missing return types
2019-12-09 20:11:00 +01:00
Atul R
d79ba0620d
bugifx: layout insertion and qvariant (#255) 2019-12-08 22:33:27 +01:00
Atul R
c7863f758e update yarn.lock for website 2019-12-08 21:30:33 +01:00
Atul R
30486ed486 bump versions 2019-12-08 21:23:03 +01:00
Atul R
f8c9557166
Feature/bug fixes (#254)
* cleanup

* Check for preventing double addition due to the way reconciler works

* set scrollarea as resizeable by default
2019-12-08 20:55:13 +01:00
slidinghotdog
a3aa6ea44a add addItems() and insertItems() to QComboBox (#253) 2019-12-08 19:25:59 +01:00
Atul R
14ea41b1d9 fix lint 2019-12-07 18:51:07 +01:00
Atul R
8039e6b09a cleans up demo file and fixes qgroupbox 2019-12-07 18:49:42 +01:00
allcontributors[bot]
1e8a1b7b76 docs: add feng8848 as a contributor (#252)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]
2019-12-07 18:29:47 +01:00
feng8848
32a1b97012 Add QGroupBox (#251) 2019-12-07 18:29:17 +01:00
slidinghotdog
ed84031fbb Add QComboBox (#250)
* Add QComboBox

* clean ts file
2019-12-07 11:37:55 +01:00
Bundyo (Kamen Bundev)
a8cc7d9441 Add style() getter in QApplication (#249)
Add minimal QStyle implementation with just pixelMetric getter
 (allow getting the scrollbars width)
2019-12-05 23:08:54 +01:00
Atul R
b0c9bca53a
bumps nodegui to 0.8.0 and fix tabwidget layout issue (#248)
* bumps nodegui to 0.8.0

* Fixes a size issue with tabWidgets

* Fixes tabwidget not stretching

* change to nodewidget
2019-12-04 20:19:39 +01:00
Atul R
352e0ee84a
Bugfix/layout (#247)
* Adds a bit more performance fix for qlayout

* remove linter warning
2019-12-04 19:58:17 +01:00
allcontributors[bot]
0baeeb8dbb docs: add bundyo as a contributor (#246)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]
2019-12-04 18:58:34 +01:00
Bundyo (Kamen Bundev)
98be88f8ae Add QStackedWidget (for page style navigation) (#245)
* Add possibility to set row, col, rowSpan, colSpan in QGridLayout's addWidget
Add QStackedWidget

* Add .idea to .gitignore

* Lint fixes

* Update Yoga configuration
2019-12-04 18:57:59 +01:00
Atul R
76664f6732
Merge pull request #244 from nodegui/all-contributors/add-slidinghotdog
docs: add slidinghotdog as a contributor
2019-12-04 10:55:40 +01:00
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) 2019-11-29 08:11:16 +01:00