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