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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -