Commit Graph

14 Commits

Author SHA1 Message Date
Sergio Martins
a0d05b4e2b Move Frame::Options enum to KDDockWidgets.h
So we can forward declare Frame and not include private headers
in FrameworkWidgetFactory.h
2019-10-07 13:43:48 +01:00
Sergio Martins
f3eb032eff Move the Flag_TabsAlwaysVisible logic into Frame.cpp
So it works with custom framework factories too
2019-09-12 18:06:06 +01:00
Sergio Martins
7abe7fffa2 Introduce Flag_AlwaysShowTabs
Makes the tab bar always show tabs
2019-09-12 15:21:24 +01:00
Sergio Martins
3dd9d48f57 Add more stubs for QtQuick 2019-08-24 21:28:00 +01:00
Sergio Martins
d7d47be5ac Add a stub for the QtQuick counterpart of Frame: FrameQuick 2019-08-22 23:42:49 +01:00
Sergio Martins
a97759ab46 Install Frame_p.h too, as its needed due to the enum 2019-08-12 20:12:44 +01:00
Sergio Martins
020571b6f5 The QtQuick stuff compiles now 2019-08-08 12:52:18 +01:00
Sergio Martins
2a0c228733 Abstract the indicator style, now comes from the factory 2019-08-08 11:37:14 +01:00
Sergio Martins
89757def76 Abstract TabWidget away from QtWidgets, so can be used for QtQuick 2019-08-08 00:41:48 +01:00
Sergio Martins
266e683f98 Abstract Separator too, it inherits from QWidgetAdapter 2019-08-06 23:17:08 +01:00
Sergio Martins
eafc00657b Separator: Decouple the QWidget dependency
There's no Separator and SeparatorWidget. The former only with
state/logic. To be reused by QtQuick.
2019-08-06 13:32:06 +01:00
Sergio Martins
ae7934dd47 Abstract FloatingWindow too, introducing FloatingWindowWidget 2019-08-05 02:41:34 +01:00
Sergio Martins
d8c689316d Moved SeparatorWidget into widgets/
It's now abstracted by the FrameworkWidgetFactory, allowing
the user to provide his own
2019-08-05 02:13:42 +01:00
Sergio Martins
a17465158d Introduce FrameworkWidgetFactory
The framework uses a few QWidgets (FrameWidget, TabbarWidget, TabWidget
TitleBarWidget). This factory allows the user to provide his own,
to achieve different appearence.
2019-08-05 01:35:42 +01:00