Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
lifo
Nicolas Ollinger
OpenBoard
Commits
817b69fd
Commit
817b69fd
authored
Feb 12, 2014
by
-f
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scene objects no more indexed
parent
d4d5d38c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
10 deletions
+1
-10
UBSvgSubsetAdaptor.h
src/adaptors/UBSvgSubsetAdaptor.h
+0
-1
UBGraphicsScene.cpp
src/domain/UBGraphicsScene.cpp
+1
-6
UBGraphicsScene.h
src/domain/UBGraphicsScene.h
+0
-3
No files found.
src/adaptors/UBSvgSubsetAdaptor.h
View file @
817b69fd
...
@@ -86,7 +86,6 @@ class UBSvgSubsetAdaptor
...
@@ -86,7 +86,6 @@ class UBSvgSubsetAdaptor
static
const
QString
sFontWeightPrefix
;
static
const
QString
sFontWeightPrefix
;
static
const
QString
sFontStylePrefix
;
static
const
QString
sFontStylePrefix
;
static
QString
readTeacherGuideNode
(
int
sceneIndex
);
private
:
private
:
static
UBGraphicsScene
*
loadScene
(
UBDocumentProxy
*
proxy
,
const
QByteArray
&
pArray
);
static
UBGraphicsScene
*
loadScene
(
UBDocumentProxy
*
proxy
,
const
QByteArray
&
pArray
);
...
...
src/domain/UBGraphicsScene.cpp
View file @
817b69fd
...
@@ -307,7 +307,6 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
...
@@ -307,7 +307,6 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
,
mArcPolygonItem
(
0
)
,
mArcPolygonItem
(
0
)
,
mRenderingContext
(
Screen
)
,
mRenderingContext
(
Screen
)
,
mCurrentStroke
(
0
)
,
mCurrentStroke
(
0
)
,
mShouldUseOMP
(
true
)
,
mItemCount
(
0
)
,
mItemCount
(
0
)
,
mUndoRedoStackEnabled
(
enableUndoRedoStack
)
,
mUndoRedoStackEnabled
(
enableUndoRedoStack
)
,
magniferControlViewWidget
(
0
)
,
magniferControlViewWidget
(
0
)
...
@@ -318,11 +317,7 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
...
@@ -318,11 +317,7 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
,
mSelectionFrame
(
0
)
,
mSelectionFrame
(
0
)
{
{
UBCoreGraphicsScene
::
setObjectName
(
"BoardScene"
);
UBCoreGraphicsScene
::
setObjectName
(
"BoardScene"
);
#ifdef __ppc__
setItemIndexMethod
(
NoIndex
);
mShouldUseOMP
=
false
;
#elif defined(Q_WS_MAC)
mShouldUseOMP
=
QSysInfo
::
MacintoshVersion
>=
QSysInfo
::
MV_10_5
;
#endif
setUuid
(
QUuid
::
createUuid
());
setUuid
(
QUuid
::
createUuid
());
setDocument
(
parent
);
setDocument
(
parent
);
...
...
src/domain/UBGraphicsScene.h
View file @
817b69fd
...
@@ -413,13 +413,10 @@ public slots:
...
@@ -413,13 +413,10 @@ public slots:
UBGraphicsStroke
*
mCurrentStroke
;
UBGraphicsStroke
*
mCurrentStroke
;
bool
mShouldUseOMP
;
int
mItemCount
;
int
mItemCount
;
QList
<
QGraphicsItem
*>
mFastAccessItems
;
// a local copy as QGraphicsScene::items() is very slow in Qt 4.6
QList
<
QGraphicsItem
*>
mFastAccessItems
;
// a local copy as QGraphicsScene::items() is very slow in Qt 4.6
//int mMesure1Ms, mMesure2Ms;
bool
mHasCache
;
bool
mHasCache
;
// tmp stub for divide addings scene objects from undo mechanism implementation
// tmp stub for divide addings scene objects from undo mechanism implementation
...
...
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