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
Post a Comment