Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Krita
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mathias Wein
Krita
Commits
0fc3b409
Commit
0fc3b409
authored
Apr 02, 2007
by
David Faure
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile, link
svn path=/trunk/koffice/; revision=649643
parent
c7f9ecd9
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
20 additions
and
20 deletions
+20
-20
libs/flake/KoCreateShapeStrategy.cpp
libs/flake/KoCreateShapeStrategy.cpp
+1
-1
libs/flake/KoInteractionStrategy.cpp
libs/flake/KoInteractionStrategy.cpp
+1
-1
libs/flake/KoInteractionTool.cpp
libs/flake/KoInteractionTool.cpp
+8
-8
libs/flake/KoParameterShape.cpp
libs/flake/KoParameterShape.cpp
+2
-2
libs/flake/KoPathShape.cpp
libs/flake/KoPathShape.cpp
+1
-1
libs/kofficecore/KoContainerHandler.cpp
libs/kofficecore/KoContainerHandler.cpp
+1
-1
libs/kofficecore/KoFrame.cpp
libs/kofficecore/KoFrame.cpp
+2
-2
libs/kofficecore/KoMainWindow.cpp
libs/kofficecore/KoMainWindow.cpp
+1
-1
libs/kofficeui/KoContextHelp.cpp
libs/kofficeui/KoContextHelp.cpp
+1
-1
libs/kwmf/CMakeLists.txt
libs/kwmf/CMakeLists.txt
+2
-2
No files found.
libs/flake/KoCreateShapeStrategy.cpp
View file @
0fc3b409
...
...
@@ -115,7 +115,7 @@ void KoCreateShapeStrategy::paint( QPainter &painter, KoViewConverter &converter
if
(
painter
.
hasClipping
())
paintRect
=
paintRect
.
intersect
(
painter
.
clipRegion
().
boundingRect
());
painter
.
set
World
Matrix
(
matrix
,
true
);
painter
.
setMatrix
(
matrix
,
true
);
painter
.
drawPath
(
m_outline
);
painter
.
restore
();
}
...
...
libs/flake/KoInteractionStrategy.cpp
View file @
0fc3b409
...
...
@@ -86,7 +86,7 @@ KoInteractionStrategy* KoInteractionStrategy::createStrategy(KoPointerEvent *eve
return
new
KoShapeMoveStrategy
(
parent
,
canvas
,
event
->
point
);
}
KoShape
*
object
(
shapeManager
->
shapeAt
(
event
->
point
,
(
event
->
modifiers
()
&
Qt
::
Shift
Button
)
?
KoFlake
::
NextUnselected
:
KoFlake
::
ShapeOnTop
)
);
KoShape
*
object
(
shapeManager
->
shapeAt
(
event
->
point
,
(
event
->
modifiers
()
&
Qt
::
Shift
Modifier
)
?
KoFlake
::
NextUnselected
:
KoFlake
::
ShapeOnTop
)
);
if
(
!
object
&&
handle
==
KoFlake
::
NoHandle
)
{
if
(
(
event
->
modifiers
()
&
Qt
::
ControlModifier
)
==
0
)
{
...
...
libs/flake/KoInteractionTool.cpp
View file @
0fc3b409
...
...
@@ -101,14 +101,14 @@ KoInteractionTool::KoInteractionTool( KoCanvasBase *canvas )
d
->
shearCursors
[
5
]
=
QCursor
(
shearPixmap
.
transformed
(
QMatrix
().
rotate
(
225
)));
d
->
shearCursors
[
6
]
=
QCursor
(
shearPixmap
.
transformed
(
QMatrix
().
rotate
(
270
)));
d
->
shearCursors
[
7
]
=
QCursor
(
shearPixmap
.
transformed
(
QMatrix
().
rotate
(
315
)));
d
->
sizeCursors
[
0
]
=
KCursor
::
sizeVerCursor
()
;
d
->
sizeCursors
[
1
]
=
KCursor
::
sizeBDiagCursor
()
;
d
->
sizeCursors
[
2
]
=
KCursor
::
sizeHorCursor
()
;
d
->
sizeCursors
[
3
]
=
KCursor
::
sizeFDiagCursor
()
;
d
->
sizeCursors
[
4
]
=
KCursor
::
sizeVerCursor
()
;
d
->
sizeCursors
[
5
]
=
KCursor
::
sizeBDiagCursor
()
;
d
->
sizeCursors
[
6
]
=
KCursor
::
sizeHorCursor
()
;
d
->
sizeCursors
[
7
]
=
KCursor
::
sizeFDiagCursor
()
;
d
->
sizeCursors
[
0
]
=
Qt
::
SizeVerCursor
;
d
->
sizeCursors
[
1
]
=
Qt
::
SizeBDiagCursor
;
d
->
sizeCursors
[
2
]
=
Qt
::
SizeHorCursor
;
d
->
sizeCursors
[
3
]
=
Qt
::
SizeFDiagCursor
;
d
->
sizeCursors
[
4
]
=
Qt
::
SizeVerCursor
;
d
->
sizeCursors
[
5
]
=
Qt
::
SizeBDiagCursor
;
d
->
sizeCursors
[
6
]
=
Qt
::
SizeHorCursor
;
d
->
sizeCursors
[
7
]
=
Qt
::
SizeFDiagCursor
;
}
KoInteractionTool
::~
KoInteractionTool
()
...
...
libs/flake/KoParameterShape.cpp
View file @
0fc3b409
...
...
@@ -82,7 +82,7 @@ void KoParameterShape::paintHandles( QPainter & painter, const KoViewConverter &
QMatrix
worldMatrix
=
painter
.
worldMatrix
();
painter
.
setMatrix
(
QMatrix
()
);
Q
W
Matrix
matrix
;
QMatrix
matrix
;
matrix
.
rotate
(
45.0
);
QPolygonF
poly
(
handleRect
(
QPointF
(
0
,
0
),
handleRadius
)
);
poly
=
matrix
.
map
(
poly
);
...
...
@@ -104,7 +104,7 @@ void KoParameterShape::paintHandle( QPainter & painter, const KoViewConverter &
QMatrix
worldMatrix
=
painter
.
worldMatrix
();
painter
.
setMatrix
(
QMatrix
()
);
Q
W
Matrix
matrix
;
QMatrix
matrix
;
matrix
.
rotate
(
45.0
);
QPolygonF
poly
(
handleRect
(
QPointF
(
0
,
0
),
handleRadius
)
);
poly
=
matrix
.
map
(
poly
);
...
...
libs/flake/KoPathShape.cpp
View file @
0fc3b409
...
...
@@ -236,7 +236,7 @@ void KoPathPoint::paint( QPainter &painter, const QSizeF &size, KoPointTypes typ
painter
.
drawRect
(
handle
.
translated
(
point
()
)
);
else
if
(
properties
()
&
IsSymmetric
)
{
Q
W
Matrix
matrix
;
QMatrix
matrix
;
matrix
.
rotate
(
45.0
);
QPolygonF
poly
(
handle
);
poly
=
matrix
.
map
(
poly
);
...
...
libs/kofficecore/KoContainerHandler.cpp
View file @
0fc3b409
...
...
@@ -345,7 +345,7 @@ bool KoContainerHandler::eventFilter( QObject*, QEvent* ev )
else
if
(
gadget
==
KoChild
::
MidLeft
||
gadget
==
KoChild
::
MidRight
)
targetWidget
->
setCursor
(
Qt
::
SizeHorCursor
);
else
if
(
gadget
==
KoChild
::
Move
)
targetWidget
->
setCursor
(
KCursor
::
handCursor
()
);
targetWidget
->
setCursor
(
Qt
::
PointingHandCursor
);
else
{
// targetWidget->setCursor( arrowCursor );
...
...
libs/kofficecore/KoFrame.cpp
View file @
0fc3b409
...
...
@@ -342,10 +342,10 @@ void KoFrame::mouseMoveEvent( QMouseEvent* ev )
else
if
(
r7
.
contains
(
ev
->
pos
()
)
||
r8
.
contains
(
ev
->
pos
()
)
)
setCursor
(
Qt
::
SizeHorCursor
);
else
setCursor
(
KCursor
::
handCursor
()
);
setCursor
(
Qt
::
PointingHandCursor
);
}
else
setCursor
(
KCursor
::
handCursor
()
);
setCursor
(
Qt
::
PointingHandCursor
);
}
void
KoFrame
::
mouseReleaseEvent
(
QMouseEvent
*
)
...
...
libs/kofficecore/KoMainWindow.cpp
View file @
0fc3b409
...
...
@@ -1339,7 +1339,7 @@ void KoMainWindow::slotConfigureToolbars()
{
if
(
rootDocument
())
saveMainWindowSettings
(
KGlobal
::
config
()
->
group
(
rootDocument
()
->
componentData
().
componentName
()
)
);
KEditToolBar
edit
(
factory
(),
QString
(),
this
);
KEditToolBar
edit
(
factory
(),
this
);
connect
(
&
edit
,
SIGNAL
(
newToolbarConfig
()),
this
,
SLOT
(
slotNewToolbarConfig
()));
(
void
)
edit
.
exec
();
}
...
...
libs/kofficeui/KoContextHelp.cpp
View file @
0fc3b409
...
...
@@ -254,7 +254,7 @@ void KoHelpView::mouseReleaseEvent( QMouseEvent* e )
void
KoHelpView
::
mouseMoveEvent
(
QMouseEvent
*
e
)
{
if
(
!
currentText
->
anchorAt
(
e
->
pos
()
).
isEmpty
()
)
setCursor
(
KCursor
::
handCursor
()
);
setCursor
(
Qt
::
PointingHandCursor
);
else
setCursor
(
KCursor
::
arrowCursor
()
);
}
// KoHelpView::mouseMove
...
...
libs/kwmf/CMakeLists.txt
View file @
0fc3b409
...
...
@@ -11,7 +11,7 @@ kde4_automoc(${kwmf_LIB_SRCS})
kde4_add_library
(
kwmf SHARED
${
kwmf_LIB_SRCS
}
)
target_link_libraries
(
kwmf
${
KDE4_KDECORE_LIBS
}
)
target_link_libraries
(
kwmf
${
KDE4_KDECORE_LIBS
}
${
QT_QTGUI_LIBRARY
}
)
set_target_properties
(
kwmf PROPERTIES VERSION
${
GENERIC_KOFFICE_LIB_VERSION
}
SOVERSION
${
GENERIC_KOFFICE_LIB_SOVERSION
}
)
install
(
TARGETS kwmf DESTINATION
${
LIB_INSTALL_DIR
}
)
...
...
@@ -30,7 +30,7 @@ kde4_automoc(${kowmf_LIB_SRCS})
kde4_add_library
(
kowmf SHARED
${
kowmf_LIB_SRCS
}
)
target_link_libraries
(
kowmf
${
KDE4_KDECORE_LIBS
}
${
QT_QT3SUPPORT_LIBRARY
}
)
target_link_libraries
(
kowmf
${
KDE4_KDECORE_LIBS
}
${
QT_QT
GUI_LIBRARY
}
${
QT_QT
3SUPPORT_LIBRARY
}
)
set_target_properties
(
kowmf PROPERTIES VERSION
${
GENERIC_KOFFICE_LIB_VERSION
}
SOVERSION
${
GENERIC_KOFFICE_LIB_SOVERSION
}
)
install
(
TARGETS kowmf DESTINATION
${
LIB_INSTALL_DIR
}
)
...
...
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