Mercurial > minori
comparison src/gui/dialog/about.cpp @ 55:d10b6c6b432e
add xml lib, we will need to use it eventually
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Tue, 26 Sep 2023 12:37:08 -0400 |
| parents | 0c4138de2ea7 |
| children | 3d2decf093bb |
comparison
equal
deleted
inserted
replaced
| 54:466ac9870df9 | 55:d10b6c6b432e |
|---|---|
| 1 #include "core/version.h" | 1 #include "core/version.h" |
| 2 #include "gui/widgets/text.h" | 2 #include "gui/widgets/text.h" |
| 3 #include "gui/dialog/about.h" | 3 #include "gui/dialog/about.h" |
| 4 #include "core/json.h" | 4 #include "core/json.h" |
| 5 #include "pugixml.hpp" | |
| 5 #include <curl/curl.h> | 6 #include <curl/curl.h> |
| 6 #include <QFont> | 7 #include <QFont> |
| 7 #include <QTextCharFormat> | 8 #include <QTextCharFormat> |
| 8 #include <QTextBrowser> | 9 #include <QTextBrowser> |
| 9 #include <QTextCursor> | 10 #include <QTextCursor> |
| 109 cursor.insertText(", "); | 110 cursor.insertText(", "); |
| 110 } | 111 } |
| 111 SET_FORMAT_HYPERLINK(format, cursor, "https://p.yusukekamiyamane.com/"); | 112 SET_FORMAT_HYPERLINK(format, cursor, "https://p.yusukekamiyamane.com/"); |
| 112 cursor.insertText(tr("Fugue Icons ") + CONCAT_VERSION(3, 5, 6)); | 113 cursor.insertText(tr("Fugue Icons ") + CONCAT_VERSION(3, 5, 6)); |
| 113 UNSET_FORMAT_HYPERLINK(format, cursor); | 114 UNSET_FORMAT_HYPERLINK(format, cursor); |
| 115 cursor.insertText(", "); | |
| 116 SET_FORMAT_HYPERLINK(format, cursor, "https://pugixml.org/"); | |
| 117 cursor.insertText(tr("pugixml v") + QString::number(PUGIXML_VERSION / 1000) + "." + QString::number(PUGIXML_VERSION / 10 % 100) + "." + QString::number(PUGIXML_VERSION % 10)); | |
| 118 UNSET_FORMAT_HYPERLINK(format, cursor); | |
| 119 cursor.insertText(", "); | |
| 120 SET_FORMAT_HYPERLINK(format, cursor, "https://github.com/erengy/anitomy"); | |
| 121 cursor.insertText(tr("Anitomy")); | |
| 122 UNSET_FORMAT_HYPERLINK(format, cursor); | |
| 114 cursor.insertBlock(); | 123 cursor.insertBlock(); |
| 115 cursor.insertBlock(); | 124 cursor.insertBlock(); |
| 116 SET_FONT_BOLD(font, format, cursor); | 125 SET_FONT_BOLD(font, format, cursor); |
| 117 cursor.insertText(tr("Links:")); | 126 cursor.insertText(tr("Links:")); |
| 118 UNSET_FONT_BOLD(font, format, cursor); | 127 UNSET_FONT_BOLD(font, format, cursor); |
