Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129155

Qdoc command for tabbable content

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8
    • Build tools: qdoc
    • All

    Description

      As an author, I would like to add tabbed content with minimal effort. Currently, it is possible to add tabbed content using the macros for the online style only, which means I need to have a fallback for offline style with "if defined" blocks. A qdoc command makes it easier to add such content, and avoids the need to use "if defined" blocks.

      The new command should let me do the following:

      • Add group of tabs than the reader can switch between.
      • Define labels for each tab in the group and choose a default/active tab.
      • If a page has several tab groups, where the labels are the same. For example, several tab groups showing snippets for signal slots in C++ and Python under different scenario, selecting one label in a group should also switch to the same label in all the groups on that page.

      Other good to have features are:

      • Limit the no. of tabs in a group. Not sure what would be correct no. of tabs, lets go with 6 for example.
      • Choose between different style of tabs. For example, different background color or image using a config option.

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              docinfrastructure Documentation Infrastructure Team
              veshivas Venugopal Shivashankar
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes