Commit Graph

98 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
001d83b860 changed to class properties instead. Added calculator base example starting 2019-06-09 21:05:02 +02:00
Atul R
ac0a544565 Adds size methods to qmainwindow and setText accepts number 2019-06-09 08:46:01 +02:00
Atul R
44a88390fe Changing to setSignalListener since signals and events mean different things in qt. So changing it to match it 2019-06-08 20:58:46 +02:00
rgabs
d9237d65e5 Added getter method for label widget 2019-06-09 00:04:37 +05:30
Atul R
6ddc6167e2 Abstracted away the logic for event listeners from JS side 2019-06-08 18:14:19 +02:00
Atul R
d0ef8472a3 Adds all button event listeners 2019-06-08 17:41:23 +02:00
Atul R
383186a102 Working events !! 2019-06-08 09:29:49 +02:00
Atul R
37bafaa64d Fixes segmentation fault due to garbage collection of flex nodes 2019-06-06 18:40:52 +02:00
Atul R
0d10ad8215 Fix minor heirarchy bugs 2019-06-06 12:13:24 +02:00
Atul R
201ab3657f Fix layout heirarchy 2019-06-06 11:50:49 +02:00
Atul R
f9a209f34a All layouts inherit from qlayout on js side. 2019-06-06 11:34:06 +02:00
Atul R
0ea9675005 Adds test flow for yoga widgets 2019-06-06 10:00:04 +02:00
Atul R
e757f38eb5 removed unnecessary code and cleans up Flexlayout 2019-06-06 08:42:26 +02:00
Atul R
2aeda4a556 Adds supprt for getting flex nodes from c++ side 2019-06-06 08:20:47 +02:00
Kakul Gupta
539b343007 QLineEdit 2019-06-03 19:02:31 +02:00
Kakul Gupta
3e9a230404 Radio button 2019-06-03 18:46:46 +02:00
Kakul Gupta
f14111bc96 yolo 2019-06-03 18:22:29 +02:00
Kakul Gupta
cb0bdfa08d Added QCheckBox 2019-06-01 16:19:52 +02:00
Atul R
e2686afff2 Added hide to all widgets 2019-05-27 23:18:47 +02:00
Atul R
29cab9d42a Remove partial event listener code. 2019-05-27 23:03:48 +02:00
Atul R
82552a0fc8 Now all js widgets have access to all methods of nodewidget(qwidget) 2019-05-27 23:00:13 +02:00
Atul R
ccab853936 adds bindings 2019-05-21 22:30:10 +02:00
Atul R
4ab352dfec renamed again 2019-05-21 21:06:13 +02:00
Atul R
40e8a0a743 refactored a bit and changed name 2019-05-21 20:55:49 +02:00
Atul R
6f8db2db1c Adds basic push button 2019-05-21 18:46:34 +02:00
Atul R
2eb95d7c05 Working app without issue of gc. 2019-05-21 00:31:08 +02:00