connect(m_friendsListPanel, SIGNAL(showPanelRequested(QWidget*)),
m_tabbedPanel, SLOT(showPanel(QWidget*)));
+
+ connect(m_routingPanel, SIGNAL(showPanelRequested(QWidget*)),
+ m_tabbedPanel, SLOT(showPanel(QWidget*)));
}
void MainWindow::buildRoutingPanel()
}
m_routeWaypointListView->scrollToTop();
+
+ emit showPanelRequested(this);
}
*/
void routeWaypointItemClicked(const GeoCoordinate &coordinate);
+ /**
+ * @brief Signal for requesting a panel to be opened
+ *
+ * @param widget Pointer to the widget that emitted the signal
+ */
+ void showPanelRequested(QWidget *widget);
+
/*******************************************************************************
* DATA MEMBERS
******************************************************************************/