1 Star 2 Fork 0

wanggjghost/quickflux

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
qfobject.h 518 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef QFOBJECT_H
#define QFOBJECT_H
#include <QObject>
#include <QQmlListProperty>
/// QFObject provides an QtObject with default children property to hold nested items
class QFObject : public QObject
{
Q_OBJECT
Q_PROPERTY(QQmlListProperty<QObject> children READ children)
Q_CLASSINFO("DefaultProperty", "children")
public:
explicit QFObject(QObject *parent = 0);
QQmlListProperty<QObject> children();
signals:
public slots:
private:
QObjectList m_children;
};
#endif // QFOBJECT_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/wanggjghost/quickflux.git
git@gitee.com:wanggjghost/quickflux.git
wanggjghost
quickflux
quickflux
master

搜索帮助