check-button.hpp 471 B

1234567891011121314151617181920212223
  1. #if defined(Hiro_CheckButton)
  2. namespace hiro {
  3. struct pCheckButton : pWidget {
  4. Declare(CheckButton, Widget)
  5. auto minimumSize() const -> Size override;
  6. auto setBordered(bool bordered) -> void;
  7. auto setChecked(bool checked) -> void;
  8. auto setIcon(const image& icon) -> void;
  9. auto setOrientation(Orientation orientation) -> void;
  10. auto setText(const string& text) -> void;
  11. auto _setState() -> void;
  12. QtCheckButton* qtCheckButton = nullptr;
  13. };
  14. }
  15. #endif