comparison src/AboutDialog.cpp @ 746:ab871460c300

Some smaller style changes for the AboutDialog and hopefully equal font for all platforms. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@1023 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Thu, 30 Sep 2010 20:58:43 +0000
parents aae5a8d04f70
children 65171b865963
comparison
equal deleted inserted replaced
745:b30f03c1a40d 746:ab871460c300
30 \brief The constructor calls the setup function for the ui created by uic and adds 30 \brief The constructor calls the setup function for the ui created by uic and adds
31 the GPL text to the text edit. 31 the GPL text to the text edit.
32 */ 32 */
33 AboutDialog::AboutDialog(QWidget *parent, Qt::WindowFlags flags) : QDialog(parent, flags) { 33 AboutDialog::AboutDialog(QWidget *parent, Qt::WindowFlags flags) : QDialog(parent, flags) {
34 this->parent = parent; 34 this->parent = parent;
35 qApp->setStyleSheet("QTextBrowser{background-color:transparent}");
36 setupUi(this); 35 setupUi(this);
37 creditsTextBrowser->setStyleSheet("QTextBrowser#creditsTextBrowser{background-color:white}");
38 36
39 authorTextBrowser->setOpenExternalLinks( true ); 37 authorTextBrowser->setOpenExternalLinks( true );
40 creditsTextBrowser->setOpenExternalLinks( true ); 38 creditsTextBrowser->setOpenExternalLinks( true );
41 39
42 QString versionString = versionTextBrowser->toHtml(); 40 QString versionString = versionTextBrowser->toHtml();
47 "<pre> </br></pre>" 45 "<pre> </br></pre>"
48 "<h3 align='center'>Thanks go out to</h3>" 46 "<h3 align='center'>Thanks go out to</h3>"
49 "<p align='center'><a href=\"http://www.csie.nctu.edu.tw/~chtai/\"><b>Nelson Tai</b></a> for Chinese translation, good ideas and always fast answers.</p></br>" 47 "<p align='center'><a href=\"http://www.csie.nctu.edu.tw/~chtai/\"><b>Nelson Tai</b></a> for Chinese translation, good ideas and always fast answers.</p></br>"
50 "<p align='center'><a href=\"http://www.hartwork.org/\"><b>Sebastian Pipping</b></a> for helping me bring UiGUI into the Debian repository and other good ideas.</p></br>" 48 "<p align='center'><a href=\"http://www.hartwork.org/\"><b>Sebastian Pipping</b></a> for helping me bring UiGUI into the Debian repository and other good ideas.</p></br>"
51 "<p align='center'><a href=\"http://korytskyy.lviv.ua/\"><b>Oleksandr</b></a> for Ukrainian and Russian translation.</p></br>" 49 "<p align='center'><a href=\"http://korytskyy.lviv.ua/\"><b>Oleksandr</b></a> for Ukrainian and Russian translation.</p></br>"
52 "<p align='center'><b>Erwan &quot;leg&quot;</b> for French translation and the new icon logo.</p></br>" 50 "<p align='center'><b>Erwan &quot;leg&quot;</b> for French translation and the icon logo.</p></br>"
53 "<p align='center'>The <a href=\"http://www.scintilla.org/\"><b>Scintilla</b></a> project for their great text editing component.</p></br>" 51 "<p align='center'>The <a href=\"http://www.scintilla.org/\"><b>Scintilla</b></a> project for their great text editing component.</p></br>"
54 "<p align='center'><a href=\"http://www.riverbankcomputing.co.uk/software/qscintilla/\"><b>Riverbank</b></a> for their Scintilla Qt wrapper QScintilla.</p></br>" 52 "<p align='center'><a href=\"http://www.riverbankcomputing.co.uk/software/qscintilla/\"><b>Riverbank</b></a> for their Scintilla Qt wrapper QScintilla.</p></br>"
55 "<p align='center'>The <a href=\"http://astyle.sourceforge.net/\"><b>Artistic Style</b></a> project.</p></br>" 53 "<p align='center'>The <a href=\"http://astyle.sourceforge.net/\"><b>Artistic Style</b></a> project.</p></br>"
56 "<p align='center'>The <a href=\"http://invisible-island.net/bcpp/\"><b>BCPP</b></a> project.</p></br>" 54 "<p align='center'>The <a href=\"http://invisible-island.net/bcpp/\"><b>BCPP</b></a> project.</p></br>"
57 "<p align='center'>The <a href=\"http://www.siber.com/sct/tools/cbl-beau.html\"><b>Cobol Beautifier</b></a> project.</p></br>" 55 "<p align='center'>The <a href=\"http://www.siber.com/sct/tools/cbl-beau.html\"><b>Cobol Beautifier</b></a> project.</p></br>"