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
c570dce9
Commit
c570dce9
authored
Feb 06, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing warning act 1
parent
22704ab8
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
10 deletions
+12
-10
UBExportFullPDF.cpp
src/adaptors/UBExportFullPDF.cpp
+0
-3
UBWidgetList.cpp
src/customWidgets/UBWidgetList.cpp
+2
-1
UBBase32.cpp
src/frameworks/UBBase32.cpp
+1
-1
UBDockPalette.h
src/gui/UBDockPalette.h
+1
-1
UBTBDocumentPreviewWidget.cpp
src/gui/UBTBDocumentPreviewWidget.cpp
+1
-1
UBTeacherBarDataMgr.cpp
src/gui/UBTeacherBarDataMgr.cpp
+2
-0
UBTeacherBarPreviewWidget.cpp
src/gui/UBTeacherBarPreviewWidget.cpp
+2
-0
UBYouTubePublisher.cpp
src/podcast/youtube/UBYouTubePublisher.cpp
+2
-1
UBOEmbedParser.cpp
src/web/UBOEmbedParser.cpp
+1
-1
WBSearchLineEdit.cpp
src/web/browser/WBSearchLineEdit.cpp
+0
-1
No files found.
src/adaptors/UBExportFullPDF.cpp
View file @
c570dce9
...
@@ -179,9 +179,6 @@ void UBExportFullPDF::persistsDocument(UBDocumentProxy* pDocumentProxy, const QS
...
@@ -179,9 +179,6 @@ void UBExportFullPDF::persistsDocument(UBDocumentProxy* pDocumentProxy, const QS
QString
pdfName
=
UBPersistenceManager
::
objectDirectory
+
"/"
+
pdfItem
->
fileUuid
().
toString
()
+
".pdf"
;
QString
pdfName
=
UBPersistenceManager
::
objectDirectory
+
"/"
+
pdfItem
->
fileUuid
().
toString
()
+
".pdf"
;
QString
backgroundPath
=
pDocumentProxy
->
persistencePath
()
+
"/"
+
pdfName
;
QString
backgroundPath
=
pDocumentProxy
->
persistencePath
()
+
"/"
+
pdfName
;
QPointF
boudingRectBottomLeft
=
scene
->
itemsBoundingRect
().
bottomLeft
();
QPointF
pdfItemBottomLeft
=
pdfItem
->
sceneBoundingRect
().
bottomLeft
();
qDebug
()
<<
"scene->itemsBoundingRect()"
<<
scene
->
itemsBoundingRect
();
qDebug
()
<<
"scene->itemsBoundingRect()"
<<
scene
->
itemsBoundingRect
();
qDebug
()
<<
"pdfItem->boundingRect()"
<<
pdfItem
->
boundingRect
();
qDebug
()
<<
"pdfItem->boundingRect()"
<<
pdfItem
->
boundingRect
();
qDebug
()
<<
"pdfItem->sceneBoundingRect()"
<<
pdfItem
->
sceneBoundingRect
();
qDebug
()
<<
"pdfItem->sceneBoundingRect()"
<<
pdfItem
->
sceneBoundingRect
();
...
...
src/customWidgets/UBWidgetList.cpp
View file @
c570dce9
...
@@ -5,12 +5,12 @@
...
@@ -5,12 +5,12 @@
#include "UBWidgetList.h"
#include "UBWidgetList.h"
UBWidgetList
::
UBWidgetList
(
QWidget
*
parent
,
eWidgetListOrientation
orientation
,
const
char
*
name
)
:
QScrollArea
(
parent
)
UBWidgetList
::
UBWidgetList
(
QWidget
*
parent
,
eWidgetListOrientation
orientation
,
const
char
*
name
)
:
QScrollArea
(
parent
)
,
mCanRemove
(
true
)
,
mpLayout
(
NULL
)
,
mpLayout
(
NULL
)
,
mpContainer
(
NULL
)
,
mpContainer
(
NULL
)
,
mMargin
(
5
)
,
mMargin
(
5
)
,
mListElementsSpacing
(
10
)
,
mListElementsSpacing
(
10
)
,
mpEmptyLabel
(
NULL
)
,
mpEmptyLabel
(
NULL
)
,
mCanRemove
(
true
)
,
mpCurrentWidget
(
NULL
)
,
mpCurrentWidget
(
NULL
)
{
{
setObjectName
(
name
);
setObjectName
(
name
);
...
@@ -134,6 +134,7 @@ void UBWidgetList::resizeEvent(QResizeEvent *ev)
...
@@ -134,6 +134,7 @@ void UBWidgetList::resizeEvent(QResizeEvent *ev)
void
UBWidgetList
::
mousePressEvent
(
QMouseEvent
*
ev
)
void
UBWidgetList
::
mousePressEvent
(
QMouseEvent
*
ev
)
{
{
Q_UNUSED
(
ev
);
if
(
mCanRemove
){
if
(
mCanRemove
){
}
}
...
...
src/frameworks/UBBase32.cpp
View file @
c570dce9
...
@@ -47,7 +47,7 @@ QByteArray UBBase32::decode(const QString& base32String)
...
@@ -47,7 +47,7 @@ QByteArray UBBase32::decode(const QString& base32String)
if
(
lookup
<
0
||
lookup
>=
80
)
if
(
lookup
<
0
||
lookup
>=
80
)
continue
;
continue
;
int
digit
=
sBase32Lookup
[
lookup
];
int
digit
=
sBase32Lookup
[
(
int
)
lookup
];
/* If this digit is not in the table, ignore it */
/* If this digit is not in the table, ignore it */
if
(
digit
==
0xFF
)
if
(
digit
==
0xFF
)
...
...
src/gui/UBDockPalette.h
View file @
c570dce9
...
@@ -191,8 +191,8 @@ private:
...
@@ -191,8 +191,8 @@ private:
void
resizeTabs
();
void
resizeTabs
();
private
:
private
:
UBTabDockPalete
*
mTabPalette
;
eUBDockPaletteType
mPaletteType
;
eUBDockPaletteType
mPaletteType
;
UBTabDockPalete
*
mTabPalette
;
};
};
#endif // UBDOCKPALETTE_H
#endif // UBDOCKPALETTE_H
src/gui/UBTBDocumentPreviewWidget.cpp
View file @
c570dce9
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
#include "UBTBDocumentPreviewWidget.h"
#include "UBTBDocumentPreviewWidget.h"
UBTBDocumentPreviewWidget
::
UBTBDocumentPreviewWidget
(
UBTeacherBarDataMgr
*
pDataMgr
,
QWidget
*
parent
,
const
char
*
name
)
:
QWidget
(
parent
)
UBTBDocumentPreviewWidget
::
UBTBDocumentPreviewWidget
(
UBTeacherBarDataMgr
*
pDataMgr
,
QWidget
*
parent
,
const
char
*
name
)
:
QWidget
(
parent
)
,
mpContainer
(
NULL
)
,
mpPageViewButton
(
NULL
)
,
mpPageViewButton
(
NULL
)
,
mpEditButton
(
NULL
)
,
mpEditButton
(
NULL
)
,
mpSessionLabel
(
NULL
)
,
mpSessionLabel
(
NULL
)
...
@@ -19,7 +20,6 @@ UBTBDocumentPreviewWidget::UBTBDocumentPreviewWidget(UBTeacherBarDataMgr *pDataM
...
@@ -19,7 +20,6 @@ UBTBDocumentPreviewWidget::UBTBDocumentPreviewWidget(UBTeacherBarDataMgr *pDataM
,
mpTopicLabel
(
NULL
)
,
mpTopicLabel
(
NULL
)
,
mpTopic
(
NULL
)
,
mpTopic
(
NULL
)
,
mpLicense
(
NULL
)
,
mpLicense
(
NULL
)
,
mpContainer
(
NULL
)
{
{
setObjectName
(
name
);
setObjectName
(
name
);
mpDataMgr
=
pDataMgr
;
mpDataMgr
=
pDataMgr
;
...
...
src/gui/UBTeacherBarDataMgr.cpp
View file @
c570dce9
...
@@ -74,6 +74,7 @@ void UBTeacherBarDataMgr::saveContent()
...
@@ -74,6 +74,7 @@ void UBTeacherBarDataMgr::saveContent()
void
UBTeacherBarDataMgr
::
loadContent
(
bool
docChanged
)
void
UBTeacherBarDataMgr
::
loadContent
(
bool
docChanged
)
{
{
Q_UNUSED
(
docChanged
);
clearLists
();
clearLists
();
UBDocumentProxy
*
documentProxy
=
UBApplication
::
boardController
->
activeDocument
();
UBDocumentProxy
*
documentProxy
=
UBApplication
::
boardController
->
activeDocument
();
...
@@ -132,6 +133,7 @@ void UBTeacherBarDataMgr::loadContent(bool docChanged)
...
@@ -132,6 +133,7 @@ void UBTeacherBarDataMgr::loadContent(bool docChanged)
// ------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------
UBTBSeparator
::
UBTBSeparator
(
QWidget
*
parent
,
const
char
*
name
)
:
QFrame
(
parent
)
UBTBSeparator
::
UBTBSeparator
(
QWidget
*
parent
,
const
char
*
name
)
:
QFrame
(
parent
)
{
{
Q_UNUSED
(
name
);
setObjectName
(
"UBTBSeparator"
);
setObjectName
(
"UBTBSeparator"
);
setMinimumHeight
(
5
);
setMinimumHeight
(
5
);
setMaximumHeight
(
5
);
setMaximumHeight
(
5
);
...
...
src/gui/UBTeacherBarPreviewWidget.cpp
View file @
c570dce9
...
@@ -37,6 +37,7 @@ void UBTeacherBarPreviewMedia::cleanMedia()
...
@@ -37,6 +37,7 @@ void UBTeacherBarPreviewMedia::cleanMedia()
void
UBTeacherBarPreviewMedia
::
loadWidgets
(
QList
<
QWidget
*>
pWidgetsList
,
bool
isResizable
)
void
UBTeacherBarPreviewMedia
::
loadWidgets
(
QList
<
QWidget
*>
pWidgetsList
,
bool
isResizable
)
{
{
Q_UNUSED
(
isResizable
);
foreach
(
QWidget
*
eachWidget
,
pWidgetsList
){
foreach
(
QWidget
*
eachWidget
,
pWidgetsList
){
mWidget
->
addWidget
(
eachWidget
);
mWidget
->
addWidget
(
eachWidget
);
mWidgetList
[
eachWidget
]
=
"DRAG UNAVAILABLE"
;
mWidgetList
[
eachWidget
]
=
"DRAG UNAVAILABLE"
;
...
@@ -362,6 +363,7 @@ void UBTeacherBarPreviewWidget::generateComments()
...
@@ -362,6 +363,7 @@ void UBTeacherBarPreviewWidget::generateComments()
void
UBTeacherBarPreviewWidget
::
showEvent
(
QShowEvent
*
ev
)
void
UBTeacherBarPreviewWidget
::
showEvent
(
QShowEvent
*
ev
)
{
{
Q_UNUSED
(
ev
);
updateFields
();
updateFields
();
}
}
src/podcast/youtube/UBYouTubePublisher.cpp
View file @
c570dce9
...
@@ -112,6 +112,7 @@ void UBYouTubePublisher::postClientLoginRequest(const QString& userName, const Q
...
@@ -112,6 +112,7 @@ void UBYouTubePublisher::postClientLoginRequest(const QString& userName, const Q
void
UBYouTubePublisher
::
postClientLoginResponse
(
bool
success
,
const
QByteArray
&
pPayload
)
void
UBYouTubePublisher
::
postClientLoginResponse
(
bool
success
,
const
QByteArray
&
pPayload
)
{
{
Q_UNUSED
(
success
);
mAuthToken
=
""
;
mAuthToken
=
""
;
QString
auth
=
QString
::
fromUtf8
(
pPayload
);
QString
auth
=
QString
::
fromUtf8
(
pPayload
);
...
@@ -136,7 +137,7 @@ void UBYouTubePublisher::postClientLoginResponse(bool success, const QByteArray&
...
@@ -136,7 +137,7 @@ void UBYouTubePublisher::postClientLoginResponse(bool success, const QByteArray&
if
(
mAuthToken
.
length
()
==
0
)
if
(
mAuthToken
.
length
()
==
0
)
{
{
UBApplication
::
showMessage
(
tr
(
"YouTube authentication failed."
));
UBApplication
::
showMessage
(
tr
(
"YouTube authentication failed."
));
success
=
false
;
//
success = false;
deleteLater
();
deleteLater
();
}
}
else
else
...
...
src/web/UBOEmbedParser.cpp
View file @
c570dce9
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
UBOEmbedParser
::
UBOEmbedParser
(
QObject
*
parent
,
const
char
*
name
)
UBOEmbedParser
::
UBOEmbedParser
(
QObject
*
parent
,
const
char
*
name
)
{
{
Q_UNUSED
(
parent
);
setObjectName
(
name
);
setObjectName
(
name
);
mParsedTitles
.
clear
();
mParsedTitles
.
clear
();
connect
(
this
,
SIGNAL
(
parseContent
(
QString
)),
this
,
SLOT
(
onParseContent
(
QString
)));
connect
(
this
,
SIGNAL
(
parseContent
(
QString
)),
this
,
SLOT
(
onParseContent
(
QString
)));
...
@@ -223,7 +224,6 @@ void UBOEmbedParser::onParseContent(QString url)
...
@@ -223,7 +224,6 @@ void UBOEmbedParser::onParseContent(QString url)
void
UBOEmbedParser
::
onFinished
(
QNetworkReply
*
reply
)
void
UBOEmbedParser
::
onFinished
(
QNetworkReply
*
reply
)
{
{
QNetworkReply
::
NetworkError
err
=
reply
->
error
();
if
(
QNetworkReply
::
NoError
==
reply
->
error
()){
if
(
QNetworkReply
::
NoError
==
reply
->
error
()){
QString
receivedDatas
=
reply
->
readAll
().
constData
();
QString
receivedDatas
=
reply
->
readAll
().
constData
();
sOEmbedContent
crntContent
;
sOEmbedContent
crntContent
;
...
...
src/web/browser/WBSearchLineEdit.cpp
View file @
c570dce9
...
@@ -75,7 +75,6 @@ void WBClearButton::paintEvent(QPaintEvent *event)
...
@@ -75,7 +75,6 @@ void WBClearButton::paintEvent(QPaintEvent *event)
int
height
=
this
->
height
();
int
height
=
this
->
height
();
painter
.
setRenderHint
(
QPainter
::
Antialiasing
,
true
);
painter
.
setRenderHint
(
QPainter
::
Antialiasing
,
true
);
QColor
color
=
palette
().
color
(
QPalette
::
Mid
);
painter
.
setBrush
(
isDown
()
painter
.
setBrush
(
isDown
()
?
palette
().
color
(
QPalette
::
Dark
)
?
palette
().
color
(
QPalette
::
Dark
)
:
palette
().
color
(
QPalette
::
Mid
));
:
palette
().
color
(
QPalette
::
Mid
));
...
...
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