Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Switching language
Qt 6.11 is out! See what's new in the release blog

Switching language

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 3.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Good day every one!

    Help me please, I want to know when the user switches input language in application.
    This is for the login dialog. I want to show the current input language.
    I really would appreciate if someone will tell me in what book I will find the answer.

    Thanks!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      Check out "here.":http://qt-project.org/doc/qt-4.8/internationalization.html#dynamic-translation

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mbnoimi
        wrote on last edited by
        #3

        take a look to my function... I think it should works

        https://qt-project.org/forums/viewthread/15280/

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Thank you very much guys!!!
          Yeah, that was my mistake. I badly explained.
          I want event handling in Debian.
          I think, when user presses Ctrl+Shift or Alt-Shift system generates some event and input language switches. I want handle that event.
          And now I do not know how to start.

          Thanks

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mbnoimi
            wrote on last edited by
            #5

            [quote author="mafiozzi" date="1331481687"]Thank you very much guys!!!
            Yeah, that was my mistake. I badly explained.
            I want event handling in Debian.
            I think, when user presses Ctrl+Shift or Alt-Shift system generates some event and input language switches. I want handle that event.
            And now I do not know how to start.

            Thanks[/quote]
            Try to start from "here":https://qt-project.org/doc/qt-4.8/focus.html by using event filters

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              Good every one!
              I found one book!
              "Advanced Programming in the UNIX® Environment: Second Edition"
              By W. Richard Stevens, Stephen A. Rago

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved