Merge remote-tracking branch 'origin/release' into stable
Change-Id: Iaa321deb9e536ce89b87a337b57634f00c770a32
This commit is contained in:
commit
6bf6c12854
7
dist/changes-5.0.1
vendored
7
dist/changes-5.0.1
vendored
@ -22,6 +22,13 @@ information about a particular change.
|
||||
General Improvements
|
||||
--------------------
|
||||
|
||||
- Documentation:
|
||||
- Moved documentation under the correct module, fixed module identifiers
|
||||
- Cleanup of examples and their documentation
|
||||
- [QTBUG-28579] Fixed broken links to C++ class reference and examples
|
||||
for a number of modules in Qt Creator Help contents
|
||||
- Fixed incorrect or missing links, typos
|
||||
|
||||
Third party components
|
||||
----------------------
|
||||
|
||||
|
@ -39,7 +39,7 @@ HTML.footer = \
|
||||
"</div>\n" \
|
||||
"<div class=\"footer\">\n" \
|
||||
" <p>\n" \
|
||||
" <acronym title=\"Copyright\">©</acronym> 2012 Digia Plc and/or its\n" \
|
||||
" <acronym title=\"Copyright\">©</acronym> 2013 Digia Plc and/or its\n" \
|
||||
" subsidiaries. Documentation contributions included herein are the copyrights of\n" \
|
||||
" their respective owners.</p>\n" \
|
||||
" <br />\n" \
|
||||
|
@ -54,7 +54,7 @@ HTML.footer = \
|
||||
"</div>\n" \
|
||||
"<div class=\"footer\">\n" \
|
||||
" <p>\n" \
|
||||
" <acronym title=\"Copyright\">©</acronym> 2012 Digia Plc and/or its\n" \
|
||||
" <acronym title=\"Copyright\">©</acronym> 2013 Digia Plc and/or its\n" \
|
||||
" subsidiaries. Documentation contributions included herein are the copyrights of\n" \
|
||||
" their respective owners.</p>\n" \
|
||||
" <br />\n" \
|
||||
|
@ -7,7 +7,7 @@ include(compat.qdocconf)
|
||||
dita.metadata.default.author = Qt Project
|
||||
dita.metadata.default.permissions = all
|
||||
dita.metadata.default.publisher = Qt Project
|
||||
dita.metadata.default.copyryear = 2012
|
||||
dita.metadata.default.copyryear = 2013
|
||||
dita.metadata.default.copyrholder = Digia Plc
|
||||
dita.metadata.default.audience = programmer
|
||||
|
||||
|
@ -7,7 +7,7 @@ include(compat.qdocconf)
|
||||
dita.metadata.default.author = Qt Project
|
||||
dita.metadata.default.permissions = all
|
||||
dita.metadata.default.publisher = Qt Project
|
||||
dita.metadata.default.copyryear = 2012
|
||||
dita.metadata.default.copyryear = 2013
|
||||
dita.metadata.default.copyrholder = Digia Plc
|
||||
dita.metadata.default.audience = programmer
|
||||
|
||||
|
@ -50,7 +50,7 @@ int main(int argc, char *argv[])
|
||||
QApplication app(argc, argv);
|
||||
app.setApplicationName("cube");
|
||||
app.setApplicationVersion("0.1");
|
||||
#ifdef QT_NO_OPENGL
|
||||
#ifndef QT_NO_OPENGL
|
||||
MainWidget widget;
|
||||
widget.show();
|
||||
#else
|
||||
|
@ -37,6 +37,6 @@ exampledirs += \
|
||||
snippets \
|
||||
../../../examples/threads/ \
|
||||
../../../examples/tools/ \
|
||||
../../../examples/widgets/widgets/analogclock
|
||||
../../../examples/widgets/
|
||||
|
||||
imagedirs += images
|
||||
|
@ -230,7 +230,7 @@
|
||||
\row
|
||||
\li {2,1}
|
||||
|
||||
\snippet gui/analogclock/main.cpp 1
|
||||
\snippet analogclock/main.cpp 1
|
||||
|
||||
We translate the coordinate system so that point (0, 0) is in the
|
||||
widget's center, instead of being at the top-left corner. We also
|
||||
@ -244,7 +244,7 @@
|
||||
|
||||
See also the \l {Window-Viewport Conversion} section.
|
||||
|
||||
\snippet gui/analogclock/main.cpp 2
|
||||
\snippet analogclock/main.cpp 2
|
||||
|
||||
We draw the clock's hour hand by rotating the coordinate system
|
||||
and calling QPainter::drawConvexPolygon(). Thank's to the
|
||||
@ -259,14 +259,14 @@
|
||||
the code guarantees that the code that follows won't be disturbed
|
||||
by the transformations we've used.
|
||||
|
||||
\snippet gui/analogclock/main.cpp 3
|
||||
\snippet analogclock/main.cpp 3
|
||||
|
||||
We do the same for the clock's minute hand, which is defined by
|
||||
the four points (1, 0), (0, 1), (-1, 0), and (0, -40). These
|
||||
coordinates specify a hand that is thinner and longer than the
|
||||
minute hand.
|
||||
|
||||
\snippet gui/analogclock/main.cpp 4
|
||||
\snippet analogclock/main.cpp 4
|
||||
|
||||
Finally, we draw the clock face, which consists of twelve short
|
||||
lines at 30-degree intervals. At the end of that, the painter is
|
||||
|
Loading…
x
Reference in New Issue
Block a user