Commit Graph

231 Commits

Author SHA1 Message Date
Filippo Cucchetto 6e6e0c1a57 Merge branch 'feature/DynamicQObjectAsPolicy' into feature/QAbstractItemModels 2015-02-14 15:50:12 +01:00
Filippo Cucchetto 23c73e4e75 Updated the gitignore 2015-02-14 15:50:12 +01:00
Filippo Cucchetto 55341ab3e2 Updated the ContactApp for testing the QAbstractListModel generation of slots and properties 2015-02-14 15:50:12 +01:00
Filippo Cucchetto de533129d2 Updated the ContactApp for using the QAbstractListModel base class 2015-02-14 15:50:12 +01:00
Filippo Cucchetto 67e7efbcd0 Fixed using the IDynamicObject interface for the call that create slots, properties and signals
With this change we can reuse the slots for adding slots, properties and signals for QObject
for all DynamicQObject subclasses.
2015-02-14 15:50:12 +01:00
Filippo Cucchetto fd0fba3fa4 Added support for Added support for beginRemoveRows and endRemoveRows 2015-02-14 15:50:12 +01:00
Filippo Cucchetto e6e67e07b4 Initial version 2015-02-14 15:50:12 +01:00
Filippo Cucchetto 1e9d5babe0 Added support for beginResetModel, endResetModel and dataChanged 2015-02-14 15:50:11 +01:00
Filippo Cucchetto b79d0bfb63 Added the support for beginInsertRows and endInsertRows methods 2015-02-14 15:50:11 +01:00
Filippo Cucchetto 8e36e4d957 Reformatted the code 2015-02-14 15:50:11 +01:00
Filippo Cucchetto 27db2ef854 Updated the QAbstractListModel example 2015-02-14 15:50:11 +01:00
Filippo Cucchetto 34776efd7b Completed the initial implementation for the RoleNames 2015-02-14 15:50:11 +01:00
Filippo Cucchetto 634cc3ea39 Cleanedup the DOtherSide.h C interface from C++ references types 2015-02-14 15:50:11 +01:00
Filippo Cucchetto 95aeef5db0 Started adding support for RoleNames 2015-02-14 15:50:11 +01:00
Filippo Cucchetto df498cb64c Added data callback 2015-02-14 15:50:11 +01:00
Filippo Cucchetto b7cbe8691c Added index to the rowCount callback 2015-02-14 15:50:11 +01:00
Filippo Cucchetto 470b2647b8 Fixed the AbstractListModel example 2015-02-14 15:50:11 +01:00
Filippo Cucchetto 9f3be669e7 Started the rowCount callback 2015-02-14 15:50:11 +01:00
Filippo Cucchetto 92fcf6970d Initial implementation of the BaseQAbstractListModel 2015-02-14 15:50:11 +01:00
Filippo Cucchetto 733266b362 Add wrapping of the QModelIndex data type 2015-02-14 15:50:11 +01:00
Filippo Cucchetto 12479b928f Merge pull request #15 from cowboy-coders/fix/macro_ordering
Preserve ordering of declarations in QtObject macro
2015-02-11 11:53:48 +01:00
Will Szumski 399adc747a removed unused variable: typeName 2015-02-10 21:42:35 +00:00
Will Szumski d2fc0c3c00 Preserve ordering of declarations in QtObject macro 2015-02-10 21:22:16 +00:00
filcuc 7049988479 Merge pull request #14 from cowboy-coders/onslotcalled_super
Support signals/slots with inheritance
2015-01-17 18:02:45 +01:00
filcuc ae3ffc6639 Merge pull request #13 from cowboy-coders/sigslot_procedures
Allow signals and slots to be defined as procedures
2015-01-17 18:02:27 +01:00
Will Szumski 8c8f958a01 make naming consistent 2015-01-15 21:09:27 +00:00
Will Szumski 360afaddd5 Support signals/slots with inheritance 2015-01-15 21:04:13 +00:00
Will Szumski 358811dcbd Allow signals and slots to be defined as procedures 2015-01-15 20:34:36 +00:00
Filippo Cucchetto e8e95acd34 Finish finalizers feature 2015-01-15 20:33:24 +01:00
Filippo Cucchetto 412bb14eb2 Added missing export of the delete proc 2015-01-12 22:47:33 +01:00
Filippo Cucchetto f878966cbb Added some love to the ContactApp example 2015-01-12 22:30:10 +01:00
Filippo Cucchetto 78d7808fb1 Removed useless copy directive in CMakeLists.txt 2015-01-12 20:36:02 +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
filcuc fbb2f3a108 Merge pull request #11 from cowboy-coders/just_naming_conflict
fixed a naming conflict in Contact app
2015-01-12 20:00:56 +01:00
filcuc 91f9c1e1e1 Merge pull request #10 from cowboy-coders/optional_finalizers
make finalizers optional
2015-01-12 19:56:54 +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 467524e4ad fixed a naming conflict in Contact app 2015-01-12 16:42:31 +00:00
Will Szumski f153c3f1db make finalizers optional 2015-01-12 16:34:46 +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 8868b9a07a Added support for constant properties 2015-01-11 13:05:23 +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