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. In-app Quicksilver/Alfred or SublimeText-like "Goto Anything" and "Command Palette" solution for Qt Widget app?
Forum Updated to NodeBB v4.3 + New Features

In-app Quicksilver/Alfred or SublimeText-like "Goto Anything" and "Command Palette" solution for Qt Widget app?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.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.
  • A Offline
    A Offline
    adamtwar
    wrote on last edited by
    #1

    Hi,

    has anyone developed a component for Qt Widgets app that would implement something similar to Sublime Text's "Goto Anything" and "Command Palette"? ( See https://www.youtube.com/watch?v=48f3N0hCaBU ).

    What I'm looking for is kind of like an app-internal "Spotlight search" or "Quicksilver" component, where you can index various UI elements internally (menus, UI button captions, various document content etc.), and then have a "unified search" box that would allow the user to type in (using fuzzy search) some string and the search results would include snippets of content from various document windows, menu commands, button captions and other UI elements.

    Depending on the user's choice, the component would trigger a certain action: if the user chooses a menu item within those search results, the component would evoke that menu item. If the user chooses a document fragment, the component would switch the focus to the appropriate document window and navigate to that fragment of content etc.

    In addition, if the app has some internal scripting (e.g. Python), then the user's entry could be formulated in that language and then executed by the app.

    There are many such implementations OS-wide, for example Quicksilver ( http://qsapp.com/ ) or Alfred ( http://www.alfredapp.com/ ) for OS X, Colibri or SlickRun for Windows, and also within an app, such as the "Goto Anything" and "Command Palette" functions within the SublimeText editor.

    I'm looking for something like that for a Qt Widgets app to work within that app (not on the OS level).

    1 Reply Last reply
    0
    • A Offline
      A Offline
      adamtwar
      wrote on last edited by
      #2

      Ps. The component should allow usage in a closed-source commercial app (i.e. no GPL, but can be commercially licensed).

      1 Reply Last reply
      0
      • A Offline
        A Offline
        adamtwar
        wrote on last edited by
        #3

        (bump)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          I know of no ready-made components. Basic features should not be too hard to make though. Search through QActions for instance, and represent the matching ones in a list as the search results.

          It also reminds me of the search box in Qt Creator itself (CTRL+K)

          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