Revision 668864
Go back to digest for 3rd June 2007Features in Office
Thomas Zander committed changes in /trunk/koffice:
Introduce InputMethod to flake.
Qt allows you to enter text using X11's compose or things like chinese and it will then offer an QInputEvent to the widget. Which has to be shipped to the tool so it can respond properly.
This code allows us to handle input method events as well as provide a default implementation which maps them to keyevents (meaning all tools will automatically work).
TODO; alter the rest of the canvasses to forward the event and to do a setAttribute(Qt::WA_InputMethodEnabled, true);
File Changes
Modified 22 files
- /trunk/koffice
- /kformula/KFormulaCanvas.cpp
- /kformula/KFormulaCanvas.h
- /kspread/Canvas.cpp
- /kspread/Canvas.h
- /karbon/widgets/vcanvas.cc
- /karbon/widgets/vcanvas.h
- /krita/ui/kis_canvas2.cpp
- /krita/ui/kis_canvas2.h
- /krita/ui/kis_shape_layer_canvas.h
- /kword/part/KWCanvas.cpp
- /kword/part/KWCanvas.h
- /libs/flake/KoCanvasBase.h
- /libs/flake/KoInteractionTool.cpp
- /libs/flake/KoTool.cpp
- /libs/flake/KoTool.h
- /libs/flake/KoToolManager.cpp
- /libs/flake/KoToolProxy.cpp
- /libs/flake/KoToolProxy.h
- /libs/kopageapp/KoPACanvas.cpp
- /libs/kopageapp/KoPACanvas.h
- /libs/flake/tests/MockShapes.h
- /plugins/dockers/shapeselector/ShapeSelector.h
22 files changed in total