|
|
|
@ -83,6 +83,11 @@ UBLibraryController::UBLibraryController(QWidget *pParentWidget, UBBoardControll |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool UBLibraryController::canItemsOnElementBeDeleted(UBLibElement *pElement) |
|
|
|
|
{ |
|
|
|
|
return !pElement->path().toLocalFile().startsWith(UBSettings::settings()->uniboardShapeLibraryDirectory()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void UBLibraryController::createInternalWidgetItems() |
|
|
|
|
{ |
|
|
|
|
QStringList toolUris = UBToolsManager::manager()->allToolIDs(); |
|
|
|
|