RoutingPanel Class Reference

Routing panel. More...

#include <routingpanel.h>

Inheritance diagram for RoutingPanel:
Inheritance graph
[legend]
Collaboration diagram for RoutingPanel:
Collaboration graph
[legend]

List of all members.

Signals

void clearRoute ()
 Emitted when route is cleared.
void routeToCursor ()
 Request routing to current cursor position.
void routeWaypointItemClicked (const GeoCoordinate &coordinate)
 Signal for route waypoint item clicked.
void showPanelRequested (QWidget *widget)
 Signal for requesting a panel to be opened.

Public Member Functions

 RoutingPanel (QWidget *parent=0)
 Default constructor.

Protected Member Functions

void hideEvent (QHideEvent *event)
 Re-implemented from QWidget::hideEvent().

Private Slots

void clearListsSelections ()
 Clears lists' selections.
void clearRouteButtonClicked ()
 Handler for clear route button clicks.
void setRoute (Route &route)
 Sets route to the panel.

Private Attributes

QLabel * m_resultsLabel
 Location list label.
ImageButtonm_clearRouteButton
 Search location button.
RouteWaypointListViewm_routeWaypointListView
 Route instructions list view.

Detailed Description

Routing panel.

Author:
Jussi Laitinen - jussi.laitinen (at) ixonos.com
Sami Rämö - sami.ramo (at) ixonos.com

Constructor & Destructor Documentation

RoutingPanel::RoutingPanel ( QWidget *  parent = 0  ) 

Default constructor.

Parameters:
parent 

Member Function Documentation

void RoutingPanel::hideEvent ( QHideEvent *  event  )  [protected]

Re-implemented from QWidget::hideEvent().

Calls clearListsSelections()

Parameters:
event 
void RoutingPanel::routeWaypointItemClicked ( const GeoCoordinate coordinate  )  [signal]

Signal for route waypoint item clicked.

Parameters:
coordinate waypoint item's coordinate
void RoutingPanel::setRoute ( Route route  )  [private, slot]

Sets route to the panel.

Appends route waypoint list with route segments.

Parameters:
route Route item containing parsed route details
void RoutingPanel::showPanelRequested ( QWidget *  widget  )  [signal]

Signal for requesting a panel to be opened.

Parameters:
widget Pointer to the widget that emitted the signal

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

Generated on Fri Sep 3 12:05:42 2010 for Situare client for Maemo by  doxygen 1.6.1