Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Need help with TableWidget and Page

Need help with TableWidget and Page

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.2k 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.
  • L Offline
    L Offline
    lsatenstein
    wrote on last edited by
    #1

    I have an application with 7 tabs using the QTableWidget class. Each tab opens a page of objects (Qwidget class). With the mouse, everything is working as expected, without problems. The problem is with the need for keyboard only use. The application is a keyboard application only.

    With the keyboard, I can go from tab to the page of Qwidget objects, but if I enter a page (objects are of Qwidget class) I cannot return as there does not seem to be a parent pointer that is set. I would like to switch focus from the Qwidget Object to the parent QTableWidget tab.

    Most of the A-Z or 1-9 keys from the keyboard are available. The following are used by Qt.
    tab, Shift-tab( backtab), left, right, up, down. home, end, and the enter or return keys. I thought there would be a defined parent, but it appears not.

    I also thought of using QTest::mouseClick(dest, Qt::LeftButton, 0, p); as a way to return focus to the TableWidget

    I am a total beginner in C++ and Qt so if my problem description is not with the correct jargon, I apologize.

    Leslie in Montreal Quebec, Canada

    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