Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 如何设置焦点到QFileDialog 中的文件列表框
Forum Updated to NodeBB v4.3 + New Features

如何设置焦点到QFileDialog 中的文件列表框

Scheduled Pinned Locked Moved Chinese
2 Posts 2 Posters 5.5k 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.
  • M Offline
    M Offline
    mliu
    wrote on last edited by
    #1

    我的系统中只有上,下,左,右,Esc, Enter六个按键,没有鼠标。现在我需要打开QFileDialog,设置焦点到文件列表中,然后用按键来选择需要打开的文件。我不知道如何设置焦点到QFileDialog 中的文件列表框中,希望得到帮助,谢谢!

    1 Reply Last reply
    0
    • U Offline
      U Offline
      uranusjr
      wrote on last edited by
      #2

      用 setFocus 把鍵盤焦點設到你的 file dialog 上?

      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