]> Shamusworld >> Repos - architektonas/blobdiff - src/about.cpp
Added new About logo, beginnings of generic rotation tool.
[architektonas] / src / about.cpp
index bce636531dea867b595e3371830b5e92c56192d7..25cd93eaec454ae9bc2018fd1384b6beab115e40 100644 (file)
@@ -58,12 +58,13 @@ AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog)
                "</ul>"
        ));
 #else
-//     QString s = QString(tr("(Last full build was on %1 %2)<br>")).arg(__DATE__).arg(__TIME__);
-       QString s = QString(tr("<body style='background-image::/res/atns-icon.png'>"//<img src=':/res/atns-icon.png' style='float:right'>"//));
-//     s.append(tr(
-//"This is some random text. I wonder if it will be rendered correctly or not???</p>"
-//             "<table><tr><td valign='middle'>"
-               "<table style='float:left'>"
+       QString s = QString(tr(
+               "<table>"
+               "<tr>"
+               "<td><img src=':/res/about-logo.png' style='float:left; margin-right:20px'></td>"
+               "<td>"
+               "<table>"
+//             "<tr><td align='right'><b>Architektonas: </b></td><td width='100'>Free, <i>Industrial Strength</i> 2D Computer Aided Design</td></tr>"
                "<tr><td align='right'><b>Architektonas: </b></td><td>Free, <i>Industrial Strength</i> 2D Computer Aided Design</td></tr>"
                "<tr><td align='right'><b>Version: </b></td><td>1.0.0</td></tr>"
                "<tr><td align='right'><b>License: </b></td><td>GPL v3 or later</td></tr>"
@@ -72,22 +73,22 @@ AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog)
 //             "<tr><td align='right'><b>Testers: </b></td><td>shamus</td></tr>"
                "<tr><td align='right'><b>Homepage: </b></td><td>http://shamusworld.gotdns.org/architektonas/</td></tr>"
                "</table>"
-"<img src=':/res/atns-icon.png' style='float:right'>"
-//             "</td>"
-//             "<td><img src=':/res/atns-icon.png'></td></tr></table>"
                "<br><br>"
                "<i>The authors of Architektonas would like to express their heartfelt gratitude to:</i>"
-//             "<br>"
                "<ul>"
                "<li>The authors of <b>Inkscape</b>, whose incredible GUI was a huge inspiration for us</li>"
                "<li><b>QCad</b> for sucking so bad that we just <i>had</i> to write something better</li>"
                "<li>Every other 2D CAD package out there that's mired in a legacy of the bad old days of pencil and paper, and all the attendant horrors that came along with that. We couldn't have done it without you!</li>"
-               "</ul></body>"
+               "</ul>"
+               "</td>"
+               "</tr>"
+               "</table>"
        ));
 #endif
 
        text = new QLabel(s);
        text->setWordWrap(true);
+//     text->setMinimumWidth(480);
 //     text->setMaximumWidth(800);
        layout->addWidget(text);
 }