|
|
| 21:40 | KOffice | 579045 | jaham | 0 | do not compile encrypted store if qca is not there
| |
|
|
|
| 23:38 | KOffice | 576855 | jaham | 0 | - implemented KoPointPropertyCommand to change the KoPathPoint properties
- introduced a KoPointBaseCommand which stores the path shape of a command
and can repaint after altering the command (avoids code duplication)
- derive KoPointPropertyCommand and KoPointMoveCommand from KoPointBaseCommand
| |
| 22:18 | KOffice | 576833 | jaham | 5 | - implemented a KoPointMoveCommand for undo/redo path points moving
- added a KoPointType enum to KoPathPoint to identify the KoPathPoints parts
- fixed repainting after moving points
| |
| 20:07 | KOffice | 576795 | jaham | 0 | Let the KoPathShape::normalize function return the offset by which the points
are translated and use that to move the shape afterwards abd adjust the last
mouse position. No need to calculate the offset twice.
| |
|
|
|
| 20:28 | KOffice | 576333 | jaham | 0 | move the path point selection info into the tool as suggested by Thomas
| |
| 20:27 | KOffice | 576332 | jaham | 0 | move the path point selection info into the tool as suggested by Thomas
| |
| 17:50 | KOffice | 576287 | jaham | 4 | - the path points now paint themself
- added an IsSelected property to the path point
-> clicking an a path point selects it
-> only selected path points draw their control points
-> added function to select/deselect all points of a path
- sync last mouse after moving shape
- fixed some warnings in the path tool
| |
|
|
|
| 23:01 | KOffice | 575720 | jaham | 0 | introduce smooth and symmetric KoPathPoint properties and respect
them when editing the path. one can cycle through the unsmooth, smooth
and symmetric states by right clicking one a path point.
smooth == control points are one a line through the point
symmetric == like smooth but they have the same distance to the point
TODO: paint the path points differently depending on the smooth/symmetric state
| |
|
|
|
| 17:53 | KOffice | 575057 | jaham | 0 | return snapping state and unit from document
| |
| 12:37 | KOffice | 574858 | jaham | 0 | move baby, move!
Implemented basic moving of control points.
It lacks a corresponding command to undo/redo the
editing. Moving of smooth control points has to
be improved.
| |
|
|
|
| 22:51 | KOffice | 574408 | jaham | 0 | update canvas when the tool gets deactivated
| |
| 22:44 | KOffice | 574404 | jaham | 0 | * improve the edit path tool
- paint control points and lines between them
- added function to KoPathShape to return all path points within a given rectangle
- change cursor and color when mouse hovers over control point
- made size of control point handles resizable with i or ctrl+i
| |
| 16:23 | KOffice | 574290 | jaham | 0 | better fix for path outline drawing (patch by Thorsten Zachmann)
| |
|
|
|
| 22:08 | KOffice | 574044 | jaham | 0 | Start of a path editing tool which does nothing for now
but is already integrated into the tools framework.
The path tool and the path shape are manually registered
in their corresponding registries so they do not need to
be loaded dynamically.
| |
|
|
|
| 18:35 | KOffice | 573329 | jaham | 0 | add the shape selector as palette to choose the shape to create
with the shape create tool
| |
| 17:50 | KOffice | 573318 | jaham | 0 | - fix the KoPathShape::outline function to return a path with local position at 0,0
so the path is painted at the right position
- return a real shape from KoPathShapeFactory::createDefaultShape
| |
|
|
|
| 20:45 | KOffice | 571219 | jaham | 0 | ported grid drawing
| |
|
|
|
| 23:08 | KOffice | 570878 | jaham | 0 | implemented better zooming, use KoZoomAction
| |
|
|
|
| 15:32 | KOffice | 570050 | jaham | 0 | * the canvas now has a proper document origin != widget origin
| |
|
|
|
| 23:42 | KOffice | 569481 | jaham | 0 | SVN_SILENT removed unmatched painter.save
| |
| 23:39 | KOffice | 569480 | jaham | 0 | * made the canvas cover the whole scroll area and show a page frame
* added bounding box calculation to document and layer
The transformation of the shapes and the tools are somewhat broken now.
I have to find out where to fix that (KoZoomHandler comes to mind).
| |
| 23:19 | KOffice | 569477 | jaham | 0 | only remove size of scrollbar from the visible size if they are visible
| |
|
|
|
| 22:01 | KOffice | 568357 | jaham | 0 | ported purging command history
| |
| 21:37 | KOffice | 568349 | jaham | 0 | * extended KoShapeManager::shapeAt to return a shape out of the shapes at point based on its selection.
* extended KoShapeManager::shapesAt to optionally not return hidden shapes (KoShape::visible())
all the above is untested, but i have confidence that it works correct ;-)
| |
| 20:48 | KOffice | 568337 | jaham | 0 | extended KoShapeManager::shapeAt to optionally not return hidden shapes and improved documentation
| |
|
|
|
| 16:16 | KOffice | 567394 | jaham | 0 | assign a todo to me
| |
|
|
|
| 21:21 | KOffice | 566729 | jaham | 0 | the command takes care of repainting the shapes
| |
| 21:19 | KOffice | 566728 | jaham | 0 | repaint shapes after setting background as suggested by Thomas and Sven
| |
| 18:26 | KOffice | 566689 | jaham | 0 | * use a command for setting the selected shapes background
* port the updateAllViews( QRectF ) function and use that to repaint afterwards
| |
| 18:23 | KOffice | 566688 | jaham | 0 | added a new command for changing the background of shapes
| |
|
|
|
| 18:45 | KOffice | 566307 | jaham | 0 | one more todo and some updates and typo fixes
| |
|
|
|
| 22:19 | KOffice | 565958 | jaham | 0 | add some work packages toward the koffice 2.0 release to the todo
CCMAIL:tbscope@gmail.com
| |
|
|
|
| 22:54 | KOffice | 565638 | jaham | 0 | fix grouping and ungrouping of shapes
| |
| 22:50 | KOffice | 565636 | jaham | 0 | * fix selecting of shape groups by recursively adding group childs to the selection
| |
|
|
|
| 20:58 | KOffice | 565245 | jaham | 0 | - connect the view to the selection change signal
- update views when executing commands
- implemented grouping and ungrouping of shapes
| |
|
|
|
| 23:36 | KOffice | 564715 | jaham | 0 | replace VCommandHistory by KCommandHistory and make undo/redo do something
| |
|
|
|
| 22:53 | KOffice | 564359 | jaham | 0 | * bring new life to the color docker
- use the KoUniColorChooser for choosing the color
- change background color of actual selection
| |
| 22:01 | KOffice | 564333 | jaham | 0 | setCaption -> setWindowTitle
| |
|
|
|
| 22:32 | KOffice | 563953 | jaham | 0 | use id of first shape from shape registry for use in create shape tool
to avoid crashes if a hardcoded shape is not installed
| |
| 19:11 | KOffice | 563892 | jaham | 0 | temporary added some cmake modules to avoid checkout from kdebase
| |
| 00:04 | KOffice | 563612 | jaham | 0 | Karbon can now create shapes. Yay!
* vdocument contains now a list of all the existing shapes,
which i used by the shape managers for drawing
* vdocument is not longer a KoShapeController derived class but karbonpart is,
to have easier access to the shape manager of all the attached views
* to create shapes the shape id of the CreateShapeTool is set manually for now
* removed test code which added rectangle shapes from the layer shape
| |
|
|
|
| 23:47 | KOffice | 563609 | jaham | 0 | commented KoHsvWidget code out -> needs later porting to KoUniColorChooser
| |
|
|
|
| 18:00 | KOffice | 562416 | jaham | 0 | implement abstract function unit() in KarbonCanvas so karbon compile again
| |
|
|
|
| 20:40 | KOffice | 556292 | jaham | 0 | make it compile (removed dcop related includes)
| |
|
|
|
| 12:15 | KOffice | 554804 | jaham | 253 | porting to the new kdelibs-snapshot with dbus and kdialog
| |
|
|
|
| 22:15 | KOffice | 551199 | jaham | 0 | make it compile again
| |
|
|
|
| 19:57 | KOffice | 550451 | jaham | 0 | start of a layer shape, still a lot to do
| |
| 18:27 | KOffice | 550431 | jaham | 0 | fix drawing of childs
| |
|
|
|
| 18:44 | KOffice | 549207 | jaham | 0 | use the toolbox as a docker for now so we can use the default tool
| |
| 17:34 | KOffice | 549182 | jaham | 0 | don't crash if no tool is set
| |
|
|
|
| 15:24 | KOffice | 547851 | jaham | 0 | * made the canvas show something to play with
- added object list to the document and made the canvas use that list
- changed object list parameter to ctor and setObjects of KoShapeManager const
- added event handlers to the canvas
| |
|
|
|
| 21:46 | KOffice | 547651 | jaham | 0 | is line, and those below, will be ignored--
M vcolordocker.cc
| |
|
|
|
| 23:02 | KOffice | 547145 | jaham | 0 | port loading of tools but leave it disabled for now
| |
|
|
|
| 23:41 | KOffice | 546408 | jaham | 0 | less warnings
| |
| 22:35 | KOffice | 546399 | jaham | 0 | less warnings
| |
| 22:15 | KOffice | 546394 | jaham | 0 | less warnings
| |
| 21:52 | KOffice | 546387 | jaham | 0 | less deprecated warnings
| |
| 21:26 | KOffice | 546383 | jaham | 0 | less deprecated warnings
| |
|
|
|
| 18:25 | KOffice | 545994 | jaham | 0 | more i18n porting
| |
| 18:01 | KOffice | 545985 | jaham | 0 | i18n porting
| |
| 17:14 | KOffice | 545970 | jaham | 18741 | color porting
| |
| 16:34 | KOffice | 545961 | jaham | 0 | use string for predefined color
| |
| 16:11 | KOffice | 545953 | jaham | 0 | adapt to new ctor of KDoubleSpinBox
| |
|
|
|
| 14:14 | KOffice | 545432 | jaham | 0 | actually try to find libart before excluding karbon
| |
| 12:01 | KOffice | 545368 | jaham | 0 | * implement the KoShapeDeleteCommand (not yet tested)
* todo: it needs to be aware of refCounters of the shapes backend when we have them
| |
|
|
|
| 16:10 | KOffice | 533089 | jaham | 0 | moved comment and translations from 1.5 branch
| |
|
|
|
| 22:45 | KOffice | 521235 | jaham | 0 | * reverse vertical ruler so it matches our coordinate system
| |
| 22:03 | KOffice | 521225 | jaham | 0 | SVM_SILENT forgot this (removed some unused members)
| |
| 18:39 | KOffice | 521176 | jaham | 0 | * fix calculation of content position/offset and zoom factor
* some code cleanups
| |
|
|
|
| 15:38 | KOffice | 520346 | jaham | 0 | * fix drawing of vertical ruler when zoom is less than 100%
* some code cleanups
| |
| 14:35 | KOffice | 520314 | jaham | 0 | * update selection description in status bar when selecting object from layerbox
| |
| 13:51 | KOffice | 520231 | jaham | 0 | OASIS: more improvements/fixes
* handle draw:transform differently from svg:transform
* correctly save viewbox
| |
|
|
|
| 22:11 | KOffice | 519019 | jaham | 0 | * some more i18n changes
- better plural handling
- added some translation context
thanks go to Tom Albers for the help and patience
| |
| 17:55 | KOffice | 518946 | jaham | 0 | * some more i18n fixes on translator demand
* small fix for showing right text option dialog title (no new string)
CCMAIL:kde-i18n-doc@kde.org
CCBUG:123594
| |
|
|
|
| 21:25 | KOffice | 518697 | jaham | 0 | i18nified strings in vtexttool (thanks to Burkhard Lueck for the patch)
please don't kill me ;-)
BUG:123594
CCMAIL:kde-i18n-doc@kde.org
| |
|
|
|
| 13:09 | KOffice | 517888 | jaham | 0 | OASIS: fix style loading
| |
|
|
|
| 18:21 | KOffice | 516829 | jaham | 0 | fix sorting of layer listview
| |
|
|
|
| 22:40 | KOffice | 516387 | jaham | 0 | SVN_SILENT karbon bug
| |
| 22:38 | KOffice | 516386 | jaham | 0 | make shif-selection select inside groups too+
BUG:39138
| |
|
|
|
| 21:54 | KOffice | 515181 | jaham | 0 | * added new horizontal movement cursor to VCursor for use in VGradientWidget
* improved VGradientWidget
- fixed painting the widget
- replaced ramp point and mid point symbols by bigger ones
- fixed editing the gradient (picking, moving andd deleting)
- set different cursor when moving points around
* some small changes to VGradientTabWidget
- work on a copy of the gradient set by setGradient
- added new function gradient() to return the edited gradient
* only use a pointer to the actual gradient in VGradientPreview
| |
|
|
|
| 21:14 | KOffice | 514641 | jaham | 0 | some gradient tool improvements
* properly initialize gradient widget (target, opacity
* use opacity from gradient widget when previewing and for the result
| |
|
|
|
| 23:41 | KOffice | 513961 | jaham | 0 | SVN_SILENT update
| |
|
|
|
| 22:39 | KOffice | 513949 | jaham | 0 | more oasis improvements:
* fixed loading and saving of gradients
* fixed loading of ellipse (copy and paste is evil!)
* fixed saving of ellipse, rectangle and path
* made VStroke and VFill transformable
| |
|
|
|
| 19:12 | KOffice | 513277 | jaham | 0 | SVN_SILENT cleanup
| |
| 19:08 | KOffice | 513275 | jaham | 0 | SVN_SILENT karbon bugs
| |
| 18:57 | KOffice | 513273 | jaham | 0 | hack around the printing issues
The libart painter is used to draw into a pixmap, which then gets drawn by
a qpainter onto the printer device.
So we can print anything seen when drawing on screen. Fixed the scaling issues
from bug 119452 as well.
BUG:119452
BUG:99927
| |
|
|
|
| 22:41 | KOffice | 511820 | jaham | 0 | load object name from odf file
| |
|
|
|
| 20:31 | KOffice | 511438 | jaham | 0 | fix loading of line element from odf
| |
|
|
|
| 22:21 | KOffice | 511136 | jaham | 0 | some more odf loading improvements
* added support for loading polyline, polygon, line and custom-shapes (at least the simple ones)
* changed svgpathparser in koffice-lib to not get stuck in endless loop but stop parsing when unkown command is encountered
| |
| 16:27 | KOffice | 511039 | jaham | 0 | * undo my previous unintentional changes to the native VEllipse::load function
| |
| 14:52 | KOffice | 511026 | jaham | 0 | SVN_SILENT api docs
| |
|
|
|
| 21:47 | KOffice | 510752 | jaham | 0 | * some oasis loading improvements for groups, rectangle, ellipse/circle and path
| |
|
|
|
| 17:43 | KOffice | 509866 | jaham | 0 | added X-KDE-DefaultTab=true
BUG:121834
| |
| 17:40 | KOffice | 509865 | jaham | 0 | make template name translatable (thanks to Burkhard Lueck for the patch)
| |
|
|
|
| 22:57 | KOffice | 507765 | jaham | 0 | SVN_SILENT forgot one line
| |
| 22:54 | KOffice | 507763 | jaham | 0 | do _not_ return reference to local variable, fixes crash 120374
CCBUG:120374
| |
|
|
|
| 18:27 | KOffice | 506098 | jaham | 0 | * implemented tight selection of objects
| |
|
|
|
| 15:16 | KOffice | 503577 | jaham | 0 | repaint selection when activating the select tool
so that the selection handles and bounding box are shown
| |
| 15:01 | KOffice | 503567 | jaham | 0 | properly update the objects bounding box when moving bezier points
| |
|
|
|
| 23:40 | KOffice | 502698 | jaham | 0 | fixed crash mentioned in http://lists.kde.org/?l=koffice-devel&m=113822986718228&w=2
| |
|