mTransparentDrawingView=newUBBoardView(UBApplication::boardController,NULL,true);// deleted in UBDesktopAnnotationController::destructor
mTransparentDrawingView=newUBBoardView(UBApplication::boardController,static_cast<QWidget*>(0),true);// deleted in UBDesktopAnnotationController::destructor
if(UBApplication::mainWindow->yesNoQuestion(tr("Remove Document"),tr("Are you sure you want to remove the document '%1'?").arg(proxyTi->proxy()->metaData(UBSettings::documentName).toString())))
if(UBApplication::mainWindow->yesNoQuestion(tr("Remove Folder"),tr("Are you sure you want to remove the folder '%1' and all its content?").arg(groupTi->groupName())))
/* this is performed because when removing delegated from scene while it contains flash content, segfault happens because of QGraphicsScene::removeItem() */
/* this is performed because when removing delegated from scene while it contains flash content, segfault happens because of QGraphicsScene::removeItem() */
if(UBApplication::mainWindow->yesNoQuestion(QObject::tr("Remove Page"),QObject::tr("Are you sure you want to remove 1 page from the selected document '%0'?").arg(UBApplication::documentController->selectedDocument()->metaData(UBSettings::documentName).toString()))){