Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Krita
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Miguel Lopez
Krita
Commits
d1728b39
Commit
d1728b39
authored
May 26, 2006
by
Thomas Zander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exports...
svn path=/trunk/koffice/; revision=545132
parent
c53da730
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
40 additions
and
18 deletions
+40
-18
libs/flake/KoCommand.h
libs/flake/KoCommand.h
+7
-6
libs/flake/KoGfxEvent.h
libs/flake/KoGfxEvent.h
+3
-1
libs/flake/KoInsets.h
libs/flake/KoInsets.h
+3
-1
libs/flake/KoInteractionTool.h
libs/flake/KoInteractionTool.h
+3
-1
libs/flake/KoLineBorder.h
libs/flake/KoLineBorder.h
+3
-1
libs/flake/KoPathShape.h
libs/flake/KoPathShape.h
+2
-1
libs/flake/KoRectangleShape.h
libs/flake/KoRectangleShape.h
+3
-1
libs/flake/KoSelection.h
libs/flake/KoSelection.h
+3
-1
libs/flake/KoShapeBorderModel.h
libs/flake/KoShapeBorderModel.h
+3
-1
libs/flake/KoShapeContainer.h
libs/flake/KoShapeContainer.h
+4
-2
libs/flake/KoShapeGroup.h
libs/flake/KoShapeGroup.h
+3
-1
libs/flake/KoTool.h
libs/flake/KoTool.h
+3
-1
No files found.
libs/flake/KoCommand.h
View file @
d1728b39
...
...
@@ -21,6 +21,7 @@
#define KOCommand_h
#include <kcommand.h>
#include <koffice_export.h>
#include <KoSelection.h>
...
...
@@ -34,7 +35,7 @@ class KoShapeControllerInterface;
class
QString
;
/// The undo / redo command for shape moving.
class
KoShapeMoveCommand
:
public
KCommand
{
class
FLAKE_EXPORT
KoShapeMoveCommand
:
public
KCommand
{
public:
/**
* Constructor.
...
...
@@ -55,7 +56,7 @@ private:
};
/// The undo / redo command for shape rotating.
class
KoShapeRotateCommand
:
public
KCommand
{
class
FLAKE_EXPORT
KoShapeRotateCommand
:
public
KCommand
{
public:
/**
* Comand to rotate a selection of shapes. Note that it just alters the rotated
...
...
@@ -75,7 +76,7 @@ private:
};
/// The undo / redo command for shape sizing.
class
KoShapeSizeCommand
:
public
KCommand
{
class
FLAKE_EXPORT
KoShapeSizeCommand
:
public
KCommand
{
public:
KoShapeSizeCommand
(
const
KoSelectionSet
&
shapes
,
QList
<
QSizeF
>
&
previousSizes
,
QList
<
QSizeF
>
&
newSizes
);
void
execute
();
...
...
@@ -87,7 +88,7 @@ private:
};
/// The undo / redo command for grouping shapes
class
KoGroupShapesCommand
:
public
KCommand
{
class
FLAKE_EXPORT
KoGroupShapesCommand
:
public
KCommand
{
public:
/**
* Command to group a set of shapes into a predefined container.
...
...
@@ -117,7 +118,7 @@ protected:
};
/// The undo / redo command for ungrouping shapes
class
KoUngroupShapesCommand
:
public
KoGroupShapesCommand
{
class
FLAKE_EXPORT
KoUngroupShapesCommand
:
public
KoGroupShapesCommand
{
public:
/**
* Command to ungroup a set of shapes from one parent container.
...
...
@@ -131,7 +132,7 @@ public:
};
/// The undo / redo command for creating shapes
class
KoShapeCreateCommand
:
public
KCommand
{
class
FLAKE_EXPORT
KoShapeCreateCommand
:
public
KCommand
{
public:
KoShapeCreateCommand
(
KoShapeControllerInterface
*
controller
,
KoShape
*
shape
);
virtual
~
KoShapeCreateCommand
();
...
...
libs/flake/KoGfxEvent.h
View file @
d1728b39
...
...
@@ -23,11 +23,13 @@
#include <QMouseEvent>
#include <koffice_export.h>
/**
* The event used in Flake to have both the original (canvas based) position as
* well as the normalized position.
*/
class
KoGfxEvent
class
FLAKE_EXPORT
KoGfxEvent
{
public:
/**
...
...
libs/flake/KoInsets.h
View file @
d1728b39
...
...
@@ -20,10 +20,12 @@
#ifndef KOINSETS_H
#define KOINSETS_H
#include <koffice_export.h>
/**
* An Insets object is a representation of the borders of a shape.
*/
struct
KoInsets
{
struct
FLAKE_EXPORT
KoInsets
{
public:
/**
* Constructor.
...
...
libs/flake/KoInteractionTool.h
View file @
d1728b39
...
...
@@ -25,6 +25,8 @@
#include "KoTool.h"
#include "KoSelection.h"
#include <koffice_export.h>
class
KoInteractionStrategy
;
/**
...
...
@@ -34,7 +36,7 @@ class KoInteractionStrategy;
* XXX: Also transforms? Or better use a separate tool for that.
* XXX: We already have a moveTool; and 'default' does not say much about the class. What about renaming to KoSelectTool ? (TZ)
*/
class
KoInteractionTool
:
public
KoTool
class
FLAKE_EXPORT
KoInteractionTool
:
public
KoTool
{
public:
/**
...
...
libs/flake/KoLineBorder.h
View file @
d1728b39
...
...
@@ -23,6 +23,8 @@
#include "KoInsets.h"
#include "KoShapeBorderModel.h"
#include <koffice_export.h>
class
KoShape
;
class
QPainter
;
class
QColor
;
...
...
@@ -31,7 +33,7 @@ class KoViewConverter;
/**
* A border for shapes that draws a single line around the object.
*/
class
KoLineBorder
:
public
KoShapeBorderModel
{
class
FLAKE_EXPORT
KoLineBorder
:
public
KoShapeBorderModel
{
public:
/// Constructor for a thin line in black
KoLineBorder
();
...
...
libs/flake/KoPathShape.h
View file @
d1728b39
...
...
@@ -25,11 +25,12 @@ class KoSelection;
#include "KoShape.h"
#include <QPainterPath>
#include <koffice_export.h>
/**
* Example/test flake object that draws a Shape based on a path.
*/
class
KoPathShape
:
public
KoShape
class
FLAKE_EXPORT
KoPathShape
:
public
KoShape
{
public:
KoPathShape
();
...
...
libs/flake/KoRectangleShape.h
View file @
d1728b39
...
...
@@ -24,12 +24,14 @@
#include <KoShape.h>
#include <koffice_export.h>
class
QPainter
;
/**
* Simple Rectangle shape.
*/
class
KoRectangleShape
:
public
KoShape
class
FLAKE_EXPORT
KoRectangleShape
:
public
KoShape
{
public:
KoRectangleShape
();
...
...
libs/flake/KoSelection.h
View file @
d1728b39
...
...
@@ -29,6 +29,8 @@
#include "KoViewConverter.h"
#include "KoFlake.h"
#include <koffice_export.h>
typedef
QSet
<
KoShape
*>
KoSelectionSet
;
/**
...
...
@@ -44,7 +46,7 @@ typedef QSet<KoShape*> KoSelectionSet;
* A selection, however, should not be selectable. We need to think
* a little about the interaction here.
*/
class
KoSelection
:
public
QObject
,
public
KoShape
{
class
FLAKE_EXPORT
KoSelection
:
public
QObject
,
public
KoShape
{
Q_OBJECT
public:
...
...
libs/flake/KoShapeBorderModel.h
View file @
d1728b39
...
...
@@ -24,6 +24,8 @@
#include <QPainter>
#include <koffice_export.h>
class
KoShape
;
class
KoViewConverter
;
...
...
@@ -35,7 +37,7 @@ class KoViewConverter;
* and preferred behavior, to have one instance of a border that is reused on several
* objects.
*/
class
KoShapeBorderModel
{
class
FLAKE_EXPORT
KoShapeBorderModel
{
public:
KoShapeBorderModel
()
{};
virtual
~
KoShapeBorderModel
()
{};
...
...
libs/flake/KoShapeContainer.h
View file @
d1728b39
...
...
@@ -25,6 +25,8 @@
#include <QList>
#include <koffice_export.h>
class
QPainter
;
class
QPointF
;
...
...
@@ -35,7 +37,7 @@ class QPointF;
* for the KoShapeContainer.
* @see KoShapeContainer
*/
class
KoGraphicsContainerModel
{
class
FLAKE_EXPORT
KoGraphicsContainerModel
{
public:
/// default constructor
KoGraphicsContainerModel
()
{}
;
...
...
@@ -120,7 +122,7 @@ public:
* and the width of the individual columns gets too small, the model can choose to
* remove a child or add one when the width allows another column.
*/
class
KoShapeContainer
:
public
KoShape
{
class
FLAKE_EXPORT
KoShapeContainer
:
public
KoShape
{
public:
/**
* Default constructor; uses simple internal model.
...
...
libs/flake/KoShapeGroup.h
View file @
d1728b39
...
...
@@ -24,6 +24,8 @@
#include <QList>
#include <koffice_export.h>
/**
* Provide grouping for shapes.
* The group shape allows you to add children which will then be grouped in selections
...
...
@@ -35,7 +37,7 @@
* of them at the same time.
* <p>Note that while this object is also a shape, it is not actually visible.
*/
class
KoShapeGroup
:
public
KoShapeContainer
{
class
FLAKE_EXPORT
KoShapeGroup
:
public
KoShapeContainer
{
public:
/// Constructor
KoShapeGroup
();
...
...
libs/flake/KoTool.h
View file @
d1728b39
...
...
@@ -23,6 +23,8 @@
#include <QObject>
#include <QCursor>
#include <koffice_export.h>
class
KoCanvasBase
;
class
KoGfxEvent
;
class
KoViewConverter
;
...
...
@@ -43,7 +45,7 @@ class QPainter;
* It may be preferable to remove the tool system from flake and
* make it more general.
*/
class
KoTool
:
public
QObject
class
FLAKE_EXPORT
KoTool
:
public
QObject
{
Q_OBJECT
public:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment