27 #include "../../../qt/widgets/st/TimeSliderWidget.h"
28 #include "../../../qt/widgets/canvas/MapDisplay.h"
29 #include "../../af/ApplicationController.h"
30 #include "../../af/BaseApplication.h"
31 #include "../../af/connectors/MapDisplay.h"
32 #include "../../af/Project.h"
44 if(m_timeSliderWidget)
47 delete m_timeSliderWidget;
53 if(m_timeSliderWidget == 0)
68 connect(ts, SIGNAL(deleteTimeSliderWidget()),
this, SLOT(onDeleteTimeSliderWidget()));
69 connect(ba, SIGNAL(applicationClose()),
this, SLOT(onDeleteTimeSliderWidget()));
74 if(m_timeSliderWidget->getTimeSliderWidget()->isMinimized())
75 m_timeSliderWidget->getTimeSliderWidget()->showNormal();
77 m_timeSliderWidget->getTimeSliderWidget()->show();
83 if(m_timeSliderWidget)
84 delete m_timeSliderWidget;
85 m_timeSliderWidget = 0;
MapDisplay * getDisplay()
te::qt::widgets::MapDisplay * getDisplay()
A QMainWindow to be used as the basis for TerraLib applications.
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
An Envelope defines a 2D rectangular region.
This is an abstract class used to register actions into slider pluging.
virtual const te::gm::Envelope & getExtent() const
It returns the world extent showned by the MapDisplay.
bool isValid() const
It tells if the rectangle is valid or not.