Here is an example: switch.h : #pragma once #include <QtWidgets> class Switch : public QAbstractButton { Q_OBJECT Q_PROPERTY(int offset READ offset WRITE ...
確定! 回上一頁