40 #include <QApplication>
44 : te::qt::af::BaseApplication(parent)
63 QPixmap pix(tvIcon.c_str());
64 pix = pix.scaled(16, 16, Qt::KeepAspectRatio, Qt::SmoothTransformation);
67 this->setWindowIcon(icon);
76 QAction* helpAbout = hmenu->addAction(tr(
"&About..."));
78 helpAbout->setObjectName(
"Help.About");
79 helpAbout->setIcon(QIcon::fromTheme(
"help-about-browser"));
86 std::auto_ptr<AboutDialog> dialog(
new AboutDialog(
this));
TECOMMONEXPORT std::string FindInTerraLibPath(const std::string &p)
Returns the path relative to a directory or file in the context of TerraLib.
virtual void makeDialog()
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
#define TERRALIB_APPLICATION_CONFIG_FILE
The file that contains the application plugins.
A Qt dialog showing MGis about window.
A singleton that contains a pointer to a help manager implementation.
TerraView(QWidget *parent=0)
The main class of TerraView.
The base API for controllers of TerraLib applications.