removed some unneeded debug-messages

This commit is contained in:
jkriege2 2019-11-18 08:15:07 +01:00
parent 92daa4d1a8
commit 61d3108fb8
2 changed files with 15 additions and 15 deletions

View File

@ -2300,15 +2300,15 @@ bool JKQTMathText::MTsymbolNode::getGreekSymbolProp(JKQTMathText::MTsymbolNode::
unicodeGreek.insert("Psi", QChar(0x3A8)); unicodeGreek.insert("Psi", QChar(0x3A8));
} }
qDebug()<<"##SEARCHING "<<n; //qDebug()<<"##SEARCHING "<<n;
props.italic = -1; props.italic = -1;
if(fnt.second==MTFEunicodeLimited || fnt.second==MTFEunicode) { if(fnt.second==MTFEunicodeLimited || fnt.second==MTFEunicode) {
props.font = fnt.first; props.font = fnt.first;
qDebug()<<"##SEARCHING "<<n<<": SEARCHING IN "<<props.font<<" [unicode]"; //qDebug()<<"##SEARCHING "<<n<<": SEARCHING IN "<<props.font<<" [unicode]";
//std::cout<<"encoding unicode\n"; //std::cout<<"encoding unicode\n";
QHash<QString, QString>::iterator itgreek = unicodeGreek.find(n); QHash<QString, QString>::iterator itgreek = unicodeGreek.find(n);
if (itgreek!=unicodeGreek.end()) { if (itgreek!=unicodeGreek.end()) {
qDebug()<<"##SEARCHING "<<n<<": FOUND IN "<<props.font<<" [unicode]"; //qDebug()<<"##SEARCHING "<<n<<": FOUND IN "<<props.font<<" [unicode]";
props.symbol = itgreek.value(); props.symbol = itgreek.value();
return true; return true;
} }
@ -2316,30 +2316,30 @@ bool JKQTMathText::MTsymbolNode::getGreekSymbolProp(JKQTMathText::MTsymbolNode::
if(fntGreek.second==MTFEunicodeLimited || fntGreek.second==MTFEunicode) { if(fntGreek.second==MTFEunicodeLimited || fntGreek.second==MTFEunicode) {
props.font = fntGreek.first; props.font = fntGreek.first;
qDebug()<<"##SEARCHING "<<n<<": SEARCHING IN "<<props.font<<" [unicode]"; //qDebug()<<"##SEARCHING "<<n<<": SEARCHING IN "<<props.font<<" [unicode]";
//std::cout<<"encoding unicode\n"; //std::cout<<"encoding unicode\n";
QHash<QString, QString>::iterator itgreek = unicodeGreek.find(n); QHash<QString, QString>::iterator itgreek = unicodeGreek.find(n);
if (itgreek!=unicodeGreek.end()) { if (itgreek!=unicodeGreek.end()) {
qDebug()<<"##SEARCHING "<<n<<": FOUND IN "<<props.font<<" [unicode]"; //qDebug()<<"##SEARCHING "<<n<<": FOUND IN "<<props.font<<" [unicode]";
props.symbol = itgreek.value(); props.symbol = itgreek.value();
return true; return true;
} }
} }
props.font = fntGreek.first; props.font = fntGreek.first;
qDebug()<<"##SEARCHING "<<n<<": SEARCHING IN "<<props.font<<" [winSym]"; //qDebug()<<"##SEARCHING "<<n<<": SEARCHING IN "<<props.font<<" [winSym]";
QHash<QString, QString>::iterator itgreek = winSymbolGreek.find(n); QHash<QString, QString>::iterator itgreek = winSymbolGreek.find(n);
if (itgreek!=winSymbolGreek.end()) { if (itgreek!=winSymbolGreek.end()) {
props.symbol = itgreek.value(); props.symbol = itgreek.value();
qDebug()<<"##SEARCHING "<<n<<": FOUND IN "<<props.font<<" [unicode]"; //qDebug()<<"##SEARCHING "<<n<<": FOUND IN "<<props.font<<" [unicode]";
} else if (n == "sum") { props.symbol = "S"; props.fontFactor = mathFontFactor; props.heightIsAscent = true; props.exactAscent = true; } } else if (n == "sum") { props.symbol = "S"; props.fontFactor = mathFontFactor; props.heightIsAscent = true; props.exactAscent = true; }
else if (n == "prod") { props.symbol = "P"; props.fontFactor = mathFontFactor; props.heightIsAscent = true; props.exactAscent = true; } else if (n == "prod") { props.symbol = "P"; props.fontFactor = mathFontFactor; props.heightIsAscent = true; props.exactAscent = true; }
else { else {
qDebug()<<"##SEARCHING "<<n<<": DIDN'T FIND!"; //qDebug()<<"##SEARCHING "<<n<<": DIDN'T FIND!";
return false; return false;
} }
qDebug()<<"##SEARCHING "<<n<<": FOUND!"; //qDebug()<<"##SEARCHING "<<n<<": FOUND!";
return true; return true;
} }

View File

@ -342,23 +342,23 @@ JKQTPUserActionMarkerType JKQTPlotter::getUserActionMarkerType() const
void JKQTPlotter::registerMouseWheelAction(Qt::KeyboardModifiers modifier, JKQTPMouseWheelActions action) void JKQTPlotter::registerMouseWheelAction(Qt::KeyboardModifiers modifier, JKQTPMouseWheelActions action)
{ {
qDebug()<<"registerMouseWheelAction("<<modifier<<","<<action<<"): "<<plotterStyle.registeredMouseWheelActions; //qDebug()<<"registerMouseWheelAction("<<modifier<<","<<action<<"): "<<plotterStyle.registeredMouseWheelActions;
plotterStyle.registeredMouseWheelActions[modifier]=action; plotterStyle.registeredMouseWheelActions[modifier]=action;
qDebug()<<"registerMouseWheelAction("<<modifier<<","<<action<<"): "<<plotterStyle.registeredMouseWheelActions; //qDebug()<<"registerMouseWheelAction("<<modifier<<","<<action<<"): "<<plotterStyle.registeredMouseWheelActions;
} }
void JKQTPlotter::deregisterMouseWheelAction(Qt::KeyboardModifiers modifier) void JKQTPlotter::deregisterMouseWheelAction(Qt::KeyboardModifiers modifier)
{ {
qDebug()<<"deregisterMouseWheelAction("<<modifier<<"): "<<plotterStyle.registeredMouseWheelActions; //qDebug()<<"deregisterMouseWheelAction("<<modifier<<"): "<<plotterStyle.registeredMouseWheelActions;
plotterStyle.registeredMouseWheelActions.remove(modifier); plotterStyle.registeredMouseWheelActions.remove(modifier);
qDebug()<<"deregisterMouseWheelAction("<<modifier<<"): "<<plotterStyle.registeredMouseWheelActions; //qDebug()<<"deregisterMouseWheelAction("<<modifier<<"): "<<plotterStyle.registeredMouseWheelActions;
} }
void JKQTPlotter::clearAllMouseWheelActions() void JKQTPlotter::clearAllMouseWheelActions()
{ {
qDebug()<<"clearAllMouseWheelActions(): "<<plotterStyle.registeredMouseWheelActions; //qDebug()<<"clearAllMouseWheelActions(): "<<plotterStyle.registeredMouseWheelActions;
plotterStyle.registeredMouseWheelActions.clear(); plotterStyle.registeredMouseWheelActions.clear();
qDebug()<<"clearAllMouseWheelActions(): "<<plotterStyle.registeredMouseWheelActions; //qDebug()<<"clearAllMouseWheelActions(): "<<plotterStyle.registeredMouseWheelActions;
} }