menu-radio-item.hpp 371 B

123456789101112131415161718192021
  1. #if defined(Hiro_MenuRadioItem)
  2. namespace hiro {
  3. struct pMenuRadioItem : pAction {
  4. Declare(MenuRadioItem, Action)
  5. auto setChecked() -> void;
  6. auto setGroup(sGroup group) -> void;
  7. auto setText(const string& text) -> void;
  8. auto _setState() -> void override;
  9. QtMenuRadioItem* qtMenuRadioItem = nullptr;
  10. QActionGroup* qtActionGroup = nullptr;
  11. };
  12. }
  13. #endif