Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Current focus button after button down event and found out the same functionality?

    General and Desktop
    focus pressedkey widget
    2
    2
    763
    Loading More Posts
    • 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.
    • F
      ForestPoem last edited by

      I tried.

      qApp->focusWidget() This got current focus information.

      -->QPushButton(0xcdacc0, name = "pushButton")

      With this information, the same Rune-in function?

      Please give me the knowledge.

      1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        Sorry, but I cannot understand what you mean.
        Can you explain?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post