popup-menu.hpp 362 B

123456789101112131415161718192021
  1. #if defined(Hiro_PopupMenu)
  2. namespace hiro {
  3. struct pPopupMenu : pObject {
  4. Declare(PopupMenu, Object)
  5. auto append(sAction action) -> void;
  6. auto remove(sAction action) -> void;
  7. auto setFont(const Font& font) -> void override;
  8. auto setVisible(bool visible) -> void override;
  9. auto _setState() -> void;
  10. QMenu* qtPopupMenu = nullptr;
  11. };
  12. }
  13. #endif