commented aristo

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent b98e2afc0c
commit 9e44b36d19
  1. 3
      src/tools/UBGraphicsRuler.cpp
  2. 12
      src/tools/UBToolsManager.cpp

@ -164,9 +164,6 @@ void UBGraphicsRuler::paintGraduations(QPainter *painter)
const int millimetersPerCentimeter = 10; const int millimetersPerCentimeter = 10;
const int millimetersPerHalfCentimeter = 5; const int millimetersPerHalfCentimeter = 5;
qDebug() << sPixelsPerMillimeter;
painter->save(); painter->save();
painter->setFont(font()); painter->setFont(font());
QFontMetricsF fontMetrics(painter->font()); QFontMetricsF fontMetrics(painter->font());

@ -91,12 +91,12 @@ UBToolsManager::UBToolsManager(QObject *parent)
mDescriptors << cache; mDescriptors << cache;
// -------------------------------------------------------------------------------- // --------------------------------------------------------------------------------
aristo.id = "uniboardTool://uniboard.mnemis.com/aristo"; // aristo.id = "uniboardTool://uniboard.mnemis.com/aristo";
aristo.icon = QPixmap(":/images/toolPalette/aristoTool.png"); // aristo.icon = QPixmap(":/images/toolPalette/aristoTool.png");
aristo.label = tr("Aristo"); // aristo.label = tr("Aristo");
aristo.version = "1.0"; // aristo.version = "1.0";
mToolsIcon.insert(aristo.id, ":/images/toolPalette/aristoTool.png"); // mToolsIcon.insert(aristo.id, ":/images/toolPalette/aristoTool.png");
mDescriptors << aristo; // mDescriptors << aristo;
} }
UBToolsManager::~UBToolsManager() UBToolsManager::~UBToolsManager()

Loading…
Cancel
Save