* Add QIcon support to QTreeWidgetItem.
Signed-off-by: R. Douglas Barbieri <doug@dooglio.net>
* Move to QTreeWidgetItem from QTableWidgetItem...
I made a mistake and added the icon support to `QTableWidgetItem`
instead of the tree widget.
* Ran prettier.
* Add small test for the widget and item.
* Added tree widget test to demo.
* Added QWheelEvent
* removed x y
* Added QNativeGestureEvent
* Changed wrong type of QNativeGestureEventWrap value
* Added QTabletEvent
* Fixing build error for QTabletEvent
* adding dropaction
* fix typos
* Added more functions to QPainterPath
* Added more functions to QPainterPath
* Fixed multiple typos
* Fixed multiple typos
* Got QPainterPath additions working.
* Modified QPainterPath to use qreal instead
* Added QPointF, added a few missing methods to QPoint
* Added QRectF
* implemented QRectF
* Added acceptDrops and setAcceptDrops to QWidget, will be useful for addon implementation of Drag and Drop
* Added more methods to QUrl
* Added QMimeData, additional methods to QUrl, and Dropping should now be supported
* refactored
* Fixed more merge conflicts
* Is this my final merge conflict??
* All merge conflicts resolved
* All merge conflicts resolved
* Adds guide for drag and drop
* lint fix
* added preliminary stuff, will need to tweak to make compilable..
* Compile passed, let's see if it works...
* QDrag added, working
* pause a bit, QDrag causes delayed error of 'QPaintDevice: Cannot destroy paint device that is being painted'
* Revert "Implemented QDrag class"
* Disabled problematic functions
* pulling from origin
Co-authored-by: Switt Kongdachalert <switt1995@yahoo.com>
Co-authored-by: Atul R <atulanand94@gmail.com>
* Added QWheelEvent
* removed x y
* Added QNativeGestureEvent
* Changed wrong type of QNativeGestureEventWrap value
* Added QTabletEvent
* Fixing build error for QTabletEvent
* adding dropaction
* fix typos
* Added more functions to QPainterPath
* Added more functions to QPainterPath
* Fixed multiple typos
* Fixed multiple typos
* Got QPainterPath additions working.
* Modified QPainterPath to use qreal instead
* Added QPointF, added a few missing methods to QPoint
* Added QRectF
* implemented QRectF
* Added acceptDrops and setAcceptDrops to QWidget, will be useful for addon implementation of Drag and Drop
* Added more methods to QUrl
* Added QMimeData, additional methods to QUrl, and Dropping should now be supported
* refactored
* Fixed more merge conflicts
* Is this my final merge conflict??
* All merge conflicts resolved
* All merge conflicts resolved
* Adds guide for drag and drop
* lint fix
Co-authored-by: Switt Kongdachalert <switt1995@yahoo.com>
Co-authored-by: Atul R <atulanand94@gmail.com>
* Added QWheelEvent
* removed x y
* Added QNativeGestureEvent
* Changed wrong type of QNativeGestureEventWrap value
* Added QTabletEvent
* Fixing build error for QTabletEvent
* adding dropaction
* fix typos
* Added more functions to QPainterPath
* Added more functions to QPainterPath
* Fixed multiple typos
* Fixed multiple typos
* Got QPainterPath additions working.
* Modified QPainterPath to use qreal instead
* Added QPointF, added a few missing methods to QPoint
* Added QRectF
* implemented QRectF
* Added acceptDrops and setAcceptDrops to QWidget, will be useful for addon implementation of Drag and Drop
Co-authored-by: Switt Kongdachalert <switt1995@yahoo.com>
* Added QWheelEvent
* removed x y
* Added QNativeGestureEvent
* Changed wrong type of QNativeGestureEventWrap value
* Added QTabletEvent
* Fixing build error for QTabletEvent
Co-authored-by: Switt Kongdachalert <switt1995@yahoo.com>
* Fixed slight error in dependencies installation command (Ubuntu)
* Implemented setColumnWidth method for QTreeWidget
* Added an example of using setColumnWidth method
* Fixed doc error for setColumnWidth method.
* Update QTreeWidget
Fixed a bug with QTreeWidget::currentItem() crashing when nothing is selected and added QTreeWidget::takeTopLevelItem() and QTreeWidget::clear()
* Fix garbage collection
* Fix garbage collection
* add cpp method to insert tab at a given index
* add ts method to insert tab at given index
* add insert tab demo
* fixing lint issues in cpp code
* fix: passing the native widgets to insertTab
* Moves qt integration solely to the nodegui core addon
* Adds lint fixes
* moved to integration core
* cleans up export snippet
* revert package.json
* Add exit if app->exec finishes.
* lint fix
* Makes QApplication custom
* adds qobject to wrap of qapp
* Adds working qt run looper
* Adds font default
* Adds qt installer
* Updates qode integration to v2.0.1
* fix cpp lints
* Fixes lint and deps
* Adds miniqt installation
* adds setup mini qt script
* skips tests due to issues with jest
* fix config and download path for linux and windows
* Adds multiple artifact downloader
* fix qt config and compilation
* Fixes qode path for windows (now it can load dll's easily)
* Add compilation
* fix windows path setup
* use scripts directly
* enabled tests back
* fix ubuntu deps
* update to alpha release
* fix workflow
* adds more artifacts and funding field
* change to alpha v2
* update prebuild yml
* revert build action
* disabling prebuild for now
* switch to stable release 5.14.1
* version bump
* adding the setTabText to the QTabWidgetWrap definition
* implementing the setTabText funciton in the cpp module
* implementing the setTabText in the ts module
* adding a demo for the tab text change feature
* fixing lint issues
* exporting the QSettings enums
* initial qsettings implementation
* fix qsettings object constructor initialization
* added sync method
* added setValue method
* implemented value method
* pass actual app name and org name
* accept any value that can be converted to QVariant in setValue method
* implemented value method with proper QVariant wrap
* added tests
* removed testing data, fixed warning
* fixed cpp linting
* menu and menubar changes so far
* attempting to add a simpler way to create menubars
* menu and menubar changes so far
* attempting to add a simpler way to create menubars
* attempting to add a simpler way to create menubars
* rebased from master
* rebased from master
* Move qaction creation to qwidget macro
* removed addMenuWithName
* exec, and popup working
Co-authored-by: Atul R <atulanand94@gmail.com>
* 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>
* 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>
* 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>
* 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
* 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
* 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
* 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