Commit Graph

23 Commits

Author SHA1 Message Date
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
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
Pepijn
b9ca846835 QMouseEvent() wrapper (#197)
* ADDS initial support for wrapping native events in  QMouseEvent()

only x, y and button are wrapped

* ADDS global coordinates

Cleanup
2019-11-17 08:26:46 +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
Atul R
ece01d3803
Add qvariant object translation (#189)
* working - translation of any wrapped object

* clang format

* Adds QVariant and Qbject property. Also adds QPixmap fromQVariant

* fixes breaking test cases

* Adds build to prepush hook aswell
2019-11-10 20:48:41 +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
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
soonoo
22498953ba Adds basic support for QSystemTrayIcon 2019-09-25 01:09:09 +09:00
Atul
ab85d3f191 Fixes linux build 2019-09-22 18:16:31 +02:00
Atul R
e8b30b2282 Adds target versioning" 2019-09-22 17:19:41 +02:00
Atul R
f5e290beec Clean up the configs a bit more 2019-09-22 15:19:52 +02:00
Atul R
e87485441e Adds include and linkings for plugins 2019-09-22 14:24:46 +02:00
Atul R
a287d9ca59 separates include headers and implementation 2019-09-21 22:53:25 +02:00
Atul R
495071089a move ntabwidget over to cmake 2019-09-20 23:45:11 +02:00
Atul R
5e6dd2ad46 rename qtnode to nodegui_core 2019-09-20 23:42:03 +02:00
Atul R
f593a34cf1 Working automatic moc 2019-09-20 23:42:03 +02:00
Atul R
75e8140318 Adds cmake build support 2019-09-20 23:41:11 +02:00
Atul R
60f3f7e9de Cleans up 2019-09-20 23:37:52 +02:00
master-atul
86e2590f4f Fixes cmake on windows 2019-09-20 23:37:52 +02:00
Atul R
1c385b33f1 Adds stuff for windows and linux 2019-09-20 23:37:52 +02:00
Atul R
3c97199a10 Adds cmake as a build system for mac instead of node-gyp 2019-09-20 23:37:52 +02:00