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

How Can I put a widget inside a Frame or a Container



  • My Colleague has written This Piece of code,and I'm supposed to build User Interface to contain his part and add some buttons on that, how can I put his Widget inside a frame to keep a space to my buttons ?

    QLayout *map = layout();
      map->addWidget(m_mapView);
      this->setLayout(map);
    

  • Lifetime Qt Champion

    Hi,

    What is his widget ?
    What do you want to do with it ?
    What should your UI look like ?


Log in to reply