重新改进支持Qt4.6-Qt6.1
This commit is contained in:
@@ -25,6 +25,7 @@ class LightButton : public QWidget
|
||||
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PROPERTY(QString text READ getText WRITE setText)
|
||||
Q_PROPERTY(QColor textColor READ getTextColor WRITE setTextColor)
|
||||
Q_PROPERTY(QColor alarmColor READ getAlarmColor WRITE setAlarmColor)
|
||||
|
||||
Reference in New Issue
Block a user