Exemplo n.º 1
0
void MainWindow::swapDZtoLayerTab(){
    qDebug() << "swap";
    QLayout *mainLayout = this->centralWidget()->layout();
    mainLayout->replaceWidget(dropZone_m, tabWidget_m);
    tabWidget_m->show();
    dropZone_m->hide();
}