开发者

How to Add custom shape button in fixed Location in QWidget

开发者 https://www.devze.com 2023-01-18 13:50 出处:网络
I am new to Qt. First look at the image. http://i225.photobucket.com/albums/dd200/saravanan_comp2001/sample.png

I am new to Qt. First look at the image.

http://i225.photobucket.com/albums/dd200/saravanan_comp2001/sample.png

i already created custom shape button (inherit the QWidget). now the problem is adding the buttons into another widget(Parent QWidget).

How to add this button in开发者_Python百科 Fixed location and some times i need to add the buttons in overlap.

i can't use any Layout method. Please help me to fix the problem


Just create your custom shape button with the QWidget as parent and set the position using the move function.

0

精彩评论

暂无评论...
验证码 换一张
取 消