Hi, people, it's my firt post.
Im newbie, and Im problem with QMdiArea.
MdiChild::MdiChild()
{
setAttribute(Qt::WA_DeleteOnClose);
isUntitled = true;
}
MdiChild::MdiChild()
{
setAttribute(Qt::WA_DeleteOnClose);
isUntitled = true;
}
To copy to clipboard, switch view to plain text mode
mdiArea = new QMdiArea;
setCentralWidget(mdiArea);
MdiChild *child = new MdiChild;
mdiArea.addSubWindow(child);
//mdiArea->addSubWindow(child);
mdiArea = new QMdiArea;
setCentralWidget(mdiArea);
MdiChild *child = new MdiChild;
mdiArea.addSubWindow(child);
//mdiArea->addSubWindow(child);
To copy to clipboard, switch view to plain text mode
anyone of the 2 options not found.
The error is: 'addSubWindow' has not been declared.
Im not understand, somebody help me?
Sorry my english.
Thz
Walter
Bookmarks