29 #include "ui_AboutDialogForm.h"
37 #include <QtGui/QPixmap>
41 m_ui(new
Ui::AboutDialogForm)
47 QPixmap pixmapTVLarge(logoTVLargeFileName.c_str());
48 m_ui->m_applicationLargeLogo->setPixmap(pixmapTVLarge);
51 QPixmap pixmapTE(logoTEFileName.c_str());
53 pixmapTE = pixmapTE.scaled(64, 64, Qt::KeepAspectRatio, Qt::SmoothTransformation);
55 m_ui->m_terralibLogo->setPixmap(pixmapTE);
57 std::string copyrightStr = tr(
"<p>Copyright © 2010-2015 INPE<BR>").toStdString();
58 m_ui->m_copyrightLabel->setText(copyrightStr.c_str());
60 std::string terraviewVersionStr = tr(
"TerraView Version: ").toStdString() + TERRALIB_VERSION_STRING;
61 m_ui->m_terraviewVersionLabel->setText(terraviewVersionStr.c_str());
63 std::string terralibVersionStr = tr(
"TerraLib Version: ").toStdString() + TERRALIB_VERSION_STRING;
64 m_ui->m_terralibVersionLabel->setText(terralibVersionStr.c_str());
67 m_ui->m_buildDateLabel->setText(buildDateStr.c_str());
static std::string buildDate()
Utility class for system versioning.
AboutDialog(QWidget *parent=0, Qt::WindowFlags f=0)
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
This is a proxy file for the real terralib_version.h file.
std::auto_ptr< Ui::AboutDialogForm > m_ui
A Qt dialog showing MGis about window.
Proxy configuration file for TerraView (see terraview_config.h).
The base API for controllers of TerraLib applications.