agriche
530d432f67
Merge branch 'dev' of https://github.com/DIP-SEM/OpenBoard into dev
9 years ago
agriche
bc27f484c8
The document explains all encountered issues testing.
9 years ago
agriche
f9522147ab
- Update the UBBoardView, UBGraphicsTextItem and the UBGraphicsMediaItem classes from the last
...
update repository.
9 years ago
agriche
37565b81a3
- minor updated files.
9 years ago
agriche
4db18c9b4a
- Replace phonon framework by Qmultimedia classes(QMediPlayer...)
9 years ago
agriche
39cc2fdce1
- Update the Compiler tools (SDK + MVSC2010 )
9 years ago
agriche
2de4a5d017
- Add minor changes.
9 years ago
agriche
d8b95f456b
- Update minor changes.
9 years ago
agriche
698eb87585
- new updated files
9 years ago
Craig Watson
7a4e9d2e83
Removed UBGraphicsPolygonItem::shape()
...
Long version:
UBGraphicsPolygonItem::shape() sometimes caused OpenBoard to crash due to
inifinite recursion. This is easily replicated by trying to use the
highlighting tool.
The reason is: shape() calls boundingRect(); this function's definition is:
QRectF QGraphicsPolygonItem::boundingRect() const
{
Q_D(const QGraphicsPolygonItem);
if (d->boundingRect.isNull()) {
qreal pw = pen().style() == Qt::NoPen ? qreal(0) : pen().widthF();
if (pw == 0.0)
d->boundingRect = d->polygon.boundingRect();
else
d->boundingRect = shape().controlPointRect();
}
return d->boundingRect;
}
In the case where pw != 0, the shape() function is called. However, it
is shape() from the derived class, not the base class, which is called.
In other words, UBGraphicsPolygonItem::shape() is called rather than
QGraphicsPolygonItem::shape().
This means that boundingRect() is called again from within shape(), and
so on, causing the program to crash.
The fix was simply to remove UBGraphicsPolygonItem::shape(), as it
appears to provide the same (or very similar) functionality to that of
the base class's shape() function.
In case this shape() function actually is needed, another workaround
should be implemented to prevent this infinite recursion.
9 years ago
Craig Watson
72d43788da
Corrected signal/slot connection (signal function header changed)
9 years ago
agriche
cdc0311a6e
The document list all changes on deprecated files.
9 years ago
Craig Watson
5d46891984
Removed Linux-specific define (didn't work; the function wasn't defined when compiling on Linux, for some reason)
9 years ago
Craig Watson
1727264325
Removed obsolete setGraphicsSystem call (may break functionality; if so, use QPA framework)
9 years ago
Craig Watson
89c0813e52
Added missing includes
9 years ago
Craig Watson
cdb56333f3
Replaced Phonon with QtMultimedia
9 years ago
Craig Watson
bedf11cc2d
Updated Q_WS_* env variables.
...
Q_WS_MACX -> Q_OS_OSX
Q_WS_MAC -> Q_OS_OSX
Q_WS_WIN -> Q_OS_WIN
Q_WS_X11 -> Q_OS_LINUX
9 years ago
Craig Watson
55dd0450ff
More minor updates (function names changed, includes added, etc)
9 years ago
Craig Watson
b78cc08318
Added loadAcquire() to get int value of QAtomicInt variables. (Was previously done automatically with the operatorint() of QAtomicInt)
9 years ago
Craig Watson
4a7854e03b
Corrected paths for inclusion of pdf-merger files into project (relative paths in .pri didn't work)
9 years ago
Craig Watson
a2c2c2c4e1
Updated geometric functions (transform, scale, rotate) for Qt5 comp.
9 years ago
Craig Watson
4b15c535ec
minor compatibility updates (added missing headers, simple function name changes etc)
9 years ago
Craig Watson
a060459e1a
Removed obsolete QHttp functions; added new checkUpdate() and associated functions
9 years ago
Craig Watson
087738d5c0
Minor updates (includes, changes in function names)
9 years ago
Craig Watson
1b4cca3a39
Updated connect functions
9 years ago
Craig Watson
2484e96bcf
Changes to message handler function; removal of obsolete setCodecForTr functions
9 years ago
Craig Watson
4a99febbb0
added 'supportedDragActions' function to replace functionality provided by 'setSupportedDragActions' function (obsolete)
9 years ago
Craig Watson
c49d4ed7da
Replaced QDesktopServices (obsolete) with QStandardPaths
9 years ago
Craig Watson
26f6de7851
Minor compatibility updates (strings etc; missing includes)
9 years ago
Craig Watson
d97feb57ef
Added includes for Qt5 compatibility
9 years ago
Craig Watson
92a07e8243
added includes for Qt5 compatibility
9 years ago
Craig Watson
42eb05560b
Removed deprecated QPlastiqueStyle. Replaced by stock Fusion style (new in Qt5). Change this to keep the custom look defined in UBStyle?
9 years ago
Craig Watson
385ac60ccf
added includes for Qt5 compatibility
9 years ago
Craig Watson
55e1850b7c
replaced trolltech QtSingleApplication by Qt5-compatible equivalent
9 years ago
Claudio Valerio
134e87f606
Added GETypoLibre.otf
10 years ago
Claudio Valerio
56c866f573
Merge branch 'SEM-WithoutDocumentMode' of 62.2.114.190:/home/git/git/OpenBoardPrivate into SEM-WithoutDocumentMode
10 years ago
Claudio Valerio
2ee0eb793f
Mac Os X : Defined variable for conditional build
10 years ago
Claudio Valerio
9ca81f964a
increased version
10 years ago
Claudio Valerio
a9db6c44b0
introduced the possibility to choose the wanted on screen keyboard
10 years ago
Claudio Valerio
4781a9bfc2
hack for onboard
10 years ago
Claudio Valerio
5d4ce4b511
version upgraded
10 years ago
Claudio Valerio
7cd7af2de4
when page is deleted the pictures are deleted too
10 years ago
Claudio Valerio
4b00016ca7
upgraded version
10 years ago
Claudio Valerio
05676074f0
Merge branch 'SEM-WithoutDocumentMode' of 62.2.114.190:/home/git/git/OpenBoardPrivate into SEM-WithoutDocumentMode
10 years ago
Claudio Valerio
e51a783b74
fixed dnd on document mode
10 years ago
Claudio Valerio
8b7eb179b7
updated version
10 years ago
Claudio Valerio
dd6a41fde3
fixed duplication issue
10 years ago
Claudio Valerio
2ac76bd3bd
upgraded version
10 years ago
Claudio Valerio
8f89afbd54
fixed issue of images imported on document mode with the import button
10 years ago
Claudio Valerio
9df8c0f823
removed bad fix. Duplication of imported image
10 years ago