通過從 QObject 派生並使用 Q_OBJECT 巨集新增的功能是使用 qobject_cast 的能力。 例: placeholderCopy class myObject : public QObject { ...
確定! 回上一頁