Qt Designer how to change background

前端 未结 1 1980
南旧
南旧 2021-02-14 20:03

This is an repost.

I am kind of new in QtDesigner and wanted to do something about the uglyness of just some buttons.

All i have done yesterday was looking on th

1条回答
  •  悲&欢浪女
    2021-02-14 21:00

    To make the changes of colors you can use stylesheets, in Qt Designer you must follow the following steps:

    1. Right click on the item you want to change and select: change stylesheet

    2. Then press the button to the color side and select background-color, Then select the color and press the OK buttons.

    Output:

    plus+:

    0 讨论(0)
提交回复
热议问题