Mercurial > minori
comparison src/gui/dialog/about.cpp @ 52:0c4138de2ea7
anime list: we are finally read-write
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 25 Sep 2023 22:49:42 -0400 |
parents | 75c804f713b2 |
children | d10b6c6b432e |
comparison
equal
deleted
inserted
replaced
51:75c804f713b2 | 52:0c4138de2ea7 |
---|---|
72 | 72 |
73 QFont font; | 73 QFont font; |
74 QTextCharFormat format; | 74 QTextCharFormat format; |
75 QTextBrowser* paragraph = new QTextBrowser(this); | 75 QTextBrowser* paragraph = new QTextBrowser(this); |
76 paragraph->setOpenExternalLinks(true); | 76 paragraph->setOpenExternalLinks(true); |
77 paragraph->setFrameShape(QFrame::NoFrame); | |
78 paragraph->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); | |
79 paragraph->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); | |
77 QTextCursor cursor = paragraph->textCursor(); | 80 QTextCursor cursor = paragraph->textCursor(); |
78 SET_TITLE_FONT(font, format, cursor); | 81 SET_TITLE_FONT(font, format, cursor); |
79 SET_FONT_BOLD(font, format, cursor); | 82 SET_FONT_BOLD(font, format, cursor); |
80 cursor.insertText("Minori"); | 83 cursor.insertText("Minori"); |
81 UNSET_FONT_BOLD(font, format, cursor); | 84 UNSET_FONT_BOLD(font, format, cursor); |