Skip to content

SargeKolja/qt-magnification-glass-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qt-magnification-glass-widget

a magnification glass Widget for Qt4/5 is a source code you can add to your project to have a small window which is showing you a "zoomed" area of an graphics widget (QWidget, QLabel and so on) . The zoomed area sub-window is made around your mouse pointer (pointer is the middle of the sub window). You can move it around which changes the viewed area, you can zoom further in or back out. Can be called or attached to signal/slot (surely also subclassed with less adaptions). Current DEMO code is calling it on right mouse click until you release the button again, zoom is via mouse wheel.

Logo

Features C++ linux windows Qt4 Qt5 MSYS2 windows64 linux64