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
974926e2
Commit
974926e2
authored
Sep 09, 2011
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed issue
http://188.165.53.52/jira/browse/SANKORE-244
parent
d68abb81
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
UBSvgSubsetAdaptor.cpp
src/adaptors/UBSvgSubsetAdaptor.cpp
+4
-5
UB.h
src/core/UB.h
+1
-0
UBLibNavigatorWidget.cpp
src/gui/UBLibNavigatorWidget.cpp
+2
-0
UBGraphicsCache.h
src/tools/UBGraphicsCache.h
+6
-0
No files found.
src/adaptors/UBSvgSubsetAdaptor.cpp
View file @
974926e2
...
@@ -1058,7 +1058,6 @@ bool UBSvgSubsetAdaptor::UBSvgSubsetWriter::persistScene()
...
@@ -1058,7 +1058,6 @@ bool UBSvgSubsetAdaptor::UBSvgSubsetWriter::persistScene()
continue
;
continue
;
}
}
qDebug
()
<<
item
;
UBGraphicsCache
*
cache
=
qgraphicsitem_cast
<
UBGraphicsCache
*>
(
item
);
UBGraphicsCache
*
cache
=
qgraphicsitem_cast
<
UBGraphicsCache
*>
(
item
);
if
(
cache
&&
cache
->
isVisible
())
if
(
cache
&&
cache
->
isVisible
())
{
{
...
...
src/core/UB.h
View file @
974926e2
...
@@ -99,6 +99,7 @@ struct UBGraphicsItemType
...
@@ -99,6 +99,7 @@ struct UBGraphicsItemType
StrokeItemType
,
StrokeItemType
,
TriangleItemType
,
TriangleItemType
,
MagnifierItemType
,
MagnifierItemType
,
cacheItemType
};
};
};
};
...
...
src/gui/UBLibNavigatorWidget.cpp
View file @
974926e2
...
@@ -73,6 +73,8 @@ UBLibNavigatorWidget::UBLibNavigatorWidget(QWidget *parent, const char *name):QW
...
@@ -73,6 +73,8 @@ UBLibNavigatorWidget::UBLibNavigatorWidget(QWidget *parent, const char *name):QW
connect
(
libWidget
->
actionBar
(),
SIGNAL
(
searchElement
(
QString
)),
mLibWidget
,
SLOT
(
onSearchElement
(
QString
)));
connect
(
libWidget
->
actionBar
(),
SIGNAL
(
searchElement
(
QString
)),
mLibWidget
,
SLOT
(
onSearchElement
(
QString
)));
connect
(
libWidget
->
actionBar
(),
SIGNAL
(
newFolderToCreate
()),
mLibWidget
,
SLOT
(
onNewFolderToCreate
()));
connect
(
libWidget
->
actionBar
(),
SIGNAL
(
newFolderToCreate
()),
mLibWidget
,
SLOT
(
onNewFolderToCreate
()));
/*** to update the search bar **/
connect
(
mLibWidget
,
SIGNAL
(
itemClicked
()),
libWidget
->
actionBar
(),
SLOT
(
onItemChanged
()));
connect
(
mLibWidget
,
SIGNAL
(
itemClicked
()),
libWidget
->
actionBar
(),
SLOT
(
onItemChanged
()));
connect
(
mPathViewer
,
SIGNAL
(
mouseClick
(
UBChainedLibElement
*
)),
libWidget
->
actionBar
(),
SLOT
(
onItemChanged
()));
connect
(
mPathViewer
,
SIGNAL
(
mouseClick
(
UBChainedLibElement
*
)),
libWidget
->
actionBar
(),
SLOT
(
onItemChanged
()));
...
...
src/tools/UBGraphicsCache.h
View file @
974926e2
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneMouseEvent>
#include "domain/UBItem.h"
#include "domain/UBItem.h"
#include "core/UB.h"
#define CACHE_ZVALUE 100000
#define CACHE_ZVALUE 100000
...
@@ -33,6 +34,11 @@ class UBGraphicsCache : public QGraphicsRectItem, public UBItem
...
@@ -33,6 +34,11 @@ class UBGraphicsCache : public QGraphicsRectItem, public UBItem
public
:
public
:
UBGraphicsCache
();
UBGraphicsCache
();
~
UBGraphicsCache
();
~
UBGraphicsCache
();
enum
{
Type
=
UBGraphicsItemType
::
cacheItemType
};
virtual
int
type
()
const
{
return
Type
;}
virtual
UBItem
*
deepCopy
()
const
;
virtual
UBItem
*
deepCopy
()
const
;
QColor
maskColor
();
QColor
maskColor
();
...
...
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