Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Custom QScrollArea Plugin with Custom QWidget in QtDesigner



  • I am currently trying to create a Custom Plugin using QScrollArea class.
    Now just as QScrollArea has a QWidget by default inside it i.e. "scrollAreaWidgetContents", I want my Custom ScrollArea Plugin to have a Custom Widget by default inside it.
    However, when I drop this widget onto QtDesigner, I am unable to see any Widget inside the Custom ScrollArea plugin.

    Can anyone tell me what needs to be done in order to achieve this?
    Do I need to make any changes in the QtDesigner code in order to make this work? I am using Qt Version 5.4 currently.


Log in to reply