230 Commits

Author SHA1 Message Date
Filippo Cucchetto
9d43d59896 Workaround Visual Studio 2013 limitations on inheriting constructors 2017-04-09 15:11:36 +02:00
Filippo Cucchetto
e38e3e606c Beautified the codebase through astyle 2017-04-09 14:34:47 +02:00
Filippo Cucchetto
a118e4439a Added missing DOS_API and DOS_CALL macros 2017-04-09 14:31:45 +02:00
Filippo Cucchetto
1fe4f0196f Fixed compilation on Windows 2017-04-09 12:31:51 +02:00
Filippo Cucchetto
f5eba67bd3 Merge branch 'qaim' 2017-04-09 12:06:12 +02:00
Filippo Cucchetto
c77567b0e4 Added CanFetchMore, FetchMore and HasChildren callbacks 2017-04-02 16:12:18 +02:00
Filippo Cucchetto
ffd9b493a9 Simplified the dos_qabstractitemmodel_create interface by using a struct
Removed most of the function parameters by putting them inside a struct
2017-04-02 14:47:42 +02:00
seu
c355fda609 Explicitly register QVector<int> to Qt's MOS 2017-03-30 13:22:59 +02:00
Filippo Cucchetto
0bb4bc8d3c Finished adding default function implementation for QAIM 2017-03-25 15:08:04 +01:00
Filippo Cucchetto
3fb5073aff wip 2017-03-22 22:23:17 +01:00
Filippo Cucchetto
4321a18fa6 Added support for QAbstractTableModels 2017-03-22 21:25:36 +01:00
Filippo Cucchetto
7bc65bc4f1 Added support for QAbstractListModel 2017-03-22 21:21:57 +01:00
Filippo Cucchetto
bd8ed05ba2 Fixes #45 Bindings should set the parameters name 2017-03-12 15:09:07 +01:00
Filippo Cucchetto
c871df1206 Fixed compilation with meson build system 2017-03-12 11:05:39 +01:00
Filippo Cucchetto
035c392e3e Fixed test and renaming 2017-03-05 19:30:57 +01:00
Filippo Cucchetto
259b8e4a48 Added index and parent callbacks 2017-03-05 19:07:40 +01:00
Filippo Cucchetto
8d14731273 Exposed the beginInsertColumns and beginRemoveColumns 2017-03-05 18:37:49 +01:00
Filippo Cucchetto
8079294e93 Fixed compilation and added stubs for index and parent functions 2017-03-05 18:34:35 +01:00
Filippo Cucchetto
25f396ef46 Renamed QAbstractListModel in QAbstractItemModel 2017-03-05 18:22:04 +01:00
Filippo Cucchetto
87ffb698b8 Fixed #54 Added missing typedef and stdbool.h 2017-03-02 22:09:38 +01:00
Tom Hall
66d3fa5124 Use qGuiApp instead of qApp when working with a QGuiApplication
qApp casts to QApplication, so it is only really valid when we're using
QApplication. In addition, QApplication and qApp are part of QtWidgets,
so using qApp adds an unnecessary dependency on QtWidgets to
QtQuick-only applications.
2017-02-18 14:52:05 +00:00
Filippo Cucchetto
fe13579fe3 Added remark about arguments array in DObjectCallback 2016-07-15 21:28:49 +02:00
Filippo Cucchetto
5ec9fd6afa Fixed #41, wrong order of void** parameters in documentation 2016-07-15 19:44:11 +02:00
Filippo Cucchetto
755ba4ac24 Improved the documentation 2016-07-10 16:51:15 +02:00
Filippo Cucchetto
fcdb2ce98f Improved the documentation 2016-07-10 01:24:53 +02:00
Filippo Cucchetto
544990386a Improved the documentation 2016-07-10 00:43:30 +02:00
Filippo Cucchetto
189ab1a2c6 Improved the documentation 2016-07-10 00:38:57 +02:00
Filippo Cucchetto
7b94508c80 Fixed compilation 2016-07-10 00:30:00 +02:00
Filippo Cucchetto
81854f9a9e Merge remote-tracking branch 'origin/master' into doxygen
# Conflicts:
#	lib/include/DOtherSide/DOtherSide.h
#	lib/include/DOtherSide/DOtherSideTypes.h
2016-07-09 18:31:22 +02:00
Filippo Cucchetto
d70919b772 Improved the documentation 2016-07-09 18:20:00 +02:00
Filippo Cucchetto
faf5b8630a Improved the documentation 2016-07-09 16:18:50 +02:00
Filippo Cucchetto
59fdf6e8d6 Improved documentation 2016-07-08 20:39:07 +02:00
Filippo Cucchetto
2a37ac19f6 Improved documentation 2016-07-05 23:35:16 +02:00
Filippo Cucchetto
4ecd9c8c53 Started using doxygen 2016-07-05 23:35:15 +02:00
Filippo Cucchetto
819409fa94 Closed #39 Add support for QVariantList
This adds support for marshalling arrays of QVariant (QVariantList) in/out from DosQVariant.
We added the following 3 API:
dos_qvariant_create_array
dos_qvariant_setArray
dos_qvariant_toArray

Support for QVariantList in property definition of QObjects is already enabled. The end
user should use the QVariantList metatype.
2016-07-04 18:20:02 +02:00
Filippo Cucchetto
c6283eed47 Started QQuickView tests 2016-06-26 18:46:03 +02:00
Filippo Cucchetto
4068279091 Added QUrl test 2016-06-26 15:05:38 +02:00
Filippo Cucchetto
6684a34131 Added QModelIndex test 2016-06-26 14:43:53 +02:00
Filippo Cucchetto
4660a36e8d Work on MockQAbstractListModel 2016-06-19 18:17:48 +02:00
Filippo Cucchetto
864849680b Work on MockQAbstractListModel 2016-06-19 12:20:00 +02:00
Filippo Cucchetto
b198de0fd6 Added MockQAbstractListModel 2016-06-19 11:46:47 +02:00
Filippo Cucchetto
9a2a3f44d5 Started MockQObject for simulating a binding language 2016-06-19 11:07:51 +02:00
Filippo Cucchetto
6e45393004 Enforced the __cdecl calling convention on windows 2016-04-12 23:59:52 +02:00
Filippo Cucchetto
0e1ab9e5ad Fixed crashes on signal emittion
This is caused by two bugs:
1) QMetaObject::activate first argument must be the return value
2) The next arguments should be void* to the actual datatype contained inside the QVariants
   and not QVariant*. In other words given "a" of type QVariant we should use a.constData()
   and not &a
2016-04-10 14:40:01 +02:00
Filippo Cucchetto
49c571ecaa Added parameters names for signals
In this way a user can access the signal argument as "arg0", "arg1" etc.
2016-04-10 14:40:01 +02:00
Filippo Cucchetto
ff3734a2f3 Fixed compilation with meson 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
3a8c6e0126 Removed spaces 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
12e19be48e Fixed return type for connect/disconnect 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
ada750679e Formatted code through astyle 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
a3372a66a9 Added typedefs for giving semantic to void* 2016-04-10 14:40:01 +02:00