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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -