28 #include "TerraLibConfig.h" 
   29 #include "TerraViewConfig.h" 
   30 #include "ui_AboutDialogForm.h" 
   37 #include <QtGui/QPixmap> 
   41     m_ui(new Ui::AboutDialogForm)
 
   45   std::string logoTVLargeFileName = TVIEW_LARGE_LOGO_PIXMAP;
 
   46   QPixmap pixmapTVLarge(logoTVLargeFileName.c_str());
 
   47   m_ui->m_applicationLargeLogo->setPixmap(pixmapTVLarge);
 
   49   std::string logoTEFileName = TVIEW_TE_LOGO_PIXMAP;
 
   50   QPixmap pixmapTE(logoTEFileName.c_str());
 
   52   pixmapTE = pixmapTE.scaled(64, 64, Qt::KeepAspectRatio, Qt::SmoothTransformation);
 
   54   m_ui->m_terralibLogo->setPixmap(pixmapTE);
 
   56   std::string copyrightStr = tr(
"<p>Copyright © 2010-2013 INPE<BR>").toStdString();
 
   57   m_ui->m_copyrightLabel->setText(copyrightStr.c_str());
 
   59   std::string terraviewVersionStr = tr(
"TerraView Version: ").toStdString() + TERRALIB_STRING_VERSION;
 
   60   m_ui->m_terraviewVersionLabel->setText(terraviewVersionStr.c_str());
 
   62   std::string terralibVersionStr = tr(
"TerraLib Version: ").toStdString() + TERRALIB_STRING_VERSION;
 
   63   m_ui->m_terralibVersionLabel->setText(terralibVersionStr.c_str());
 
   66   m_ui->m_buildDateLabel->setText(buildDateStr.c_str());
 
std::auto_ptr< Ui::AboutDialogForm > m_ui
 
A singleton for managing application settings applied to the whole system (all users). 
 
AboutDialog(QWidget *parent=0, Qt::WindowFlags f=0)
 
static std::string buildDate()
 
A Qt dialog showing MGis about window. 
 
Utility class for system versioning.