* MEMBER FUNCTIONS AND SLOTS
******************************************************************************/
private:
+ /**
+ * @brief Set text for header
+ *
+ * @param count Search result count
+ */
void setHeaderText(int count);
private slots:
*/
void buildIndicatorButtonPanel();
+
+ /**
+ * @brief Build location search panel and connect signals
+ */
void buildLocationSearchPanel();
/**
FriendListPanel *m_friendsListPanel; ///< Instance of friends list panel
FullScreenButton *m_fullScreenButton; ///< Instance of the fullscreen toggle button
- IndicatorButtonPanel *m_indicatorButtonPanel; ///< Instance of direction indicator button
- LocationSearchPanel *m_locationSearchPanel;
+ IndicatorButtonPanel *m_indicatorButtonPanel; ///< Instance of direction indicator button
+ LocationSearchPanel *m_locationSearchPanel; ///< Location search panel
MapScale *m_mapScale; ///< Instance of the map scale
MapView *m_mapView; ///< Instance of the map view
NetworkCookieJar *m_cookieJar; ///< Placeholder for QNetworkCookies
"", "", this);
connect(m_clearRouteButton, SIGNAL(clicked()),
this, SLOT(clearRouteButtonClicked()));
+ m_clearRouteButton->setDisabled(true);
ImageButton *routeToCursorButton = new ImageButton(":res/images/sight.png",
"", "", this);
*/
void clearListsSelections();
+ /**
+ * @brief Handler for clear route button clicks
+ */
void clearRouteButtonClicked();
/**
* DATA MEMBERS
******************************************************************************/
private:
- QLabel *m_resultsLabel; ///< Location list label
+ QLabel *m_resultsLabel; ///< Location list label
- ImageButton *m_clearRouteButton; ///< Search location button
+ ImageButton *m_clearRouteButton; ///< Search location button
RouteWaypointListView *m_routeWaypointListView; ///< Route instructions list view
};