dotherside/Nim/NimQml/NimQmlTypes.nim

24 lines
656 B
Nim
Raw Normal View History

2014-12-08 12:55:09 +01:00
import tables
type
RawQVariant* = distinct pointer ## A QVariant
QVariant* = ref object of RootObj
data*: RawQVariant
deleted*: bool
QQmlApplicationEngine* = distinct pointer ## A QQmlApplicationEngine
QQmlContext* = distinct pointer ## A QQmlContext
QApplication* = distinct pointer ## A QApplication
DynamicQObject* = distinct pointer
2015-01-06 23:16:26 +00:00
QObjectObj* = object of RootObj ## A QObject
name*: string
data*: DynamicQObject
2014-12-08 12:55:09 +01:00
slots*: Table[string, cint]
signals*: Table[string, cint]
properties*: Table[string, cint]
deleted*: bool
2015-01-06 23:16:26 +00:00
QObject* = ref QObjectObj
QQuickView* = distinct pointer ## A QQuickView