Important: Please read the Qt Code of Conduct -

How to change the drag-and-drop background color of QDockWidget

  • I want to change the background color which appears as a guide at the time of dropping QWidget on a Dock Widget Area

    alt text

    Want to change the sky-blue color to something else.
    The ideal way for me is to change it through CSS (or QSS in terms of QT)

  • Lifetime Qt Champion


    Do you mean when the dragged widget enters a droppable area ? You should already have a feedback when doing that. IIRC, it's a glowing rectangle. It will depend on the OS.

Log in to reply