All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::StyleDockWidget Class Reference

A dock widget used control the geographic data style using SE elements and a property browser to show its properties. More...

#include <StyleDockWidget.h>

Inheritance diagram for te::qt::widgets::StyleDockWidget:

Signals

void repaintMapDisplay ()
 
void symbolizerChanged (te::se::Symbolizer *s)
 

Public Member Functions

void setStyle (te::se::Style *style, te::map::AbstractLayer *layer)
 Sets a style element to this widget. More...
 
void setTabStatus (bool status)
 
Initializer Methods

Methods related to instantiation and destruction.

 StyleDockWidget (const QString &title, QWidget *parent=0, Qt::WindowFlags flags=0)
 Constructs a StyleDockWidget. More...
 
 ~StyleDockWidget ()
 Destructor. More...
 

Protected Slots

void onLineSymbolizerChanged ()
 
void onMapRefresh ()
 
void onPointSymbolizerChanged ()
 
void onPolygonSymbolizerChanged ()
 
void onRasterSymbolizerChanged ()
 
void onSymbolizerSelected (te::se::Symbolizer *s)
 

Protected Member Functions

QWidget * buildUi ()
 
void updateUi ()
 

Private Attributes

te::map::AbstractLayerm_currentLayer
 Current Layer pointer (used for raster symbolizer information) More...
 
te::qt::widgets::LineSymbolizerPropertym_lineWidget
 
te::qt::widgets::PointSymbolizerPropertym_pointWidget
 
te::qt::widgets::PolygonSymbolizerPropertym_polyWidget
 
te::qt::widgets::RasterSymbolizerWidgetm_rasterWidget
 
te::qt::widgets::StyleControllerWidgetm_styleController
 
QTabWidget * m_tabWidget
 

Detailed Description

A dock widget used control the geographic data style using SE elements and a property browser to show its properties.

Definition at line 59 of file StyleDockWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::StyleDockWidget::StyleDockWidget ( const QString &  title,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Constructs a StyleDockWidget.

Definition at line 43 of file StyleDockWidget.cpp.

References buildUi().

te::qt::widgets::StyleDockWidget::~StyleDockWidget ( )

Destructor.

Definition at line 51 of file StyleDockWidget.cpp.

Member Function Documentation

QWidget * te::qt::widgets::StyleDockWidget::buildUi ( )
protected

Definition at line 73 of file StyleDockWidget.cpp.

Referenced by StyleDockWidget().

void te::qt::widgets::StyleDockWidget::onLineSymbolizerChanged ( )
protectedslot

Definition at line 166 of file StyleDockWidget.cpp.

void te::qt::widgets::StyleDockWidget::onMapRefresh ( )
protectedslot

Definition at line 184 of file StyleDockWidget.cpp.

void te::qt::widgets::StyleDockWidget::onPointSymbolizerChanged ( )
protectedslot

Definition at line 172 of file StyleDockWidget.cpp.

void te::qt::widgets::StyleDockWidget::onPolygonSymbolizerChanged ( )
protectedslot

Definition at line 160 of file StyleDockWidget.cpp.

void te::qt::widgets::StyleDockWidget::onRasterSymbolizerChanged ( )
protectedslot

Definition at line 178 of file StyleDockWidget.cpp.

void te::qt::widgets::StyleDockWidget::onSymbolizerSelected ( te::se::Symbolizer s)
protectedslot
void te::qt::widgets::StyleDockWidget::repaintMapDisplay ( )
signal
void te::qt::widgets::StyleDockWidget::setStyle ( te::se::Style style,
te::map::AbstractLayer layer 
)

Sets a style element to this widget.

Parameters
styleA valid style element.
layerA valid layer element.
Note
The widget will NOT take the ownership of the given pointers.

Definition at line 55 of file StyleDockWidget.cpp.

References te::map::AbstractLayer::setStyle().

void te::qt::widgets::StyleDockWidget::setTabStatus ( bool  status)

Definition at line 61 of file StyleDockWidget.cpp.

void te::qt::widgets::StyleDockWidget::symbolizerChanged ( te::se::Symbolizer s)
signal
void te::qt::widgets::StyleDockWidget::updateUi ( )
protected

Definition at line 69 of file StyleDockWidget.cpp.

Member Data Documentation

te::map::AbstractLayer* te::qt::widgets::StyleDockWidget::m_currentLayer
private

Current Layer pointer (used for raster symbolizer information)

Definition at line 124 of file StyleDockWidget.h.

te::qt::widgets::LineSymbolizerProperty* te::qt::widgets::StyleDockWidget::m_lineWidget
private

Definition at line 119 of file StyleDockWidget.h.

te::qt::widgets::PointSymbolizerProperty* te::qt::widgets::StyleDockWidget::m_pointWidget
private

Definition at line 120 of file StyleDockWidget.h.

te::qt::widgets::PolygonSymbolizerProperty* te::qt::widgets::StyleDockWidget::m_polyWidget
private

Definition at line 118 of file StyleDockWidget.h.

te::qt::widgets::RasterSymbolizerWidget* te::qt::widgets::StyleDockWidget::m_rasterWidget
private

Definition at line 121 of file StyleDockWidget.h.

te::qt::widgets::StyleControllerWidget* te::qt::widgets::StyleDockWidget::m_styleController
private

Definition at line 122 of file StyleDockWidget.h.

QTabWidget* te::qt::widgets::StyleDockWidget::m_tabWidget
private

Definition at line 116 of file StyleDockWidget.h.


The documentation for this class was generated from the following files: