Commit Graph

27 Commits

Author SHA1 Message Date
Allen Winter
1e8bdba2dd minor spelling fix 2021-03-23 07:47:31 -04:00
Sergio Martins
48b5b27d42 Introduce MainWindowMDI
User no longer needs to use private API
2021-02-14 13:02:48 +00:00
Sergio Martins
2130a31dfd Add another base class to MultiSplitter
MultiSplitter is the QWidget that holds the layout. But we also
want to support other types of layouts, such as MDI.
2021-02-09 12:37:08 +00:00
Allen Winter
a2f4c972a6 update copyright year 2021-01-02 09:27:50 -05:00
Sergio Martins
cd859d6725 Fix a bunch of clazy warnings 2020-12-22 17:01:50 +00:00
Sergio Martins
819725351a Fix -Wweak-vtables warnings 2020-10-14 14:55:28 +01:00
Sergio Martins
037fa76fff Fix building user apps out of repo
Our example was being built as part of KDDW, so that worked fine.
Now it can also be built with an installed KDDW.

Problem was the folder hiearchy in the installed include dir
didn't match the folder hiearchy in the source repo

Fixes #62
2020-08-14 17:49:24 +01:00
Sergio Martins
2fdb85f3fb Fix build with 5.9 2020-08-08 17:32:26 +01:00
Sergio Martins
78dcb0f7f3 qml: Abstract some methods that QQuickItem doesn't have
geometry(), isMinimized(), etc.
2020-08-06 23:10:08 +01:00
Sergio Martins
0ff9b95577 Move some typedefs into KDDockWidget namespace
So they don't conflict with user code
2020-07-29 10:30:21 +01:00
Sergio Martins
f6837ee4e5 qml: Fix compile for layoutlinter
Doesn't link yet though
2020-07-26 21:33:10 +01:00
Sergio Martins
ed752d953a Fix include 2020-07-26 21:01:22 +01:00
Sergio Martins
2a34ecd563 qml: Frame inherits from Widget_quick when built with QtQuick support 2020-07-26 18:56:24 +01:00
Allen Winter
b4f49895c2 clarify: licensing is GPL2 or GPL3 or commercial licensed
follow the REUSE specs
2020-07-24 18:16:13 -04:00
Allen Winter
df692686e7 various - update copyright year 2020-01-07 11:36:56 -05:00
Sergio Martins
787f7802be Move the private code into a private/ folder
It's nice to have a similar include hierarchy at build time and install
time.

It also makes things more explicit
2019-10-20 19:24:54 +01:00
Sergio Martins
eb96288534 docs: Improved @file docs 2019-10-04 17:33:42 +01:00
Sergio Martins
3b041c3145 quick: Fix the base class of MainWindowBase
Should only inherit from QMainWidget in QtWidget mode.
2019-09-04 15:55:04 +01:00
Sergio Martins
6b12a00f2d Fix QtQuick build 2019-08-22 23:25:14 +01:00
Sergio Martins
b946627961 cmake: Fix some includes 2019-08-08 15:58:22 +01:00
Sergio Martins
a8ac0412fa More build fixes without QtWidgets 2019-08-08 11:37:14 +01:00
Sergio Martins
022e91db78 More QtWidget decoupling 2019-08-07 13:35:45 +01:00
Sergio Martins
a27b4b387a Split QWidgetAdapter into _widget and _quick variants
So we don't need so many ifdefs
2019-08-07 11:29:39 +01:00
Sergio Martins
823d1b658b FloatingWindow now inherits from QWidgetAdapter too 2019-08-07 00:20:28 +01:00
Sergio Martins
c7754f8206 Remove some QWidget specific code from DropArea 2019-08-06 23:50:50 +01:00
Sergio Martins
266e683f98 Abstract Separator too, it inherits from QWidgetAdapter 2019-08-06 23:17:08 +01:00
Sergio Martins
4bfd76dc61 Introduce QWidgetAdapter and apply it to MultiSplitter
MultiSplitter is now QWidget agnostic, and should work with
QtQuick
2019-08-06 23:07:47 +01:00