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
e225cfea
Commit
e225cfea
authored
Oct 22, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release-candidate' of github.com:Sankore/Sankore-3.1 into release-candidate
parents
bd818d16
af26acc9
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
61 additions
and
2 deletions
+61
-2
Sankore 3.1.iss
Sankore 3.1.iss
+4
-0
Uniboard.css
resources/etc/Uniboard.css
+6
-1
xpdfrc
resources/windows/xpdfrc
+14
-0
UBSvgSubsetAdaptor.cpp
src/adaptors/UBSvgSubsetAdaptor.cpp
+11
-0
UBApplication.cpp
src/core/UBApplication.cpp
+10
-0
UBApplication.h
src/core/UBApplication.h
+2
-0
UBPreferencesController.cpp
src/core/UBPreferencesController.cpp
+9
-0
UBPreferencesController.h
src/core/UBPreferencesController.h
+4
-1
UBGraphicsScene.cpp
src/domain/UBGraphicsScene.cpp
+1
-0
No files found.
Sankore 3.1.iss
View file @
e225cfea
...
...
@@ -91,6 +91,10 @@ Source: "c:\OpenSankore\plugins\mediaservice\qtmedia_audioengined.dll"; DestDir:
Source: "c:\OpenSankore\plugins\playlistformats\qtmultimediakit_m3u.dll"; DestDir: "c:\OpenSankore\plugins\playlistformats"; Flags: ignoreversion
Source: "c:\OpenSankore\plugins\playlistformats\qtmultimediakit_m3ud.dll"; DestDir: "c:\OpenSankore\plugins\playlistformats"; Flags: ignoreversion
;fonts for xpdf
Source: "resources\windows\xpdfrc"; DestDir: "{app}"; Flags: ignoreversion
Source: "resources\fonts\*"; DestDir: "{app}\fonts"; Flags: ignoreversion
[Icons]
Name: "{group}\Open-Sankor"; Filename: "{app}\Open-Sankore.exe"
Name: "{group}\{cm:UninstallProgram,Open-Sankor}"; Filename: "{uninstallexe}"
...
...
resources/etc/Uniboard.css
View file @
e225cfea
*
QWidget
:enabled
{
color
:
#3F3F3F
;
}
QWidget
:disabled
{
color
:
#AAAAAA
;
}
QTextEdit
,
...
...
resources/windows/xpdfrc
0 → 100644
View file @
e225cfea
fontFile Times-Roman fonts/n021003l.pfb
fontFile Times-Italic fonts/n021023l.pfb
fontFile Times-Bold fonts/n021004l.pfb
fontFile Times-BoldItalic fonts/n021024l.pfb
fontFile Helvetica fonts/n019003l.pfb
fontFile Helvetica-Oblique fonts/n019023l.pfb
fontFile Helvetica-Bold fonts/n019004l.pfb
fontFile Helvetica-BoldOblique fonts/n019024l.pfb
fontFile Courier fonts/n022003l.pfb
fontFile Courier-Oblique fonts/n022023l.pfb
fontFile Courier-Bold fonts/n022004l.pfb
fontFile Courier-BoldOblique fonts/n022024l.pfb
fontFile Symbol fonts/s050000l.pfb
fontFile ZapfDingbats fonts/d050000l.pfb
\ No newline at end of file
src/adaptors/UBSvgSubsetAdaptor.cpp
View file @
e225cfea
...
...
@@ -1693,6 +1693,7 @@ void UBSvgSubsetAdaptor::UBSvgSubsetWriter::polygonItemToSvgPolygon(UBGraphicsPo
QString
points
=
pointsToSvgPointsAttribute
(
polygon
);
mXmlWriter
.
writeAttribute
(
"points"
,
points
);
mXmlWriter
.
writeAttribute
(
"transform"
,
toSvgTransform
(
polygonItem
->
sceneMatrix
()));
mXmlWriter
.
writeAttribute
(
"fill"
,
polygonItem
->
brush
().
color
().
name
());
qreal
alpha
=
polygonItem
->
brush
().
color
().
alphaF
();
...
...
@@ -1781,6 +1782,16 @@ UBGraphicsPolygonItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::polygonItemFromPol
polygonItem
->
setPolygon
(
polygon
);
QStringRef
svgTransform
=
mXmlReader
.
attributes
().
value
(
"transform"
);
QMatrix
itemMatrix
;
if
(
!
svgTransform
.
isNull
())
{
itemMatrix
=
fromSvgTransform
(
svgTransform
.
toString
());
polygonItem
->
setMatrix
(
itemMatrix
);
}
QStringRef
svgFill
=
mXmlReader
.
attributes
().
value
(
"fill"
);
QColor
brushColor
=
pDefaultColor
;
...
...
src/core/UBApplication.cpp
View file @
e225cfea
...
...
@@ -55,6 +55,7 @@
#include "frameworks/UBCryptoUtils.h"
#include "tools/UBToolsManager.h"
#include "UBDisplayManager.h"
#include "core/memcheck.h"
QPointer
<
QUndoStack
>
UBApplication
::
undoStack
;
...
...
@@ -378,9 +379,18 @@ int UBApplication::exec(const QString& pFileToImport)
else
applicationController
->
showBoard
();
onScreenCountChanged
(
1
);
connect
(
desktop
(),
SIGNAL
(
screenCountChanged
(
int
)),
this
,
SLOT
(
onScreenCountChanged
(
int
)));
return
QApplication
::
exec
();
}
void
UBApplication
::
onScreenCountChanged
(
int
newCount
)
{
Q_UNUSED
(
newCount
);
UBDisplayManager
displayManager
;
mainWindow
->
actionMultiScreen
->
setEnabled
(
displayManager
.
numScreens
()
>
1
);
}
void
UBApplication
::
importUniboardFiles
()
{
mUniboardSankoreTransition
=
new
UniboardSankoreTransition
();
...
...
src/core/UBApplication.h
View file @
e225cfea
...
...
@@ -117,6 +117,8 @@ class UBApplication : public QtSingleApplication
#endif
void
importUniboardFiles
();
void
onScreenCountChanged
(
int
newCount
);
private
:
void
updateProtoActionsState
();
void
setupTranslators
(
QStringList
args
);
...
...
src/core/UBPreferencesController.cpp
View file @
e225cfea
...
...
@@ -64,9 +64,12 @@ UBPreferencesController::UBPreferencesController(QWidget *parent)
,
mPenProperties
(
0
)
,
mMarkerProperties
(
0
)
{
mDesktop
=
qApp
->
desktop
();
mPreferencesWindow
=
new
UBPreferencesDialog
(
this
,
parent
,
Qt
::
Dialog
);
mPreferencesUI
=
new
Ui
::
preferencesDialog
();
// deleted in
mPreferencesUI
->
setupUi
(
mPreferencesWindow
);
adjustScreens
(
1
);
connect
(
mDesktop
,
SIGNAL
(
screenCountChanged
(
int
)),
this
,
SLOT
(
adjustScreens
(
int
)));
wire
();
}
...
...
@@ -83,6 +86,12 @@ UBPreferencesController::~UBPreferencesController()
delete
mMarkerProperties
;
}
void
UBPreferencesController
::
adjustScreens
(
int
screen
)
{
Q_UNUSED
(
screen
);
UBDisplayManager
displayManager
;
mPreferencesUI
->
multiDisplayGroupBox
->
setEnabled
(
displayManager
.
numScreens
()
>
1
);
}
void
UBPreferencesController
::
show
()
{
...
...
src/core/UBPreferencesController.h
View file @
e225cfea
...
...
@@ -85,12 +85,15 @@ class UBPreferencesController : public QObject
void
onCommunityPasswordChanged
();
void
onCommunityPersistenceChanged
();
private
:
private
slots
:
void
adjustScreens
(
int
screen
);
private
:
static
qreal
sSliderRatio
;
static
qreal
sMinPenWidth
;
static
qreal
sMaxPenWidth
;
void
persistanceCheckboxUpdate
();
QDesktopWidget
*
mDesktop
;
};
...
...
src/domain/UBGraphicsScene.cpp
View file @
e225cfea
...
...
@@ -287,6 +287,7 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
mShouldUseOMP
=
QSysInfo
::
MacintoshVersion
>=
QSysInfo
::
MV_10_5
;
#endif
setUuid
(
QUuid
::
createUuid
());
setDocument
(
parent
);
createEraiser
();
createPointer
();
...
...
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