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

QAbstractSpinBox: improve documentation

    XMLWordPrintable

Details

    Description

      QAbstractSpinBox is a superclass not meant to use directly, but to subclass. But the documentation doesn’t explain how to subclass it properly and gives no examples. Subclassing it for long long value was fairly easy. But how do I do it for a complicated data type when I want to store the inner value and have it updated at the right time?

      Example of vague documentation:

      >void QAbstractSpinBox::interpretText()
      >This function interprets the text of the spin box. If the value has changed since last interpretation it will emit signals.

      Emit what signals?

      Please make a clear documentation for this class and proper complex subclassing tutorial.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            mystery_keeper Aleksey Lyashin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes