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

Merge as much as possible of the different Q*Control classes

    XMLWordPrintable

Details

    Description

      When Qt Widget was split into a separate module, we made four different classes doing much of the same thing: QWidgetTextControl, QWidgetLineControl, QQuickTextControl, and QQuickLineControl.

      While they have much of the same functionality, they don't share any code, meaning that many bugs have to be fixed in four different locations.

      A more robust structure would be to make Qt Gui have a QInputControl which is inherited by QTextInputControl and QLineInputControl which in turn are inherited by the Qt Quick and Qt Widgets-specific implementations.

      It's a bit of work but will save us some down the line.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            10 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes