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
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
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
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
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
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)
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
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
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
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
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
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
Atul R
9e667c7a86
Adds qobject props to all layouts ( #196 )
2019-11-12 20:49:35 +01:00
Atul R
e3667c0bbd
Adds QSize and few more test cases for pixmap, qsize and qvariant ( #194 )
...
* Adds qsize, qvariant adn qpixmap testcases
* lint
2019-11-11 22:51:15 +01:00
Mikko Sairio
88cd9d430f
Added echoMode to QLineEdit ( #187 )
2019-11-10 16:29:59 +01:00
Atul R
21e5e78876
Add qvariant object translation ( #185 )
...
* working - translation of any wrapped object
* clang format
2019-11-10 12:30:26 +01:00
Atul R
95cdcb37be
Adds QObject exports ( #184 )
...
* Adds QObject wrapper
* disable source map in the dist since its of no use
* rename to nodeobject
* Adds qobject setProperty and auto conversion of napi to qvariant (mvp version)
* fix
* moved qobject methods to qobject from qwidget
* added qobject test cases
2019-11-10 01:04:37 +01:00
Atul R
87886aeec9
fix clang-format warning ( #183 )
2019-11-09 00:07:55 +01:00
Atul R
382f2d7da6
Changes unique_ptr to qpointer for qobjects since they can be managed by other parent objects. This fixes double memory free. ( #182 )
2019-11-09 00:05:25 +01:00
Atul R
bd65329641
Adds linters, code formatters for both js and c++ and adds prepush hook ( #178 )
2019-11-08 19:30:01 +01:00
Dimitar Nestorov
ca2977f3e3
Added a center method on QMainWindow ( #175 )
...
Closes #134
2019-11-03 20:11:04 +01:00
Atul R
20a23cb8ba
Adds few methods to scroll area and qlabel
2019-11-03 20:06:42 +01:00
Dimitar Nestorov
0c4fabfa85
Added isSeparator and setSeparator to QAction
2019-11-01 21:59:09 +02:00
Dimitar Nestorov
576ba1ace6
Implemented QAction checkable and checked ( #159 )
2019-10-27 10:41:16 +01:00
Atul R
cb535e33e7
Adds support for keyboard shortcuts, systray menu and systray actions (now run nodegui apps as a service). ( #156 )
...
* Added actions and tooltips to qmenu
* Adds support for nested submenu creation
* Added supported for onclick handlers in actions
* Adds support for keyboard shortcuts
* adds enabled and shortcut context
* Adds support for shortcuts and menus
* Added support for keyboard shortcuts
2019-10-26 15:31:02 +02:00
Atul R
36329a44b3
Experimental menu and tests ( #139 )
...
* Adds basic tests for window and label
* Adds few test cases for QWidget
* Adds working tests setup
* Adds inital code for menus
2019-10-07 19:24:17 +02:00
Sebastián Gurin
4d617c9321
inherits ( #125 )
2019-09-30 21:33:30 +02:00
soonoo
c284558886
Changes QSystemTrayIcon to inherit EventWidget instead of NodeWidget
2019-09-25 12:18:57 +09:00
soonoo
22498953ba
Adds basic support for QSystemTrayIcon
2019-09-25 01:09:09 +09:00
Atul R
a287d9ca59
separates include headers and implementation
2019-09-21 22:53:25 +02:00