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

18 行
409 B

  1. #ifndef CONTACT_H
  2. #define CONTACT_H
  3. #include "item.h"
  4. class Contact : public Item
  5. {
  6. public:
  7. Contact(const QString &type);
  8. void paint(QPainter *painter,
  9. const QStyleOptionGraphicsItem *option,
  10. QWidget *) override;
  11. bool state() const override;
  12. void addMenuActions(QMenu *menu) override;
  13. void handleMenuAction(QAction *action) override;
  14. };
  15. #endif // CONTACT_H