18 #ifndef VIDEOZOOMSCOPEWIDGET_H 19 #define VIDEOZOOMSCOPEWIDGET_H 21 #include "scopewidget.h" 22 #include "widgets/screenselector.h" 30 class VideoZoomWidget;
32 class VideoZoomScopeWidget Q_DECL_FINAL :
public ScopeWidget 37 explicit VideoZoomScopeWidget();
41 void onScreenSelectStarted();
42 void onLockToggled(
bool enabled);
43 void onScreenRectSelected(const QRect& rect);
44 void onScreenPointSelected(const QPoint& point);
45 void onPixelSelected(const QPoint& pixel);
46 void onZoomChanged(
int zoom);
50 void refreshScope(const QSize& size,
bool full) Q_DECL_OVERRIDE;
53 Q_INVOKABLE
void updateLabels();
55 VideoZoomWidget* m_zoomWidget;
56 ScreenSelector m_selector;
58 QLabel* m_pixelXLabel;
59 QLabel* m_pixelYLabel;
66 QToolButton* m_lockButton;
69 #endif // VIDEOZOOMSCOPEWIDGET_H