Commit Graph

153 Commits

Author SHA1 Message Date
Filippo Cucchetto c9ffaf4f59 [DQml] Refactored and beautified the code
Removed the int parameter from methods that return a string
2015-04-27 19:58:18 +02:00
Filippo Cucchetto 0b284798bc [DQml] Added support for QModelIndex 2015-04-26 17:23:03 +02:00
Filippo Cucchetto 964ef811c6 [DQml] [NimQml] Renamed the examples because names conflicted 2015-04-26 17:21:33 +02:00
Filippo Cucchetto d0d9a06395 [NimQml] Some renaming fixes for making NimQml work with 0.10.3
Renamed the PNimrodNode to NimNode
Renamed the TNimrodNodeKind to NimNodeKind
Fixed a a template by making it dirty
2015-04-26 17:15:44 +02:00
Filippo Cucchetto 7ea1dfaecb [DQml] Added void* metatype 2015-04-25 18:40:10 +02:00
Filippo Cucchetto 96552b1133 [DQml] Improved the examples by matching with the one of NimQml
This allowed us to add also some missing functions in the QVariant interface
and the QApplication type
2015-04-25 18:40:10 +02:00
Filippo Cucchetto 7efdba5dce [DQml] Removed the old ISlot and ISignal handling
This should enable the Inheritance of slots and signals if a user create an hierarchy of QObjects.
The old implementation didn't allow this. Now we're getting more closer the D implementation with
the Nim one.
2015-04-25 18:40:10 +02:00
filcuc 796cb8aafa Update the README 2015-03-11 22:00:09 +01:00
filcuc 914af646aa contd 2015-03-11 21:47:55 +01:00
filcuc 619824a566 Cleaned up code by removing most compile warnings 2015-03-11 21:42:45 +01:00
filcuc f9ec6c4c90 Added WIN32 define and export DOtherSide simbols for supporting Windows 2015-03-11 21:33:09 +01:00
filcuc 1359dee781 Fixed missing return value 2015-03-11 21:33:08 +01:00
filcuc 858e3448f1 Replaced dynlib magic constant name 2015-03-11 21:33:08 +01:00
Filippo Cucchetto b3b5763d91 Added QObject support in slot and signals and properties 2015-03-02 23:56:43 +01:00
Filippo Cucchetto ba3df19b6d Finish 0.3.0 2015-02-15 14:46:55 +01:00
Filippo Cucchetto 740257d744 Updated the .nimble file 2015-02-15 14:46:00 +01:00
Filippo Cucchetto d31f47d71b Updated the readme for linking the changelog 2015-02-15 14:34:38 +01:00
Filippo Cucchetto 4978afdfab Added change log 2015-02-15 14:34:20 +01:00
Filippo Cucchetto 6873425d58 Updated the doc with the ContactApp example 2015-02-15 14:18:36 +01:00
Filippo Cucchetto a91b4f59e7 Merge remote-tracking branch 'origin/feature/QAbstractItemModels' into develop 2015-02-15 14:16:15 +01:00
Filippo Cucchetto 0b1ec52060 Simplified the ContactApp example 2015-02-15 14:12:45 +01:00
Filippo Cucchetto 99359968de Added support for headerData and columnsCount methods 2015-02-15 12:59:42 +01:00
Filippo Cucchetto 84c58761ad Added support for setData and flags methods 2015-02-14 15:50:12 +01:00
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