Allen Winter
1f7c1e4188
Merge branch 'master' into 2.0
2022-07-11 08:38:22 -04:00
Allen Winter
518724132b
fix a few missed pylint issues
2022-07-11 08:36:12 -04:00
Allen Winter
54a29b5cae
Merge branch 'master' into 2.0
2022-07-09 11:09:35 -04:00
Allen Winter
ba7afe20b0
fix misspelling
2022-07-09 09:16:59 -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
Sergio Martins
54ad9ec2f2
cmake: format with cmake-format
2022-07-04 11:20:19 +01:00
Sergio Martins
28754ec260
Fold DropAreaWithCentralFrame into DropArea
...
This separation was never useful
2022-04-23 00:17:20 +01:00
Sergio Martins
0c686c1339
Renamed MainWindowBase.h to MainWindow.h
...
As done for other controllers
2022-03-25 10:30:07 +00:00
Sergio Martins
c6d95c42a8
Split most widgets into a Controller and a View
...
Controllers don't have any GUI and don't depend on the frontend
technology.
Views are implemented in a specific GUI tech (QtWidgets, QtQuick, etc).
For now only QtWidgets work. There's still a lot to decouple.
This will make it easier to introduce non-Qt backends.
2022-03-24 16:05:37 +00:00
Allen Winter
93e60a743e
update copyright year
2022-01-20 08:05:26 -05:00
Allen Winter
dd979d191f
CMakeLists.txt, python/CMakeLists.txt - some restructuring
2021-10-13 17:33:32 -04:00
Allen Winter
3eb52c46b1
python/examples/main.py - add instructions to generate rc_assets.py
2021-09-30 15:57:22 -04:00
Renato Araujo
b7b1d6d4e9
Fixed unit test for PySide6
2021-09-30 06:04:52 -07:00
Allen Winter
a90417de55
python/examples-qt6/main.py - uncomment rc_assets
...
commented by mistake
2021-09-29 17:17:54 -04:00
Renato Araujo Oliveira Filho
db9babbdca
Fixed module import for python 3.8
2021-09-29 13:36:16 -07:00
Allen Winter
2c98003219
CMakeLists.txt,python/tests/CMakeLists.txt - minor coding style
2021-09-28 16:28:51 -04:00
Allen Winter
dd853a8f72
python/tests/ - add copyright+license header
2021-09-28 16:24:35 -04:00
Renato Araujo
71e5d8cc31
Fixed import module for windows and python 3.7
...
create unit test
2021-09-28 14:45:52 -03:00
Allen Winter
9dd87b7777
python/PyKDDockWidgets/CMakeLists.txt - fix TARGET_SONAME_FILE
...
TARGET_SONAME_FILE isn't supported on Windows
2021-09-27 15:46:23 -04:00
Allen Winter
b057cf905b
python/examples-qt6/main.py - uncomment rc_assets
...
commented by mistake
2021-09-27 12:59:59 -04:00
Renato Araujo Oliveira Filho
1826d68841
Install library so into python module dir
...
We do the same a PySide and install the target library into the python
module this. This way the bindings can work without need to export
system paths.
2021-09-25 11:02:18 +01:00
Allen Winter
7e460d8f34
examples/main.py, examples-qt6/main.py - uncomment import
...
uncomment the import rc_assets (commented by mistake)
2021-09-12 11:24:28 -04:00
Allen Winter
3769ad9615
python/PyKDDockWidgets/CMakeLists.txt - link to Python3 dev libs
2021-08-19 11:28:18 -04:00
Allen Winter
35de0a2fef
python/examples-qt6 - PySide6 and PyKDDockWidgetsQt6 version
2021-08-10 08:52:54 -04:00
Allen Winter
8a0e475f21
python/examples - "PySide" => "PySide2"
2021-08-10 08:43:12 -04:00
Allen Winter
63d14f2345
python/CMakeLists.txt - fix typo
2021-08-10 08:35:40 -04:00
Allen Winter
e91849759c
python/CMakeLists.txt - use PyKDDockWidgetsQt6 namespace for Qt6
...
follow PySide6 naming convention
2021-08-10 08:29:50 -04:00
Allen Winter
ee3a3af408
Merge branch '1.4'
2021-08-10 08:21:11 -04:00
Allen Winter
73cfa64ebb
python/PyKDDockWidgets/__init__.py.cmake - minor comment fix
2021-08-10 08:18:48 -04:00
Allen Winter
d40580c550
buildsystem - rename QT_MAJOR_VERSION to Qt_VERSION_MAJOR
...
as this is consistent with CMake style and other projects
2021-08-04 16:18:31 -04:00
Allen Winter
1cead0e2b8
python/CMakeLists.txt - adapt to new upstream FindPySide
2021-08-03 07:17:50 -04:00
Allen Winter
7ec542a211
post-merge cleaning
...
rearrange top-level CMakeLists.txt
2021-07-29 17:04:45 -04:00
Allen Winter
e615d1c618
Merge branch '1.4'
2021-07-29 16:47:45 -04:00
Allen Winter
ce349d0fcd
buildsystem - improve installing to non-KDAB location
2021-07-29 16:42:07 -04:00
Allen Winter
73ca6e6671
buildsystem - install the Python bindings into standard "site-packages"
...
Follow Python standards and install the bindings into
<prefix>/lib/pythonX.Y/site-packages
sync the Python cmake files with KDAB repository
2021-07-23 12:05:02 -04:00
Allen Winter
3940228b59
various cmake files - minor coding style
2021-07-16 09:18:03 -04:00
Renato Araujo Oliveira Filho
ec4a4d1c86
Python: Create bindings for InitialOption
...
Added bindings for missing enums
Added InitialOption as value type
Task-Id: #198
2021-07-13 17:33:09 +01:00
Allen Winter
3d106ae2f1
python/CMakeLists.txt - fix for Qt6Widgets_VERSION
2021-06-08 19:01:31 -04:00
Renato Araujo Oliveira Filho
6c06bc6af8
Added missing layout_saver wrapper file in the source list
2021-01-28 11:30:25 -03:00
Allen Winter
8d657c5b18
Merge branch '1.2'
2021-01-27 11:59:27 -05:00
Sergio Martins
723c29e33b
Merge pull request #119 from JPatriceR/add-LayoutSaver-python-binding
...
Add binding for LayoutSaver class
2021-01-26 14:58:56 +00:00
Jean-Patrice Laude
67b48cc417
Add binding for LayoutSaver class
2021-01-20 16:53:32 +01:00
Renato Araujo Oliveira Filho
d9fd7eb3a5
Fix python bindings build
...
Task-Id: KDABCI-692
2021-01-18 10:10:51 -05:00
Renato Araujo Oliveira Filho
1e7a2110b1
Fix python bindings build
...
Task-Id: KDABCI-692
2021-01-18 11:58:42 -03:00
Renato Araujo Oliveira Filho
4e79c68a7d
Added PySide6 support
...
Task-Id: KDDW-27
2021-01-11 16:31:49 -03:00
Allen Winter
875544a449
Merge branch '1.2'
2021-01-02 09:32:20 -05:00
Allen Winter
a2f4c972a6
update copyright year
2021-01-02 09:27:50 -05:00
Sergio Martins
5582f37a18
Introduce InitialOption struct
...
addDockWidget() received a AddingOption enumerator. But that
enum isn't enough, as we also want to be able to specify an initial
QSize.
So, instead of adding yet another parameter to addDockWidget(), we
create a struct to old those "initial settings".
Implies a minor source break, but trivial to fix in user code,
just rename the enumerator.
Honouring preferredSize will be a followup.
Needed for issue #95
2020-12-27 20:22:02 +00:00
Sergio Martins
3ee15d1307
Give python a bit of help building KDDW
2020-12-15 12:15:23 +00:00