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

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes