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

Custom widget wizard:Add a comment prompting to the isContainer() method of the DesignerCustomWidgetInterface

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • 4.4.0
    • Tools: Designer
    • None

    Description

      People often create custom widgets with container widgets (QWidget/QFrame...) and forget to make the isContainer() method return true where appropriate. This results in bugs like the parent task (cannot break layout, etc).

      PLease add a comment explaining the issue and prompting people to change it to the template file there.

      The perfect solution would be to ask Designer's widget database about the container-ness of the parent class and make the method return this value, however, this is apparently hard to do.

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            kleint Friedemann Kleint
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes