layout - Syncronize ui file with cpp on Qt -


i writing simple app using qt. project contains ui file because easier change layouts.

well, edit cpp file add new. ui file not show it.

for example, in cpp use

qwidget *logo = new qwidget(this);     logo->setstylesheet("background-color: red");     logo->setgeometry(qrect(50,50,500,110)); 

but when open ui file within design mode, new red rectangle not there.

how update layout on ui file?


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -