|
|
|
@ -49,7 +49,6 @@ void UBToolsManager::destroy() |
|
|
|
|
UBToolsManager::UBToolsManager(QObject *parent) |
|
|
|
|
: QObject(parent) |
|
|
|
|
{ |
|
|
|
|
//mask.id = "uniboardTool://uniboard.mnemis.com/mask";
|
|
|
|
|
|
|
|
|
|
mask.id = "openboardtool://openboard/mask"; |
|
|
|
|
mask.icon = QPixmap(":/images/toolPalette/maskTool.png"); |
|
|
|
@ -58,7 +57,6 @@ UBToolsManager::UBToolsManager(QObject *parent) |
|
|
|
|
mToolsIcon.insert(mask.id, ":/images/toolPalette/maskTool.png"); |
|
|
|
|
mDescriptors << mask; |
|
|
|
|
|
|
|
|
|
//ruler.id = "uniboardTool://uniboard.mnemis.com/ruler";
|
|
|
|
|
|
|
|
|
|
ruler.id = "openboardtool://ruler"; |
|
|
|
|
ruler.icon = QPixmap(":/images/toolPalette/rulerTool.png"); |
|
|
|
@ -67,7 +65,6 @@ UBToolsManager::UBToolsManager(QObject *parent) |
|
|
|
|
mToolsIcon.insert(ruler.id, ":/images/toolPalette/rulerTool.png"); |
|
|
|
|
mDescriptors << ruler; |
|
|
|
|
|
|
|
|
|
//compass.id = "uniboardTool://uniboard.mnemis.com/compass";
|
|
|
|
|
|
|
|
|
|
compass.id = "openboardtool://compass"; |
|
|
|
|
compass.icon = QPixmap(":/images/toolPalette/compassTool.png"); |
|
|
|
@ -76,7 +73,6 @@ UBToolsManager::UBToolsManager(QObject *parent) |
|
|
|
|
mToolsIcon.insert(compass.id, ":/images/toolPalette/compassTool.png"); |
|
|
|
|
mDescriptors << compass; |
|
|
|
|
|
|
|
|
|
//protractor.id = "uniboardTool://uniboard.mnemis.com/protractor";
|
|
|
|
|
|
|
|
|
|
protractor.id = "openboardtool://protractor"; |
|
|
|
|
protractor.icon = QPixmap(":/images/toolPalette/protractorTool.png"); |
|
|
|
@ -85,7 +81,6 @@ UBToolsManager::UBToolsManager(QObject *parent) |
|
|
|
|
mToolsIcon.insert(protractor.id,":/images/toolPalette/protractorTool.png"); |
|
|
|
|
mDescriptors << protractor; |
|
|
|
|
|
|
|
|
|
//triangle.id = "uniboardTool://uniboard.mnemis.com/triangle";
|
|
|
|
|
|
|
|
|
|
triangle.id = "openboardtool://triangle"; |
|
|
|
|
triangle.icon = QPixmap(":/images/toolPalette/triangleTool.png"); |
|
|
|
@ -94,7 +89,6 @@ UBToolsManager::UBToolsManager(QObject *parent) |
|
|
|
|
mToolsIcon.insert(triangle.id,":/images/toolPalette/triangleTool.png"); |
|
|
|
|
mDescriptors << triangle; |
|
|
|
|
|
|
|
|
|
//magnifier.id = "uniboardTool://uniboard.mnemis.com/magnifier";
|
|
|
|
|
|
|
|
|
|
magnifier.id = "openboardtool://magnifier"; |
|
|
|
|
magnifier.icon = QPixmap(":/images/toolPalette/magnifierTool.png"); |
|
|
|
@ -103,7 +97,6 @@ UBToolsManager::UBToolsManager(QObject *parent) |
|
|
|
|
mToolsIcon.insert(magnifier.id,":/images/toolPalette/magnifierTool.png"); |
|
|
|
|
mDescriptors << magnifier; |
|
|
|
|
|
|
|
|
|
//cache.id = "uniboardTool://uniboard.mnemis.com/cache";
|
|
|
|
|
|
|
|
|
|
cache.id = "openboardtool://cache"; |
|
|
|
|
cache.icon = QPixmap(":/images/toolPalette/cacheTool.png"); |
|
|
|
|