QT: how to open a new window -


well, tried lot. example,

#include "secdialog.h"  buttton ::on clicked() {    secdialog  secdialog;    secdialog.setmodal(true);    secdialog.exec(); } 

well, secdialog not exist! posts old @ least 5 years. so, think headers changed or missed add. hopefully, i'll find me. easy example add headers , write...

#include "qdialog"  buttton::onclicked() {    qdialog d;    d.exec(); } 

please consult documentation of qdialog. may interesting go through basic examples.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -