40 #include <QApplication>
44 : te::qt::af::BaseApplication(parent),
64 QPixmap pix(tvIcon.c_str());
65 pix = pix.scaled(16, 16, Qt::KeepAspectRatio, Qt::SmoothTransformation);
68 this->setWindowIcon(icon);
77 QAction* helpAbout = hmenu->addAction(tr(
"&About..."));
79 helpAbout->setObjectName(
"Help.About");
80 helpAbout->setIcon(QIcon::fromTheme(
"help-about-browser"));
87 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.
void startProject(const QString &projectFileName)
#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.
virtual void openProject(const QString &projectFileName)
The base API for controllers of TerraLib applications.