Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19780

Please add mode for QWidgets to render layout indicators

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Widget Designer
    • Labels:
      None

      Description

      This is a feature request for Qt Widgets module, not Qt Dedigner, but the interface did not seem to offer low level libraries as a "project".

       

      When adding widgets to layouts programmatically, sometimes the layout renders in unexpected ways e.g. gaps/alignment issues. I find this happens mostly when using QGridLayout.

       

      Please add something like

       

          QWidget :: setRenderLayoutHints (bool)

       

      to enable a render mode in which the widget will render indicators of how the layout is working. For example, for QGridLayout this would render an overlay of grid lines.

        Attachments

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

          Activity

            People

            • Assignee:
              kleint Friedemann Kleint
              Reporter:
              spraff Bernie
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes