Sergio Martins
3c2cb67bcd
cmake: Allow to build with Qt 6.2, since it's the last LTS
2022-09-14 13:40:31 +01:00
Allen Winter
77127886da
.pylintrc - ignore settings for older pylint versions
2022-09-13 12:14:34 -04:00
Allen Winter
70def3e14c
misspellings found by codespell v2.2.1
2022-09-13 12:12:16 -04:00
Allen Winter
a91aa74d52
misc whitespace cleaning
2022-09-13 12:07:14 -04:00
Allen Winter
619119fc37
README.md - a bit of trivial whitespace cleaning
2022-09-13 12:06:37 -04:00
Sergio Martins
77c8cec2b8
cmake: Fix ci-dev-qtquick-qt6 not using QtQuick
...
It was building the QtWidgets frontend by mistake
2022-09-12 18:36:07 +01:00
Sergio Martins
71f5cccb61
tests: Fix tests not being run on macOS Qt6
...
Latest Qt5 and Qt6 are fine nowadays, so just remove the check.
There was an offscreen qpa bug in macOS which was fixed in 5.15.2.
2022-09-12 17:57:28 +01:00
Sergio Martins
f5eb97bd26
cmake: Remove unity builds from cmake presets
...
The speedup is small since KDDW is small as well.
The burden of maintaining it isn't worth the speedup.
Fixes static build preset failing.
2022-09-12 17:54:51 +01:00
Sergio Martins
fcedc65c41
README: Explain our versioning
2022-09-08 11:51:42 +01:00
Sergio Martins
236ed813f8
qtquick: Fix build, use WidgetType instead of QWidget
2022-09-07 17:46:46 +01:00
Sergio Martins
1c4a4fb8bc
README: Discourage people from using 1.6 for QtQuick
...
It works but won't be receiving bug fixes.
2022-09-07 17:11:35 +01:00
Allen Winter
be7bbe00b1
appveyor.yml - don't build the master branch
2022-09-06 09:10:20 -04:00
Sergio Martins
f277d5efb7
Fix affinity of central frame
...
Fixes issue #245
(cherry-picked from commit f9e758d02f )
2022-09-05 22:57:02 +01:00
Sergio Martins
bde5be9d9c
Release mouse if Qt doesn't receive mouse release
...
As explained in commit message for #166 , there's a case where Qt
doesn't receive the mouse release from Windows. If that happens
then allow to drop if we're over a drop indicator.
Fixes issue #306
2022-08-16 14:28:49 -07:00
Sergio Martins
7e689f0b39
python: Improve Dockerfile
...
Added more instructions and missing runtime packages
So I can test issue #304
2022-08-16 20:47:21 +01:00
Sergio Martins
ef78d60751
Python: Add a Dockerfile for a python environment
...
So I can test issue #304
2022-08-16 00:52:34 +01:00
Sergio Martins
bdbab41674
cmake: Disable unity builds for python preset
...
It's not supported
2022-08-16 00:03:29 +01:00
Sergio Martins
f84006347b
Add SegmentedIndicators::s_centralIndicatorMaxWidth/height
...
So the user can change the maximum size of the central indicator
2022-07-28 19:42:56 +01:00
Allen Winter
9ce7477cbb
docs/api/Doxyfile.cmake - add .pngs
2022-07-22 16:00:08 -04:00
Allen Winter
913c570b2b
.reuse/dep5 - minor cleaning
2022-07-19 12:48:22 -04:00
Shantanu Tushar
daebe9e680
Export SideBarButton
...
This allows code to link to subclasses of SideBarButton.
2022-07-19 11:39:32 +01:00
Shantanu Tushar
cf7f037af4
Allow custom sidebars to access its dock widgets
...
This is useful in cases where a custom sidebar wants behavior that
affects multiple dock widgets it "contains".
2022-07-19 11:39:32 +01:00
Sergio Martins
72ac856fa7
Allow to use TitleBar with non-KDDW widgets
...
For example, on EGLFS, the user might want some dialogs with similar
decorations. In the future we can make it draggable as well.
2022-07-16 23:51:39 +01:00
Allen Winter
579cd3a201
python/examples[-qt6] - minor pylint fixes
2022-07-14 15:29:51 -04:00
Allen Winter
3764feaf89
Minimum Qt6 supported version 6.3.0
2022-07-13 08:40:59 -04:00
Allen Winter
f1959e5e16
Revert "CMakeLists.txt - set QT_MAJOR_VERSION for ECM"
...
This reverts commit 084947612b .
2022-07-13 08:37:38 -04:00
Allen Winter
084947612b
CMakeLists.txt - set QT_MAJOR_VERSION for ECM
2022-07-13 06:19:28 -04:00
Allen Winter
710f71e7f0
CMakeLists.txt - fix LIB_NAME for ECMGeneratePriFile for Qt6
2022-07-12 16:03:17 -04:00
Allen Winter
4e6b49f876
CMakeLists.txt - ECMGeneratePriFiles supports Qt6 now
2022-07-12 12:53:50 -04:00
Allen Winter
d28dc745bc
buildsystem - InstallLocation.cmake -> KDInstallLocation.cmake
2022-07-12 12:09:55 -04:00
Allen Winter
ad8e14ceff
.reuse/dep5 - full project reuse licensing
2022-07-12 12:09:39 -04:00
Allen Winter
f9debe5f09
.pre-commit-config.yaml - add reuse lint checking
2022-07-12 12:08:45 -04:00
Allen Winter
b52b1335a6
Markdownlint the project
2022-07-12 11:12:33 -04:00
Sergio Martins
fedce40883
Workaround for EGLFS not supporting per window mouse cursor shape
...
When hovering over the floating window edges our mouse cursor
changes to resize shape, but when leaving and entering the main window
the mouse cursor wasn't unset.
Workaround by using a global event filter and detecting the leave.
Not using QEvent::Leave as we still allow for some margin outside
the floating window to count as a resize cursor
2022-07-12 15:29:43 +01:00
Sergio Martins
5894fd54f5
WidgetResizeHandler: Remove no-op code
...
We already bail out if o != mTarget a few lines above
2022-07-12 14:09:16 +01:00
Sergio Martins
d788cde263
minor: Improve readability
...
Mouse cursor setting is directly related to it being global or local
event filter.
2022-07-12 12:50:31 +01:00
Sergio Martins
1051e859f4
minor: Separate "toplevelness" with filter being local/global
...
It's too separate concepts
2022-07-12 12:22:39 +01:00
Sergio Martins
2fa9c06f9a
minor: Pass a dedicated enum instead of bool to WidgetResizeHandler ctor
...
bool is opaque and needs a comment, the enum is expressive just by itself.
2022-07-12 11:49:58 +01:00
Sergio Martins
4691f9bfa5
Ran clang-format over the codebase
2022-07-12 11:28:05 +01:00
Sergio Martins
c7dd7d954f
pre-commit: Don't clang-format json files
...
Not until I find out how to make vscode use clang-format for
json. It seems to be using its own formatter.
2022-07-11 21:14:15 +01:00
Sergio Martins
0f66fe853d
pre-commit: Allow for multi-document yaml files
...
Which is valid yaml.
In case we want to make settings for json formatting in .clang-format.
2022-07-11 19:23:58 +01:00
Allen Winter
025c49c583
buildsystem - sync with cmake ECM and KDAB upstream
2022-07-11 12:27:24 -04:00
Allen Winter
518724132b
fix a few missed pylint issues
2022-07-11 08:36:12 -04:00
Sergio Martins
800d97c352
Fix 2 clazy warnings
2022-07-09 14:38:01 +01:00
Allen Winter
ba7afe20b0
fix misspelling
2022-07-09 09:16:59 -04:00
Allen Winter
0b5b06dc5a
.gitignore - ignore python/examples-qt6/rc_assets.py
2022-07-09 09:12:17 -04:00
Allen Winter
460b898bea
cmake-lint, cmake-format CMake files
2022-07-09 09:11:45 -04:00
Allen Winter
6e5cfd70d1
pylint and autopep8 all python files
2022-07-08 17:34:42 -04:00
Allen Winter
4afc6b62b2
.pre-commit-config.yaml - add pylint,autopep8,cmake-lint,cmake-format
2022-07-08 17:33:12 -04:00
Sergio Martins
0785408a5c
Add fwd header for DropAreaWithCentralFrame_p.h
2022-07-08 14:09:57 +01:00