connect(qApp, SIGNAL(topmostWindowChanged(bool)),
this, SLOT(topmostWindowChanged(bool)));
-
// CONTEXT BUTTONS
m_contextButtonList.append(m_routeButton);
m_contextButtonList.append(clearFilterButton);
#include "coordinates/geocoordinate.h"
+#include "extendedlistitemdelegate.h"
#include "locationlistitem.h"
#include "locationlistview.h"
-#include "extendedlistitemdelegate.h"
#include "imagebutton.h"
+#include "panelcommon.h"
#include "routing/location.h"
#include "routing/route.h"
-#include "routewaypointlistview.h"
#include "routewaypointlistitem.h"
-#include "panelcommon.h"
+#include "routewaypointlistview.h"
#include "routingpanel.h"
m_contextButtonList.append(searchLocationButton);
- m_routeButton = new QPushButton(tr("Route to location"));
+ m_routeButton = new ImageButton(this, ":res/images/routing.png");
m_routeButton->setDisabled(true);
m_routeButton->hide();
connect(searchLocationButton, SIGNAL(clicked()),
this, SIGNAL(requestSearchLocation()));
+
+ // CONTEXT BUTTONS
+ m_contextButtonList.append(m_routeButton);
}
void RoutingPanel::clearListsSelections()
class ExtendedListItemDelegate;
class GeoCoordinate;
-class LocationListView;
+class ImageButton;
class Location;
+class LocationListView;
class Route;
class RouteWaypointListView;
private:
QLabel *m_locationListLabel; ///< Location list label
- QPushButton *m_routeButton; ///< Route to location button
QPushButton *m_searchLocationButton; ///< Search location button
QWidget *m_locationListHeaderWidget; ///< Location list header widget
+ ImageButton *m_routeButton; ///< Route to location button
LocationListView *m_locationListView; ///< Location list view
RouteWaypointListView *m_routeWaypointListView; ///< Route waypoint list view
};