Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Basic Text to Speech #1143

Merged
merged 16 commits into from
Nov 15, 2024
Merged

Implement Basic Text to Speech #1143

merged 16 commits into from
Nov 15, 2024

Commits on Nov 15, 2024

  1. Introduce texttospeechbar.{h,cpp}

    Basic Reading of Articles or Selected Texts.
    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    b858c0d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    815debd View commit details
    Browse the repository at this point in the history
  3. Introduce texttospeechbar.ui

    Added the bar at bottom of webpage. Intoduced the stop speaking button.
    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    29bbc44 View commit details
    Browse the repository at this point in the history
  4. Introduce KiwixApp::ReadStopAction

    Add shortcut on keyboard to stop reading for accessibility.
    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    9acefb1 View commit details
    Browse the repository at this point in the history
  5. Add Close Button to TTS Bar

    Bar is default closed and shown on any speech activation.
    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    c95528e View commit details
    Browse the repository at this point in the history
  6. ESC Key Closes TTS Bar

    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    8f4064b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0b37a51 View commit details
    Browse the repository at this point in the history
  8. TTS Lanugage Selector Entries Are Read-Only

    The line edit should not be edit/highlight/selectable.
    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    edb9641 View commit details
    Browse the repository at this point in the history
  9. TTS Language Selector Popup On-Click Anywhere

    Rather than only the arrow, clicking any place on the combobox should popup the selector
    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    4c30141 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8df319e View commit details
    Browse the repository at this point in the history
  11. TTS Lanugage Matches Zim Locale

    Tabs are by default Zim's Locale
    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    9765987 View commit details
    Browse the repository at this point in the history
  12. Save Voice Selected For Each Lanugage

    Keep track of the voices so user do not need to reconfigure.
    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    414b8a7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f992bc5 View commit details
    Browse the repository at this point in the history
  14. Introduce KiwixApp::ToggleReading{Voice,Language}

    Show the TTS bar and popup the respective selector on shortcut for accessibility.
    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    5b298dd View commit details
    Browse the repository at this point in the history
  15. Proper Styling for TSS

    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    de1b7bb View commit details
    Browse the repository at this point in the history
  16. Disable TTS If No Such QT Module

    Some systems or QT versions might not have or the module is not available.
    ShaopengLin committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    e3106ea View commit details
    Browse the repository at this point in the history