Commit Graph

107 Commits

Author SHA1 Message Date
Atul R
493a61de1b Adds QApplication methods 2019-08-11 20:39:17 +02:00
Atul R
a5b0bbcb28 Adds window flags and attributes 2019-08-10 22:15:41 +02:00
Atul R
4f9e27d36a Adds inline styling support and other native methods 2019-08-10 11:21:36 +02:00
Atul R
c3de181e32 Namespaced all yoga properties on qt properties to avoid name collision 2019-08-09 19:24:19 +02:00
Atul R
26fd58d8d1 Adds basic stylesheet autoprefixer 2019-08-07 23:50:27 +02:00
Atul R
3b8794f5e2 Adds update geometry 2019-08-07 21:22:23 +02:00
Atul R
df7a0ab565 Adds common layout methods and adds basic react docs 2019-08-07 20:05:38 +02:00
Atul R
b0df94bdf7 Adds qlineedit methods and properties 2019-08-04 20:32:18 +02:00
Atul R
942c96e546 Adds scalable image via aspect ratio setting 2019-08-04 11:52:02 +02:00
Atul R
3694215fcb Adds type = native property to all wrapped elements in the nodegui world. Also fixes scaled QPixmap 2019-08-04 08:49:33 +02:00
Atul R
401b99dc85 Added scaled pixmap 2019-08-04 07:17:05 +02:00
Atul R
c14cf72504 Added getter property for pixmap and text for label 2019-08-03 23:48:40 +02:00
Atul R
e6eccd06a9 Added Image rendering support via qlabel and qpixmap 2019-08-03 23:35:11 +02:00
Atul R
839c4ae223 Adds flex layout documentation 2019-08-02 23:36:13 +02:00
Atul R
255d0eef91 Adds documentation for all internal widgets. 2019-08-02 22:46:03 +02:00
Atul R
55ee7b2bee Adds base boilerplates similar to that of Electron 2019-07-29 23:31:03 +02:00
master-atul
a3112f5b48 Fixes yogalayout in windows and code cleanup 2019-07-24 23:47:02 +02:00
Atul R
ad438780e9 Added more exports 2019-07-14 14:10:31 +02:00
Atul R
22178c074a maxSize,minSize,repaint,update 2019-07-14 13:00:47 +02:00
Atul R
85af0c209a Fix for setLayout on mainwindow 2019-07-14 00:41:52 +02:00
Atul R
63685c88c4 Corrects setLayout and layout when central widget is set on QMainWindow 2019-07-14 00:12:11 +02:00
Atul R
789d28ed99 added enabled prop to widgets 2019-07-13 13:38:16 +02:00
Atul R
b8b3dd53e7 add set text on radio button 2019-07-12 20:25:15 +02:00
Atul R
275c4b2d64 Adds measuremode to leafnode widgets 2019-07-11 23:40:42 +02:00
Atul R
68cb6515ab remove unnecessary log 2019-07-11 20:26:51 +02:00
Atul R
f9841c6ad6 Adds mouse tracking and fixes events for QWidget 2019-07-11 20:24:19 +02:00
Atul R
790fec5fd6 adds removeEventListener and cleanup 2019-07-11 00:29:55 +02:00
Atul R
3fed29d6fe Adds insertbefore method on flex layout 2019-07-10 00:08:39 +02:00
Atul R
687fcc1052 remove widget from layout 2019-07-09 21:22:09 +02:00
Atul R
b47b2144a0 Bugfix: NWidget can now be painted using qstylesheet 2019-06-28 23:19:50 +02:00
Atul R
fcb2bdccee Makes flexNode optional in addWidget 2019-06-27 23:13:12 +02:00
Atul R
e2a4046a34 Added exports 2019-06-27 19:21:09 +02:00
Atul R
fd95251c8c Adds calculator key board listener 2019-06-23 18:26:05 +02:00
Atul R
93608e2e75 Renamed to QKeyEvent 2019-06-23 17:56:46 +02:00
Atul R
e15d6b14ac Adds custom keyevent handler. And remove dependency on napi-thread-safe-callback 2019-06-23 17:34:54 +02:00
Atul R
ba409c8c14 Adds more type helpers 2019-06-22 21:36:24 +02:00
Atul R
c651775eca Convert flexNode to Napi::External. 2019-06-22 21:26:26 +02:00
Atul R
1bdf06c4c4 Added native event payload on the event listener 2019-06-22 20:00:44 +02:00
master-atul
9f6ecc19dc Fixes windows build for addon 2019-06-21 18:49:04 +02:00
Atul
a39165a659 revert to latest spec 2019-06-19 00:31:01 +02:00
Atul
0beebabd10 fix linux issues 2019-06-19 00:27:24 +02:00
Atul R
92a705b663 cleaned up readme 2019-06-16 16:57:44 +02:00
Atul R
085c05dd85 Organised code so that its easier to modify all widgets at once. 2019-06-16 15:55:17 +02:00
Atul R
e77ee16c6e Single api for events and signals on JS side 2019-06-15 23:59:42 +02:00
Atul R
3d08908f9a Added event listener to all widgets 2019-06-15 23:43:11 +02:00
Atul R
229ecddeb1 events support 2019-06-15 18:29:16 +02:00
Atul R
3fe22cdc12 not needed to include yogawidget macro separately. 2019-06-12 20:24:57 +02:00
Atul R
7a39ee0fd3 Fixes resize needed for layout issue. 2019-06-12 00:45:23 +02:00
Atul R
ab6ced2bfd Updated calculator UI and added setObjectName 2019-06-10 19:30:49 +02:00
Atul R
3b4ec63771 adds web defaults for flex layout and int cleanups 2019-06-09 23:43:17 +02:00