void BookViewPreview::mouseReleaseEvent(QMouseEvent *event) { // Propagate to base class QWebView::mouseReleaseEvent(event); emit GoToPreviewLocationRequest(); }
void PreviewWindow::ConnectSignalsToSlots() { connect(m_Splitter, SIGNAL(splitterMoved(int, int)), this, SLOT(SplitterMoved(int, int))); connect(m_Preview, SIGNAL(GoToPreviewLocationRequest()), this, SIGNAL(GoToPreviewLocationRequest())); connect(m_Preview, SIGNAL(ZoomFactorChanged(float)), this, SIGNAL(ZoomFactorChanged(float))); }