29 #include "TerraViewConfig.h"
39 #include <QtGui/QAction>
40 #include <QtGui/QApplication>
41 #include <QtGui/QMenu>
44 : te::qt::af::BaseApplication(parent)
62 std::string tvIcon = TVIEW_LOGO_ICON;
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));
A singleton that contains a pointer to a help manager implementation.
virtual void makeDialog()
The base API for controllers of TerraLib applications.
static ApplicationController & getInstance()
It gives access to the controller singleton.
A Qt dialog showing MGis about window.
TerraView(QWidget *parent=0)
static HelpManager & getInstance()
It returns a reference to the singleton instance.
The main class of TerraView.
QMenu * getMenu(const QString &id)
Returns a menu registered with key id.