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