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
d3ca55c9
Commit
d3ca55c9
authored
May 16, 2013
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some unused signals
parent
b2c05d49
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
2 additions
and
45 deletions
+2
-45
UBBoardController.cpp
src/board/UBBoardController.cpp
+1
-9
UBBoardController.h
src/board/UBBoardController.h
+1
-3
UBBoardPaletteManager.cpp
src/board/UBBoardPaletteManager.cpp
+0
-7
UBBoardPaletteManager.h
src/board/UBBoardPaletteManager.h
+0
-5
UBApplication.cpp
src/core/UBApplication.cpp
+0
-2
UBDocumentProxy.cpp
src/document/UBDocumentProxy.cpp
+0
-2
UBDocumentProxy.h
src/document/UBDocumentProxy.h
+0
-3
UBGraphicsScene.cpp
src/domain/UBGraphicsScene.cpp
+0
-2
UBGraphicsScene.h
src/domain/UBGraphicsScene.h
+0
-4
UBCachePropertiesWidget.cpp
src/gui/UBCachePropertiesWidget.cpp
+0
-5
UBCachePropertiesWidget.h
src/gui/UBCachePropertiesWidget.h
+0
-3
No files found.
src/board/UBBoardController.cpp
View file @
d3ca55c9
...
...
@@ -1888,10 +1888,7 @@ void UBBoardController::updateSystemScaleFactor()
}
if
(
mSystemScaleFactor
!=
newScaleFactor
)
{
mSystemScaleFactor
=
newScaleFactor
;
emit
systemScaleFactorChanged
(
newScaleFactor
);
}
UBGraphicsScene
::
SceneViewState
viewState
=
mActiveScene
->
viewState
();
...
...
@@ -1956,13 +1953,8 @@ void UBBoardController::setPageSize(QSize newSize)
void
UBBoardController
::
notifyCache
(
bool
visible
)
{
if
(
visible
)
{
emit
cacheEnabled
();
}
else
{
emit
cacheDisabled
();
}
mCacheWidgetIsEnabled
=
visible
;
}
...
...
src/board/UBBoardController.h
View file @
d3ca55c9
...
...
@@ -149,7 +149,7 @@ class UBBoardController : public UBDocumentContainer
void
setBoxing
(
QRect
displayRect
);
void
setToolbarTexts
();
static
QUrl
expandWidgetToTempDir
(
const
QByteArray
&
pZipedData
,
const
QString
&
pExtension
=
QString
(
"wgt"
));
// static QRect freeRectInGlobalPos() const {return ;}
void
setPageSize
(
QSize
newSize
);
UBBoardPaletteManager
*
paletteManager
()
{
...
...
@@ -239,12 +239,10 @@ class UBBoardController : public UBDocumentContainer
void
newPageAdded
();
void
activeSceneChanged
();
void
zoomChanged
(
qreal
pZoomFactor
);
void
systemScaleFactorChanged
(
qreal
pSystemScaleFactor
);
void
penColorChanged
();
void
controlViewportChanged
();
void
backgroundChanged
();
void
cacheEnabled
();
void
cacheDisabled
();
void
documentReorganized
(
int
index
);
void
displayMetadata
(
QMap
<
QString
,
QString
>
metadata
);
void
pageSelectionChanged
(
int
index
);
...
...
src/board/UBBoardPaletteManager.cpp
View file @
d3ca55c9
...
...
@@ -821,8 +821,6 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
if
(
!
isInit
)
UBApplication
::
boardController
->
notifyPageChanged
();
emit
signal_changeMode
(
newMode
);
}
void
UBBoardPaletteManager
::
addItem
(
const
QPixmap
&
pPixmap
,
const
QPointF
&
pos
,
qreal
scaleFactor
,
const
QUrl
&
sourceUrl
)
...
...
@@ -970,11 +968,6 @@ void UBBoardPaletteManager::changeStylusPaletteOrientation(QVariant var)
}
void
UBBoardPaletteManager
::
connectToDocumentController
()
{
emit
connectToDocController
();
}
void
UBBoardPaletteManager
::
refreshPalettes
()
{
mRightPalette
->
update
();
...
...
src/board/UBBoardPaletteManager.h
View file @
d3ca55c9
...
...
@@ -64,7 +64,6 @@ class UBBoardPaletteManager : public QObject
UBActionPalette
*
addItemPalette
()
{
return
mAddItemPalette
;}
void
showVirtualKeyboard
(
bool
show
=
true
);
void
initPalettesPosAtStartup
();
void
connectToDocumentController
();
void
refreshPalettes
();
UBKeyboardPalette
*
mKeyboardPalette
;
...
...
@@ -79,10 +78,6 @@ class UBBoardPaletteManager : public QObject
void
startDownloads
();
void
stopDownloads
();
signals
:
void
connectToDocController
();
void
signal_changeMode
(
eUBDockPaletteWidgetMode
newMode
);
public
slots
:
void
activeSceneChanged
();
...
...
src/core/UBApplication.cpp
View file @
d3ca55c9
...
...
@@ -317,8 +317,6 @@ int UBApplication::exec(const QString& pFileToImport)
webController
=
new
UBWebController
(
mainWindow
);
documentController
=
new
UBDocumentController
(
mainWindow
);
boardController
->
paletteManager
()
->
connectToDocumentController
();
UBDrawingController
::
drawingController
()
->
setStylusTool
((
int
)
UBStylusTool
::
Pen
);
applicationController
=
new
UBApplicationController
(
boardController
->
controlView
(),
...
...
src/document/UBDocumentProxy.cpp
View file @
d3ca55c9
...
...
@@ -188,8 +188,6 @@ void UBDocumentProxy::setDefaultDocumentSize(QSize pSize)
if
(
defaultDocumentSize
()
!=
pSize
)
{
setMetaData
(
UBSettings
::
documentSize
,
QVariant
(
pSize
));
emit
defaultDocumentSizeChanged
();
mIsModified
=
true
;
}
}
...
...
src/document/UBDocumentProxy.h
View file @
d3ca55c9
...
...
@@ -76,9 +76,6 @@ class UBDocumentProxy : public QObject
int
incPageCount
();
int
decPageCount
();
signals
:
void
defaultDocumentSizeChanged
();
private
:
void
init
();
...
...
src/domain/UBGraphicsScene.cpp
View file @
d3ca55c9
...
...
@@ -2075,11 +2075,9 @@ void UBGraphicsScene::setNominalSize(const QSize& pSize)
if
(
nominalSize
()
!=
pSize
)
{
mNominalSize
=
pSize
;
emit
pageSizeChanged
();
if
(
mDocument
)
mDocument
->
setDefaultDocumentSize
(
pSize
);
}
}
...
...
src/domain/UBGraphicsScene.h
View file @
d3ca55c9
...
...
@@ -339,10 +339,6 @@ public slots:
void
zoomOutMagnifier
();
void
resizedMagnifier
(
qreal
newPercent
);
signals
:
void
pageSizeChanged
();
protected
:
UBGraphicsPolygonItem
*
lineToPolygonItem
(
const
QLineF
&
pLine
,
const
qreal
&
pWidth
);
...
...
src/gui/UBCachePropertiesWidget.cpp
View file @
d3ca55c9
...
...
@@ -241,11 +241,6 @@ void UBCachePropertiesWidget::onCloseClicked()
UBApplication
::
boardController
->
activeScene
()
->
removeItem
(
mpCurrentCache
);
mpCurrentCache
=
NULL
;
if
(
mCaches
.
empty
())
{
emit
cacheListEmpty
();
}
emit
hideTab
(
this
);
}
}
...
...
src/gui/UBCachePropertiesWidget.h
View file @
d3ca55c9
...
...
@@ -52,9 +52,6 @@ public:
public
slots
:
void
updateCurrentCache
();
signals
:
void
cacheListEmpty
();
private
slots
:
void
onCloseClicked
();
void
updateCacheColor
(
QColor
color
);
...
...
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