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. QHelpSearchResultWidget
QtWS25 Last Chance

QHelpSearchResultWidget

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.9k Views
  • 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.
  • O Offline
    O Offline
    odonnemr
    wrote on last edited by
    #1

    Has anyone used this before? All I'm trying to do is add a search feature to the help documents. My help displays just fine, it's cut into 2 widgets, the one on the left is the contents and the one on the right is the documentation. I added the QHelpSearchQueryWidget to the top, but obviously it isn't functional yet... I can't seem to create a QHelpSearchResultWidget object to display, and I'm just kind of generally confused on how it works. Qt is brand new to me, and I'm a beginner at C++. Can anyone chime in that has experience with QHelp?

    1 Reply Last reply
    0
    • O Offline
      O Offline
      odonnemr
      wrote on last edited by
      #2

      Ok, I've figured out how to display the result widget. Now I am stuck on implementing the search's functionality. I am new to signals and slots, but I've read the docs. I can see that the QHelpSearchQueryWidget::search() signal is emitted when the user clicks the search button. What slot is supposed to receive it? I'm pretty lost here.

      Here's the QtHelp module doc if anyone's interested. Thanks in advance
      http://doc.qt.nokia.com/4.7-snapshot/qthelp.html

      1 Reply Last reply
      0
      • P Offline
        P Offline
        privet
        wrote on last edited by
        #3

        look at an old Qt Quarterly with an article from the help system:
        http://doc.qt.nokia.com/qq/
        (Issue 29 · Q1 2009)
        http://doc.qt.nokia.com/qq/QtQuarterly29.pdf

        1 Reply Last reply
        0
        • O Offline
          O Offline
          odonnemr
          wrote on last edited by
          #4

          Thanks for that link, but I'm still lost... just trying to populate the result widget when the user clicks "search" on the search widget. I'm using the built-in search and result widgets

          1 Reply Last reply
          0
          • O Offline
            O Offline
            odonnemr
            wrote on last edited by
            #5

            bump... still lost on how to populate the result widget. There don't seem to be any functions in any in the qthelp classes for this...

            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