line-edit.hpp 383 B

1234567891011121314151617181920
  1. #if defined(Hiro_LineEdit)
  2. namespace hiro {
  3. struct pLineEdit : pWidget {
  4. Declare(LineEdit, Widget)
  5. auto minimumSize() const -> Size override;
  6. auto setBackgroundColor(Color color) -> void;
  7. auto setEditable(bool editable) -> void;
  8. auto setForegroundColor(Color color) -> void;
  9. auto setText(const string& text) -> void;
  10. QtLineEdit* qtLineEdit = nullptr;
  11. };
  12. }
  13. #endif