Class: RosettAi::Ui::Qt6

Inherits:
Base
  • Object
show all
Defined in:
lib/rosett_ai/ui/qt6.rb

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 =
'Qt6 adapter not available — Ruby Qt6 bindings do not exist. Use GTK4 or TUI.'

Constants inherited from Base

Base::RTL_LOCALES

Instance Method Summary collapse

Methods inherited from Base

#accessible?, #text_direction

Instance Method Details

#announce(_message) ⇒ Object

Raises:



33
34
35
# File 'lib/rosett_ai/ui/qt6.rb', line 33

def announce(_message)
  raise RosettAi::Error, UNAVAILABLE_MESSAGE
end

#display_table(_headers, _rows) ⇒ Object

Raises:



21
22
23
# File 'lib/rosett_ai/ui/qt6.rb', line 21

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

Raises:



25
26
27
# File 'lib/rosett_ai/ui/qt6.rb', line 25

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

Raises:



17
18
19
# File 'lib/rosett_ai/ui/qt6.rb', line 17

def render(_content)
  raise RosettAi::Error, UNAVAILABLE_MESSAGE
end

#show_spinner(_message) ⇒ Object

Raises:



29
30
31
# File 'lib/rosett_ai/ui/qt6.rb', line 29

def show_spinner(_message)
  raise RosettAi::Error, UNAVAILABLE_MESSAGE
end