Dan Mašek
51b897b672
Fix #22765 : Remove unnecessary function resulting in infinite recursion. Since In all four places it was used, we already check the shared pointer, the extra assert that the function provided was redundand, so I removed it, and I added a dereference to the `window` parameters.
2 years ago
fwcd
d1d8ac57f3
Cocoa/highgui: Set activateIgnoringOtherApps
2 years ago
Christine Poerschke
40ae06091d
add cvGetPropVisible_COCOA
2 years ago
Christine Poerschke
cb1a1e9a51
add explicit onChange callback in cocoa cvSetTrackbarPos
2 years ago
Berke
3929e26276
spng encoder/decoder added as optional png codec
2 years ago
David Geldreich
60846b2b7a
correct an issue of trackbar on macOS
...
Python binding is passing NULL as (int*)value.
sliderChanged crash when trying to dereference value
2 years ago
Suleyman TURKMEN
0f067fd0a6
make imgcodecs optional for highgui
2 years ago
Joel Winarske
0769bf416f
highgui Wayland xdg_shell
...
-enable using -DWITH_WAYLAND=ON
-adapted from https://github.com/pfpacket/opencv-wayland
-using xdg_shell stable protocol
-overrides HAVE_QT if HAVE_WAYLAND and WITH_WAYLAND are set
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Co-authored-by: Ryo Munakata <afpacket@gmail.com>
2 years ago
Juan López Rubio
adf89bbb33
Merge pull request #22047 from jlopezr:trackbar-ordered-in-mac
...
* In Mac highgui now shows trackbars in creation order
* In Mac highgui trackbars show current value
* Remove trailing spaces in objectivec code
3 years ago
Kumataro
3577265508
highgui: Qt: waitKey() supports Cyrillic/Japanese keyboard layout
3 years ago
LaurentBerger
ca2ab3387f
Try to solve I21853 mouse wheel problem with GTK3
3 years ago
Pavel Rojtberg
12ab54648c
highui: qt - enable hidpi by default
...
can be overriden by environment:
QT_AUTO_SCREEN_SCALE_FACTOR=0
3 years ago
Suleyman TURKMEN
439ef6447d
Update window.cpp
3 years ago
Alexander Alekhin
82818e7324
cmake(highgui): update handling of OpenGL libraries
3 years ago
Stefan Brüns
ab181ac329
highgui: Fix unresolved OpenGL functions for Qt backend
...
The Qt backend directly calls some OpenGL functions (glClear, glHint,
glViewport), but since OCV 4.5.5 the GL libraries are no longer part
of the global extra dependencies. When linking with "-Wl,--no-undefined"
this causes linker errors:
`opencv-4.5.5/modules/highgui/src/window_QT.cpp:3307: undefined reference to `glClear'`
Fixes : #21346
Related issues: #21299
3 years ago
Alexander Alekhin
36bd2a65e3
highgui(gtk): repair scroll events
3 years ago
Alexander Alekhin
85d4e56bb1
highgui(gtk): fix onmouse event flags
3 years ago
Alexander Alekhin
c80b270678
cmake: force lowercase plugins internal names
3 years ago
Alexander Alekhin
dcc32e84b9
highgui: fix Win32 with OPENGL=ON
3 years ago
Alexander Alekhin
3e01a387ba
highgui: fix Win32 with OPENGL=ON
3 years ago
Patrick Whalen
b2005ccaef
Fix broken build for Qt6 with options: WITH_QT=ON and WITH_OPENGL=ON
...
- QGLWidget changed to QOpenGLWidget in window_QT.h for Qt6 using
typedef OpenCVQtWidgetBase for handling Qt version
- Implement Qt6/OpenGL functionality in window_QT.cpp
- Swap QGLWidget:: function calls for OpenCVQtWidgetBase:: function calls
- QGLWidget::updateGL deprecated, swap to QOpenGLWidget::update for Qt6
- Add preprocessor definition to detect Qt6 -- HAVE_QT6
- Add OpenGLWidgets to qdeps list in highgui CMakeLists.txt
- find_package CMake command added for locating Qt module OpenGLWidgets
- Added check that Qt6::OpenGLWidgets component is found. Shut off Qt-openGL functionality if not found.
3 years ago
Michael Davis
d2f87ca76c
Merge pull request #21147 from mjmdavis:4.x
...
* remove tickmarks on NSSlider
3 years ago
yuki takehara
a6277370ca
Merge pull request #21107 from take1014:remove_assert_21038
...
resolves #21038
* remove C assert
* revert C header
* fix several points in review
* fix test_ds.cpp
3 years ago
Christian Clauss
ebe4ca6b60
Fix typos discovered by codespell
3 years ago
Alexander Alekhin
a2716712ab
highgui(win32): fix trackbar setRange
3 years ago
Alexander Alekhin
66f3e97457
highgui: drop invalid cvGetWindowImageRect
3 years ago
Alexander Alekhin
0ee61d178f
highgui: drop invalid cvGetWindowImageRect
...
- return type is C++ template
- removal from 'extern "C"' scope broke ABI anyway, so this symbols is removed completelly
3 years ago
Stanislaw Halik
3d93675ff9
fix link error on shared libs with -MT
3 years ago
Alexander Alekhin
39ee5c5a46
plugins: reverse candidates order to fetch higher versions first
3 years ago
Alexander Alekhin
af56151231
highgui(docs): we don't support 32-bit integer images in imshow()
3 years ago
Alexander Alekhin
bdaa6a1910
highgui: repair Qt backend
3 years ago
xhawk18
24f43e7ae9
Merge pull request #20183 from xhawk18:3.4
...
* improve compatibility for qt 6.
* cmake(highgui): rework Qt dependency support
* cmake(highgui): workaround Qt5Config.cmake "components" bug
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
Alexander Alekhin
350562919c
highgui(win32): avoid using of stalled iterator
3 years ago
Alexander Alekhin
4ff76cad2a
cmake: fix cross-compilation problems
...
- unexpected pkg-config module (we should not use host binary)
- bump cmake_minimum_required to 3.5 in toolchain files
3 years ago
Alexander Alekhin
4015a5486c
cmake: process modules in the same CMake scope
3 years ago
Xinguang Bian
5627a0cbdf
fix scale problem in DefaultViewPort::controlImagePosition()
3 years ago
Alexander Alekhin
cbff19ff1a
highgui: fix win32 backend behavior
3 years ago
Alexander Alekhin
5d0cfa2527
cmake(highgui): don't allow multiple builtin backends
3 years ago
Alexander Alekhin
ef2b400c61
highgui: win32ui plugin
4 years ago
Smirnov Egor
7a276f39fb
reorder defined checks according to cmake file
4 years ago
Smirnov Egor
8f4f834ce6
applied modifier mask to the state
4 years ago
Alexander Alekhin
80238880e6
highgui(gtk): fix initialization order of global objects
4 years ago
Alexander Alekhin
f4abafb093
highgui: update error messages if no builtin backend
4 years ago
Alexander Alekhin
3e538355e2
highgui: force loading of imgcodecs module
...
- required for plugins on Linux (they use imwrite, but there is no link dependency)
4 years ago
Alexander Alekhin
995841624c
highgui(gtk): fix NULL ptr checks
4 years ago
Alexander Alekhin
f5f675ef6c
highgui(gtk): fix NULL ptr checks
4 years ago
Alexander Alekhin
327109f327
highgui: update backends handling, fix WITH_OPENGL=ON build
4 years ago
Alexander Alekhin
fb9a00c36d
highgui: cleanup and fixes
4 years ago
Smirnov Egor
fb68fe8930
bring back bounds check and switch to floor
4 years ago
Alexander Alekhin
3d2f4fa164
highgui: fix trackbar value pointer handling
4 years ago