~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Gui/Splashscreen.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2010-01-11 08:48:33 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100111084833-4g9vgdqbkw8u34zb
Tags: 0.9.2646.5-1
* New upstream version (closes: #561696).
* Added swig to Build-Depends (closes: #563523, #563772).
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (c) 2004 Werner Mayer <werner.wm.mayer@gmx.de>              *
 
2
 *   Copyright (c) 2004 Werner Mayer <wmayer[at]users.sourceforge.net>     *
3
3
 *                                                                         *
4
4
 *   This file is part of the FreeCAD CAx development system.              *
5
5
 *                                                                         *
22
22
 
23
23
 
24
24
#include "PreCompiled.h"
 
25
#ifndef _PreComp_
 
26
# include <QMutex>
 
27
# include <QWaitCondition>
 
28
#endif
25
29
 
26
30
#include "Splashscreen.h"
27
31
#include <Base/Console.h>
186
190
    QString major  = QString::fromAscii(App::Application::Config()["BuildVersionMajor"].c_str());
187
191
    QString minor  = QString::fromAscii(App::Application::Config()["BuildVersionMinor"].c_str());
188
192
    QString build  = QString::fromAscii(App::Application::Config()["BuildRevision"].c_str());
189
 
    QString disda  = QString::fromAscii(App::Application::Config()["BuildCurrentDate"].c_str());
 
193
    QString disda  = QString::fromAscii(App::Application::Config()["BuildRevisionDate"].c_str());
190
194
    QString mturl  = QString::fromAscii(App::Application::Config()["MaintainerUrl"].c_str());
191
195
 
192
196
    QString author = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
195
199
        "margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
196
200
        "<span style=\" font-size:8pt; font-weight:600; text-decoration: underline; color:#0000ff;\">"
197
201
        "%1 %2</span></p></body></html>").arg(exeName).arg(banner);
198
 
    QString version = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
199
 
        "<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
200
 
        "font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
201
 
        "margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
202
 
        "<span style=\" font-size:8pt; font-weight:600;\">%1.%2</span></p></body></html>").arg(major).arg(minor);
203
 
    QString revision = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
204
 
        "<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
205
 
        "font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
206
 
        "margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
207
 
        "<span style=\" font-size:8pt; font-weight:600;\">%1</span></p></body></html>").arg(build);
208
 
    QString date = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
209
 
        "<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
210
 
        "font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
211
 
        "margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
212
 
        "<span style=\" font-size:8pt; font-weight:600;\">%1</span></p></body></html>").arg(disda);
213
 
    ui.labelAuthor->setText(author);
214
 
    ui.labelAuthor->setUrl(mturl);
 
202
    QString version = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
 
203
        "<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
 
204
        "font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
 
205
        "margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
 
206
        "<span style=\" font-size:8pt; font-weight:600;\">%1.%2</span></p></body></html>").arg(major).arg(minor);
 
207
    QString revision = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
 
208
        "<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
 
209
        "font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
 
210
        "margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
 
211
        "<span style=\" font-size:8pt; font-weight:600;\">%1</span></p></body></html>").arg(build);
 
212
    QString date = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
 
213
        "<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
 
214
        "font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
 
215
        "margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
 
216
        "<span style=\" font-size:8pt; font-weight:600;\">%1</span></p></body></html>").arg(disda);
 
217
    ui.labelAuthor->setText(author);
 
218
    ui.labelAuthor->setUrl(mturl);
215
219
    ui.labelBuildVersion->setText(version);
216
220
    ui.labelBuildRevision->setText(revision);
217
221
    ui.labelBuildDate->setText(date);