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
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
feng8848
5d6806fe7d
Add DateTime related Class ( #332 )
2020-01-06 20:06:37 +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
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
slidinghotdog
96e7799988
add font to QAction ( #307 )
...
* add font to QAction
* lint
2019-12-29 00:04:10 +05:30
Atul R
649db6688a
Changes to QOBJECT from eventwidget ( #304 )
2019-12-26 19:43:26 +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
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
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
Maksim Karelov
47ea1861da
Pass transformationMode to scaled method ( #269 )
2019-12-16 20:53:18 +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
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
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
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
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
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
352e0ee84a
Bugfix/layout ( #247 )
...
* Adds a bit more performance fix for qlayout
* remove linter warning
2019-12-04 19:58:17 +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
8cf93ec241
Add QBoxLayout ( #239 )
...
* Add QBoxLayout
* remove unused imports from demo
* add layout prop to QBoxLayout
2019-12-04 10:54:30 +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
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
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
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
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
2019-11-26 01:00:53 +01:00
Atul R
1a02ded4be
Fixes flexlayout calculations ( #223 )
2019-11-25 23:25: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
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