Changeset c8ed26ddf1 in tspsg for src/mainwindow.cpp
- Timestamp:
- Jul 17, 2012, 8:11:11 PM (12 years ago)
- Branches:
- appveyor, imgbot, master, readme
- Children:
- 50b614b0ea
- Parents:
- 7e8e1b444d
- git-author:
- Oleksii Serdiuk <contacts@…> (07/17/12 20:11:11)
- git-committer:
- Oleksii Serdiuk <contacts@…> (07/17/12 20:24:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
r7e8e1b444d rc8ed26ddf1 303 303 304 304 html.replace(QRegExp("font-family:([^;]*);"), "font-family:\\1, 'DejaVu Sans Mono', 'Courier New', Courier, monospace;"); 305 html.replace(QRegExp("<style ([^>]*)>"), QString("<style \\1>\n" 306 "body { color: %1 }\n" 307 "td { border-style: solid; border-width: 1px; border-color: %2; }") 308 .arg(settings->value("Output/Colors/Font", DEF_TEXT_COLOR).toString(), 309 settings->value("Output/Colors/TableBorder", DEF_TABLE_COLOR).toString())); 305 310 306 311 if (!graph.isNull()) { … … 1002 1007 pic.end(); 1003 1008 1004 QImage i(graph.width() + 2, graph.height() + 2, QImage::Format_RGB32);1005 i.fill( 0xFFFFFF);1009 QImage i(graph.width() + 2, graph.height() + 2, QImage::Format_ARGB32); 1010 i.fill(QColor(255, 255, 255, 0)); 1006 1011 pic.begin(&i); 1007 1012 pic.drawPicture(1, 1, graph); … … 1319 1324 1320 1325 settings->endGroup(); 1321 1322 solutionText->setTextColor(color);1323 1326 } 1324 1327
Note: See TracChangeset
for help on using the changeset viewer.