57 Commits

Author SHA1 Message Date
Will Szumski
467524e4ad fixed a naming conflict in Contact app 2015-01-12 16:42:31 +00:00
Filippo Cucchetto
42ded08c7f Added a sample contact application
Basic contact app the shows how to expose a list of elements to Qml
2015-01-11 21:01:00 +01:00
Filippo Cucchetto
e8075796bc Added support for QGuiApplication 2015-01-11 13:32:11 +01:00
Filippo Cucchetto
b605c62227 Updated the SimpleData example with float 2015-01-11 13:13:04 +01:00
Filippo Cucchetto
f40d4bc44a Added stop method to QGuiApplication and Float and Double qvariant types 2015-01-11 13:12:05 +01:00
Filippo Cucchetto
e281666ca0 Added GC_fullcollect() to all examples 2015-01-11 13:01:46 +01:00
Filippo Cucchetto
8aa9b7f5a2 Fixed typo in SimpleData example 2015-01-11 12:59:24 +01:00
Filippo Cucchetto
df1e3ec72e Fixed emit arguments types 2015-01-11 12:58:35 +01:00
Filippo Cucchetto
d1c2dbc224 Removed export statements 2015-01-11 12:19:24 +01:00
Filippo Cucchetto
3613bfea4e Fixed examples 2015-01-10 12:18:33 +01:00
Filippo Cucchetto
d0f01b092a Added constructors for QApplication, QQmlApplicationEngine and QQuickView 2015-01-10 11:58:24 +01:00
Filippo Cucchetto
4d50125d4b QVariant are not copied by default when passed in the onSlotCalled method 2015-01-10 11:29:32 +01:00
Filippo Cucchetto
76894f3bc3 Updated the SimpleData example 2015-01-08 23:51:23 +01:00
Filippo Cucchetto
7dcfa8255e Added some documentation 2015-01-08 23:41:33 +01:00
Filippo Cucchetto
685236d11e Initial support for finalizers for QObject and QVariant 2015-01-08 23:34:17 +01:00
Will Szumski
cf4ae16201 changed some unsafe casts to type conversions, removed some unnecessary var parameters 2015-01-07 19:21:10 +00:00
Will Szumski
8bd7353b82 simplify copy of openarray in emit 2015-01-07 19:21:10 +00:00
Will Szumski
254a7c5f68 create no longer takes var parameter 2015-01-07 19:21:10 +00:00
Will Szumski
98e47591b9 improve type safety of internal qobject 2015-01-06 20:57:54 +00:00
Will Szumski
983c9b95c4 improve type safety of FFI calls with the types that are already defined 2015-01-06 20:20:07 +00:00
Filippo Cucchetto
162375c6a7 Updated the doc installation steps 2015-01-06 13:10:54 +01:00
Filippo Cucchetto
9e3151def6 Updated the documentation version 2015-01-06 12:51:12 +01:00
Will Szumski
2d05bcf0a8 changed QtObject macro syntax 2015-01-06 12:16:59 +01:00
Will Szumski
9e91b25cda Now require objects to be explicitly exported for create to be exported 2015-01-06 12:16:40 +01:00
Will Szumski
7b25e28d58 only export superType and create when the object inheriting from QObject is exported 2015-01-06 12:16:36 +01:00
Will Szumski
d30d8873de workaround Araq/Nim#1874 2015-01-06 12:16:24 +01:00
filcuc
fa1c5acd95 Merge pull request #2 from cowboy-coders/feature/docs 2015-01-05 21:10:49 +01:00
Filippo Cucchetto
9b8985c701 Fixed: typo that prevent the generation of slots/signals/properties with int 2015-01-05 19:51:45 +01:00
Will Szumski
476740fffc various documentation changes 2015-01-05 18:37:29 +00:00
Filippo Cucchetto
665f6c6b64 Updated the nimble version and authors 2015-01-05 15:24:48 +01:00
Filippo Cucchetto
328355fff8 Finished the initial doc 2015-01-05 15:09:13 +01:00
Filippo Cucchetto
50eeefa5c4 Completed example 3 with slots and properties 2015-01-05 13:57:28 +01:00
Filippo Cucchetto
0fb2f9992e Added example for simple exchange of data 2015-01-05 13:57:28 +01:00
Filippo Cucchetto
c6960df455 Initial work for writing a nice initial documentation and improving the examples 2015-01-05 13:57:28 +01:00
Will Szumski
7c4d54a95b Added an example of using the QtObject macro 2015-01-04 21:58:32 +00:00
Will Szumski
cdf02a4251 documentation improvements 2015-01-04 21:24:48 +00:00
Will Szumski
010fc23261 remove debugging print 2015-01-04 21:05:17 +00:00
Will Szumski
62ecd19e60 renamed QtType macro to QtObject 2015-01-04 20:56:35 +00:00
Will Szumski
e5888a989f Changed property syntax to filcuc's suggestion: e.g QtProperty name of string: 2015-01-04 20:52:43 +00:00
Will Szumski
4f1da7957b initial support for user defined helpers from within QtType. Implemented by delaying the definition of user deined items (procs, methods, etc.) until after create. This was necessary as create is currently defined as a template and we can't use a forward declaration. 2015-01-04 19:22:05 +00:00
Will Szumski
17eb1e748e turns out {.compileTime.} tables work, but ones decalred in static block do not 2015-01-03 19:56:22 +00:00
Will Szumski
0beff2244a fixed some warnings, added debug template (compile with -d debug), make QtType macro pass through definitions we do not explicitly handle 2015-01-03 19:49:59 +00:00
Will Szumski
b4083f1b84 work around compiler bug where {.compileTime.} tables are flagged up as not being computable at compile time when a macro using them is imported into another module 2015-01-02 21:26:30 +00:00
Will Szumski
0c626fe6db export QtType macro 2015-01-02 20:07:48 +00:00
Will Szumski
b02540d1c1 add NimQmlMacros.nim 2015-01-02 20:07:12 +00:00
Filippo Cucchetto
663e8fe448 Removed leftover 2014-12-30 19:13:47 +01:00
Filippo Cucchetto
a1adc3f53c Restructured the D bindings and renamed to DQml 2014-12-30 19:11:01 +01:00
Filippo Cucchetto
fcbc2662f0 Moved the NimQml to a separate directory and added .nimble file 2014-12-29 15:32:53 +01:00
Filippo Cucchetto
91730b4d83 Fixed the nim test app for using the defer keyword 2014-12-29 14:15:25 +01:00
Filippo Cucchetto
488b70503e Removed unused function in qml 2014-12-29 14:12:24 +01:00