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

\l font in QToolButton's documentation results in a link to the font row in the stylesheet reference documentation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.12
    • Build tools: qdoc
    • DaVinci 128

      I had a list with a bunch of links in qtoolbutton.cpp that I hoped would link correctly, but it turns out some of them don't go to QToolButton (or any of its base classes, such as QAbstractButton), but rather to the stylesheet reference documentation. For example:

       \list
        ...
        \li \l font
        ...
        \endlist
      

      That links to file:///home/mitch/dev/qt5.12-debug/qtbase/doc/qtwidgets/stylesheet-reference.html#.

      Being super specific works, but shouldn't be necessary if the documentation exists in the context of a class and not a general doc page:

       \list
        \li \l {QAbstractButton::}{checkable}
        \li \l {QAbstractButton::}{checked}
        \li \l {QWidget::}{enabled}
        \li \l {QWidget::}{font}
        \li \l {QAbstractButton::}{icon}
        \li \l {QToolButton::}{popupMode} (assuming the action has a menu)
        \li \l {QWidget::}{statusTip}
        \li \l {QAbstractButton::}{text}
        \li \l {QWidget::}{toolTip}
        \li \l {QWidget::}{whatsThis}
        \endlist
      

        For Gerrit Dashboard: QTBUG-72107
        # Subject Branch Project Status CR V

            paulwicking Paul Wicking
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change