mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 18:11:38 +08:00
removed some unneeded debug-messages
This commit is contained in:
parent
92daa4d1a8
commit
61d3108fb8
@ -2300,15 +2300,15 @@ bool JKQTMathText::MTsymbolNode::getGreekSymbolProp(JKQTMathText::MTsymbolNode::
|
||||
unicodeGreek.insert("Psi", QChar(0x3A8));
|
||||
}
|
||||
|
||||
qDebug()<<"##SEARCHING "<<n;
|
||||
//qDebug()<<"##SEARCHING "<<n;
|
||||
props.italic = -1;
|
||||
if(fnt.second==MTFEunicodeLimited || fnt.second==MTFEunicode) {
|
||||
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";
|
||||
QHash<QString, QString>::iterator itgreek = unicodeGreek.find(n);
|
||||
if (itgreek!=unicodeGreek.end()) {
|
||||
qDebug()<<"##SEARCHING "<<n<<": FOUND IN "<<props.font<<" [unicode]";
|
||||
//qDebug()<<"##SEARCHING "<<n<<": FOUND IN "<<props.font<<" [unicode]";
|
||||
props.symbol = itgreek.value();
|
||||
return true;
|
||||
}
|
||||
@ -2316,30 +2316,30 @@ bool JKQTMathText::MTsymbolNode::getGreekSymbolProp(JKQTMathText::MTsymbolNode::
|
||||
|
||||
if(fntGreek.second==MTFEunicodeLimited || fntGreek.second==MTFEunicode) {
|
||||
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";
|
||||
QHash<QString, QString>::iterator itgreek = unicodeGreek.find(n);
|
||||
if (itgreek!=unicodeGreek.end()) {
|
||||
qDebug()<<"##SEARCHING "<<n<<": FOUND IN "<<props.font<<" [unicode]";
|
||||
//qDebug()<<"##SEARCHING "<<n<<": FOUND IN "<<props.font<<" [unicode]";
|
||||
props.symbol = itgreek.value();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
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);
|
||||
if (itgreek!=winSymbolGreek.end()) {
|
||||
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 == "prod") { props.symbol = "P"; props.fontFactor = mathFontFactor; props.heightIsAscent = true; props.exactAscent = true; }
|
||||
else {
|
||||
qDebug()<<"##SEARCHING "<<n<<": DIDN'T FIND!";
|
||||
//qDebug()<<"##SEARCHING "<<n<<": DIDN'T FIND!";
|
||||
return false;
|
||||
}
|
||||
|
||||
qDebug()<<"##SEARCHING "<<n<<": FOUND!";
|
||||
//qDebug()<<"##SEARCHING "<<n<<": FOUND!";
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -342,23 +342,23 @@ JKQTPUserActionMarkerType JKQTPlotter::getUserActionMarkerType() const
|
||||
|
||||
void JKQTPlotter::registerMouseWheelAction(Qt::KeyboardModifiers modifier, JKQTPMouseWheelActions action)
|
||||
{
|
||||
qDebug()<<"registerMouseWheelAction("<<modifier<<","<<action<<"): "<<plotterStyle.registeredMouseWheelActions;
|
||||
//qDebug()<<"registerMouseWheelAction("<<modifier<<","<<action<<"): "<<plotterStyle.registeredMouseWheelActions;
|
||||
plotterStyle.registeredMouseWheelActions[modifier]=action;
|
||||
qDebug()<<"registerMouseWheelAction("<<modifier<<","<<action<<"): "<<plotterStyle.registeredMouseWheelActions;
|
||||
//qDebug()<<"registerMouseWheelAction("<<modifier<<","<<action<<"): "<<plotterStyle.registeredMouseWheelActions;
|
||||
}
|
||||
|
||||
void JKQTPlotter::deregisterMouseWheelAction(Qt::KeyboardModifiers modifier)
|
||||
{
|
||||
qDebug()<<"deregisterMouseWheelAction("<<modifier<<"): "<<plotterStyle.registeredMouseWheelActions;
|
||||
//qDebug()<<"deregisterMouseWheelAction("<<modifier<<"): "<<plotterStyle.registeredMouseWheelActions;
|
||||
plotterStyle.registeredMouseWheelActions.remove(modifier);
|
||||
qDebug()<<"deregisterMouseWheelAction("<<modifier<<"): "<<plotterStyle.registeredMouseWheelActions;
|
||||
//qDebug()<<"deregisterMouseWheelAction("<<modifier<<"): "<<plotterStyle.registeredMouseWheelActions;
|
||||
}
|
||||
|
||||
void JKQTPlotter::clearAllMouseWheelActions()
|
||||
{
|
||||
qDebug()<<"clearAllMouseWheelActions(): "<<plotterStyle.registeredMouseWheelActions;
|
||||
//qDebug()<<"clearAllMouseWheelActions(): "<<plotterStyle.registeredMouseWheelActions;
|
||||
plotterStyle.registeredMouseWheelActions.clear();
|
||||
qDebug()<<"clearAllMouseWheelActions(): "<<plotterStyle.registeredMouseWheelActions;
|
||||
//qDebug()<<"clearAllMouseWheelActions(): "<<plotterStyle.registeredMouseWheelActions;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user