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
38ea6466
Commit
38ea6466
authored
Jun 22, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Sankore/Sankore-3.1
parents
a9752aaf
ed89d1e8
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
437 additions
and
175 deletions
+437
-175
lgpl.txt
lgpl.txt
+432
-160
release.win7.vc9.bat
release.win7.vc9.bat
+3
-0
UBDocumentNavigator.cpp
src/gui/UBDocumentNavigator.cpp
+0
-8
UBLeftPalette.cpp
src/gui/UBLeftPalette.cpp
+1
-1
UBRightPalette.cpp
src/gui/UBRightPalette.cpp
+1
-1
UBThumbnailWidget.cpp
src/gui/UBThumbnailWidget.cpp
+0
-5
No files found.
lgpl.txt
View file @
38ea6466
This diff is collapsed.
Click to expand it.
release.win7.vc9.bat
View file @
38ea6466
...
...
@@ -65,6 +65,9 @@ copy %BASE_QT_TRANSLATIONS_DIRECTORY%\qt_*.qm build\win32\release\product\i18n\
mkdir build\win32\release\product\customizations
xcopy /s resources\customizations\* build\win32\release\product\customizations
copy plugins\cffadaptor\build\win32\release\lib\CFF_Adaptor.dll build\win32\release\product\
del build\win32\release\product\i18n\qt_help*
del "build\win32\release\product\Sankore.pdb"
...
...
src/gui/UBDocumentNavigator.cpp
View file @
38ea6466
...
...
@@ -264,14 +264,6 @@ void UBDocumentNavigator::resizeEvent(QResizeEvent *event)
// Update the thumbnails width
mThumbnailWidth
=
(
width
()
>
mThumbnailMinWidth
)
?
width
()
-
2
*
border
()
:
mThumbnailMinWidth
;
// Update the scene rect
// QRect sceneRect;
// sceneRect.setWidth(width() - 2*border());
// sceneRect.setHeight(height() - 2*border());
// sceneRect.moveLeft(border());
// sceneRect.moveTop(border());
// scene()->setSceneRect(sceneRect);
// Refresh the scene
refreshScene
();
}
...
...
src/gui/UBLeftPalette.cpp
View file @
38ea6466
...
...
@@ -45,7 +45,7 @@ UBLeftPalette::~UBLeftPalette()
*/
void
UBLeftPalette
::
updateMaxWidth
()
{
setMaximumWidth
(
270
);
setMaximumWidth
((
int
)(
parentWidget
()
->
width
()
*
0.45
)
);
}
/**
...
...
src/gui/UBRightPalette.cpp
View file @
38ea6466
...
...
@@ -69,7 +69,7 @@ void UBRightPalette::resizeEvent(QResizeEvent *event)
*/
void
UBRightPalette
::
updateMaxWidth
()
{
setMaximumWidth
((
int
)(
(
parentWidget
()
->
width
()
*
2
)
/
3
));
setMaximumWidth
((
int
)(
parentWidget
()
->
width
()
*
0.45
));
setMaximumHeight
(
parentWidget
()
->
height
());
setMinimumHeight
(
parentWidget
()
->
height
());
}
src/gui/UBThumbnailWidget.cpp
View file @
38ea6466
...
...
@@ -887,11 +887,6 @@ void UBImgTextThumbnailElement::Place(int row, int col, qreal width, qreal heigh
qreal
scaleFactor
=
qMin
(
scaleWidth
,
scaleHeight
);
UBThumbnail
*
pix
=
dynamic_cast
<
UBThumbnail
*>
(
this
->
thumbnail
);
if
(
pix
)
{
scaleFactor
=
qMin
(
scaleFactor
,
1.0
);
}
QTransform
transform
;
transform
.
scale
(
scaleFactor
,
scaleFactor
);
...
...
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