您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

16 行
308 B

  1. #ifndef LIGHT_H
  2. #define LIGHT_H
  3. #include "item.h"
  4. class Light : public Item
  5. {
  6. public:
  7. Light(const QString &type);
  8. QRectF boundingRect() const override;
  9. void paint(QPainter *painter,
  10. const QStyleOptionGraphicsItem *option,
  11. QWidget *) override;
  12. };
  13. #endif // LIGHT_H