Commit Graph

70 Commits

Author SHA1 Message Date
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
Atul R
a2bbc24f3d Added more logging 2019-06-09 21:53:26 +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
695d1df039 Adds text measuring support for button and label 2019-06-09 20:36:44 +02:00
Atul R
ac0a544565 Adds size methods to qmainwindow and setText accepts number 2019-06-09 08:46:01 +02:00
Atul R
5fccc207f7 Adds Yoga props to all widgets 2019-06-09 08:08:03 +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
e835a8be86 Cleanup 2019-06-08 18:30:30 +02:00
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
120e45f583 cleanest implementation for now. No dependency on main widget class 2019-06-08 14:26:01 +02:00
Atul R
8883ff1e91 Best implementation for now 2019-06-08 14:09:54 +02:00
Atul R
092e44fbb6 Fixes non destructing widgets on close 2019-06-08 11:25:48 +02:00
Atul R
f5b962f65b change to unique ptr still works -> but i beleive we have a memory leak now. 2019-06-08 10:01:28 +02:00
Atul R
383186a102 Working events !! 2019-06-08 09:29:49 +02:00
Atul R
3e69096544 Fixes crash on close issue 2019-06-08 00:08:21 +02:00
Atul R
5987ef7eca Added automoc 2019-06-07 21:41:08 +02:00
Atul R
98494f50d6 added yoga properties to all widgets 2019-06-07 20:13:09 +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
c674bcd275 changed to spdlog 2019-06-06 17:00:17 +02:00
Atul R
74b87d9c52 convert some logs to spdlog 2019-06-06 16:51:24 +02:00
Atul R
99b73ed46d fix todos and cleanup names 2019-06-06 16:15:15 +02:00
Atul R
eaa9c55390 MOC is working with macros now. 2019-06-06 15:13:24 +02:00
Atul R
9657c3f792 Working flex model 2019-06-06 14:26:19 +02:00
Atul R
599290bf97 fix for uncaught exception 2019-06-06 13:47:07 +02:00
Atul R
feef6c13b9 reduced no of files by optimising moc generation 2019-06-06 12:29:20 +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
bd246c77ee Adds yoga widget macro and nwidget 2019-06-06 09:18:39 +02:00
Atul R
3b673b2ba3 Added more dev docs 2019-06-06 08:47:20 +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
Atul R
34ba68be5a Added checks to make it more resilient 2019-06-05 22:54:16 +02:00
Atul R
26cbc465f0 Adds all yoga stylesheet props to qlabel 2019-06-03 19:10:41 +02:00
Kakul Gupta
539b343007 QLineEdit 2019-06-03 19:02:31 +02:00