* 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.
* 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.
* 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
* 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>
* add setFont() and font() to QWidget and font() to QAction
* fix QAction constructor weight type
* Fix for native element constructor QFont
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