Class: RosettAi::Ui::Kde
Overview
KDE skeleton adapter.
Registers as :kde in the UI registry but raises on any method call. KDE integration requires Qt6 bindings which do not exist for Ruby. This adapter serves as a placeholder for the rosett-ai-kde package concept.
Constant Summary collapse
- UNAVAILABLE_MESSAGE =
Returns Error message when the UI backend is not available.
'KDE adapter not available — Ruby Qt6/KDE 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 -- skeleton raises unconditionally.
- #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/kde.rb', line 34 def announce() raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#display_table(_headers, _rows) ⇒ Object
22 23 24 |
# File 'lib/rosett_ai/ui/kde.rb', line 22 def display_table(_headers, _rows) raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#prompt_user(_question, choices: nil) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument -- skeleton raises unconditionally
26 27 28 |
# File 'lib/rosett_ai/ui/kde.rb', line 26 def prompt_user(_question, choices: nil) # rubocop:disable Lint/UnusedMethodArgument -- skeleton raises unconditionally raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#render(_content) ⇒ Object
18 19 20 |
# File 'lib/rosett_ai/ui/kde.rb', line 18 def render(_content) raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#show_spinner(_message) ⇒ Object
30 31 32 |
# File 'lib/rosett_ai/ui/kde.rb', line 30 def show_spinner() raise RosettAi::Error, UNAVAILABLE_MESSAGE end |