29 #include "ui_AboutDialogForm.h" 37 #include <QtGui/QPixmap> 41 m_ui(new
Ui::AboutDialogForm)
45 std::string copyrightStr = tr(
"<p>Copyright © 2010 INPE<BR>").toUtf8().data();
46 m_ui->m_copyrightLabel->setText(copyrightStr.c_str());
48 std::string terraviewVersionStr = std::string(tr(
"TerraView Version: ").toUtf8().data()) + TERRALIB_VERSION_STRING;
49 m_ui->m_terraviewVersionLabel->setText(terraviewVersionStr.c_str());
51 std::string terralibVersionStr = std::string(tr(
"TerraLib Version: ").toUtf8().data()) + TERRALIB_VERSION_STRING;
52 m_ui->m_terralibVersionLabel->setText(terralibVersionStr.c_str());
55 m_ui->m_buildDateLabel->setText(buildDateStr.c_str());
62 QPixmap pixmapTVLarge(path.c_str());
64 m_ui->m_applicationLargeLogo->setPixmap(pixmapTVLarge);
69 QPixmap pixmapTE(path.c_str());
71 pixmapTE = pixmapTE.scaled(64, 64, Qt::KeepAspectRatio, Qt::SmoothTransformation);
73 m_ui->m_terralibLogo->setPixmap(pixmapTE);
static std::string buildDate()
Utility class for system versioning.
AboutDialog(QWidget *parent=0, Qt::WindowFlags f=0)
void setTerraViewLogoFilePath(std::string path)
This is a proxy file for the real terralib_version.h file.
A Qt dialog showing MGis about window.
std::unique_ptr< Ui::AboutDialogForm > m_ui
void setTerraLibLogoFilePath(std::string path)
Proxy configuration file for TerraView (see terraview_config.h).
The base API for controllers of TerraLib applications.