Class: RosettAi::Ui::Qt6
Overview
Qt6 skeleton adapter.
Registers as :qt6 in the UI registry but raises on any method call. Ruby Qt6 bindings do not exist (qtbindings is unmaintained, Qt4-only). This adapter serves as a placeholder for the rosett-ai-qt6 package concept.
Constant Summary collapse
- UNAVAILABLE_MESSAGE =
Returns Error message when the UI backend is not available.
'Qt6 adapter not available — Ruby Qt6 bindings do not exist. Use GTK4 or TUI.'
Constants inherited from Base
Instance Method Summary collapse
- #announce(_message) ⇒ Object
- #display_table(_headers, _rows) ⇒ Object
-
#prompt_user(_question, choices: nil) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument -- keyword name is part of public API.
- #render(_content) ⇒ Object
- #show_spinner(_message) ⇒ Object
Methods inherited from Base
Instance Method Details
#announce(_message) ⇒ Object
34 35 36 |
# File 'lib/rosett_ai/ui/qt6.rb', line 34 def announce() raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#display_table(_headers, _rows) ⇒ Object
22 23 24 |
# File 'lib/rosett_ai/ui/qt6.rb', line 22 def display_table(_headers, _rows) raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#prompt_user(_question, choices: nil) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument -- keyword name is part of public API
26 27 28 |
# File 'lib/rosett_ai/ui/qt6.rb', line 26 def prompt_user(_question, choices: nil) # rubocop:disable Lint/UnusedMethodArgument -- keyword name is part of public API raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#render(_content) ⇒ Object
18 19 20 |
# File 'lib/rosett_ai/ui/qt6.rb', line 18 def render(_content) raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#show_spinner(_message) ⇒ Object
30 31 32 |
# File 'lib/rosett_ai/ui/qt6.rb', line 30 def show_spinner() raise RosettAi::Error, UNAVAILABLE_MESSAGE end |