38 Commits

Author SHA1 Message Date
Will Szumski
358811dcbd Allow signals and slots to be defined as procedures 2015-01-15 20:34:36 +00:00
Filippo Cucchetto
f878966cbb Added some love to the ContactApp example 2015-01-12 22:30:10 +01:00
filcuc
16c36951ee Merge pull request #12 from cowboy-coders/just_nilfix
allow nil strings for readSlot, writeSlot and notifySlot in registerProp...
2015-01-12 20:39:11 +01:00
Will Szumski
bba226f550 allow nil strings for readSlot, writeSlot and notifySlot in registerProperty 2015-01-12 18:04:01 +00:00
Will Szumski
f153c3f1db make finalizers optional 2015-01-12 16:34:46 +00:00
Filippo Cucchetto
e8075796bc Added support for QGuiApplication 2015-01-11 13:32:11 +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
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
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
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
Will Szumski
2d05bcf0a8 changed QtObject macro syntax 2015-01-06 12:16:59 +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
Filippo Cucchetto
9b8985c701 Fixed: typo that prevent the generation of slots/signals/properties with int 2015-01-05 19:51:45 +01: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
c6960df455 Initial work for writing a nice initial documentation and improving the examples 2015-01-05 13:57:28 +01: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