They are not button they are painted shape so how i can add them in a layout.
They are not button they are painted shape so how i can add them in a layout.
If you are fixing the coordinates, then they will remain their as long you don't change them, if you want then coordinates to be updated as per the window size and shape automatically, you should be using one the layout managers (QHBoxLayout / QGridLayout etc). As indicated in earlier posts read about Layout ManagementOriginally Posted by Niamita
How did you paint them? did you use QWidget?
i paint them on a frame, and they are in hexagon shape and join to each other.
Looks like from your description of the app, you should be using QGraphicsScene and QGraphcisView, not QFrame to paint. Review your requirements.
Bookmarks