Revision af0a527...
Go back to digest for 10th February 2013Features in Office
This patch makes a huge change as to when config ui are in a docker and when it is
in a tool.
This new way of working was discussed with several people. The config
widgets were part of the 8 hour akademy 2012 Calligra UI brainstorming. This commit
implements what was designed.
The needed config widgets when working with a particular tool are now made available as
tool option widgets, so the user now directly has what is needed and nothing more.
The following config widgets are new but in large part reimplement what was already there:
o Stroke config widget,
o Fill config widget,
o Shadow config widget,
o Opacity config widget.
The snap guide config widget has gone the opposite way and is now a docker.
This patch was co-written with: Jean-Nicolas Artaud
A big thank you, and also to Thomas Pfeiffer and Arjen Hiemstra for the ui discussions,
as well as numerous other people
REVIEW: 108569
File Changes
- /widgets
- libs/KoColorPopupButton.cpp
- libs/KoFillConfigWidget.cpp
- libs/KoFillConfigWidget.h
- libs/KoOpacityConfigWidget.cpp
- libs/KoResourcePopupAction.cpp
- libs/KoResourcePopupAction.h
- /dockers/strokedocker
- plugins/StrokeDocker.cpp
- plugins/StrokeDocker.h
- plugins/StrokeDockerFactory.cpp
- plugins/StrokeDockerFactory.h
- plugins/pics/CMakeLists.txt
- krita/CMakeLists.txt
- libs/basicflakes/CMakeLists.txt
- libs/main/KoModeBox.cpp
- libs/textlayout/KoTextLayoutRootAreaProvider.cpp
- libs/widgets/CMakeLists.txt
- libs/widgets/KoColorPopupAction.cpp
- libs/widgets/KoColorPopupAction.h
- libs/widgets/KoShadowConfigWidget.cpp
- libs/widgets/KoShadowConfigWidget.h
- libs/widgets/KoShadowConfigWidget.ui
- libs/widgets/KoStrokeConfigWidget.cpp
- libs/widgets/KoStrokeConfigWidget.h
- plugins/dockers/CMakeLists.txt
- plugins/dockers/Plugin.cpp
- karbon/ui/widgets/KarbonGradientEditWidget.cpp
- libs/basicflakes/tools/KoCreatePathTool.cpp
- libs/basicflakes/tools/KoPencilTool.cpp
- libs/basicflakes/tools/KoPencilTool.h
- libs/flake/tools/KoPathTool.cpp
- plugins/defaultTools/connectionTool/ConnectionTool.cpp
- plugins/defaultTools/defaulttool/DefaultTool.cpp
- plugins/dockers/shadowdocker/ShadowDocker.cpp
- plugins/dockers/shadowdocker/ShadowDocker.h
- plugins/dockers/styledocker/StrokeFillWidget.h
- karbon/plugins/tools/CalligraphyTool/KarbonCalligraphyOptionWidget.h
- karbon/plugins/tools/CalligraphyTool/KarbonCalligraphyTool.cpp
- karbon/plugins/tools/CalligraphyTool/KarbonCalligraphyTool.h