Mercurial > octave-nkf
diff libgui/src/qtinfo/parser.cc @ 19935:ded81845c597
omit icons for breakpoint markers and in documentation viewer
* arrow_down.png, arrow_left.png, arrow_right.png, arrow_up.png
bookmark.png, redled.png, up.png: removed obsolete icons
* file-editor-tab.cc (file_editor_tab): Use qscintilla internal markers
instead of icons
* module.mk, resource.qrc: removed entries of obsolete icons, sort entries
* parser.cc (replace_links, node_text_to_html, global_search):
replace icons by html characters
author | Torsten <ttl@justmail.de> |
---|---|
date | Thu, 26 Feb 2015 10:06:23 +0100 |
parents | be7b05f95d7c |
children |
line wrap: on
line diff
--- a/libgui/src/qtinfo/parser.cc Fri Feb 27 08:41:59 2015 +0100 +++ b/libgui/src/qtinfo/parser.cc Thu Feb 26 10:06:23 2015 +0100 @@ -345,7 +345,7 @@ url_link.replace ("</b>",""); url_link = QUrl::toPercentEncoding (url_link, "", "'"); - href += "<img src=':/actions/icons/bookmark.png' width=10/>"; + href += "<font style=\"color:DarkGray; font-weight:bold;\">»</font>"; href += " <a href='" + url_link + "'>" + note + "</a>" + term; f = re.matchedLength (); text.replace (i,f,href); @@ -408,7 +408,7 @@ info_to_html (text2); text = text1 + "<a name='" + anchor - + "'/><img src=':/actions/icons/arrow_down.png'><br> " + + "'/><font style=\"color:DarkBlue; font: bold monospace large;\">♦</font><br> " + text2; } else @@ -420,9 +420,9 @@ QString navigationLinks = QString ( "<b>Section:</b> <font style=\"color:DarkRed\">%1</font><br>" - "<img src=':/actions/icons/arrow_left.png'/> <b>Previous Section:</b> <a href='%2'>%3</a><br>" - "<img src=':/actions/icons/arrow_right.png'/> <b>Next Section:</b> <a href='%4'>%5</a><br>" - "<img src=':/actions/icons/arrow_up.png'/> <b>Up:</b> <a href='%6'>%7</a><br>\n" + "<b>Previous Section:</b> <a href='%2'>%3</a><br>" + "<b>Next Section:</b> <a href='%4'>%5</a><br>" + "<b>Up:</b> <a href='%6'>%7</a><br>\n" ) .arg (nodeName) .arg (QString (QUrl::toPercentEncoding (nodePrev, "", "'"))) @@ -645,7 +645,7 @@ if (founds == 0) { results.append( - "<br>\n<img src=':/actions/icons/bookmark.png' width=10> <a href='" + "<br>\n<font style=\"color:DarkGray; font-weight:bold;\">»</font> <a href='" + QString(QUrl::toPercentEncoding(node,"","'")) + "'>"); results.append (node);