diff --git a/doc/src/images/analogclock-example.png b/doc/src/images/analogclock-example.png index b195f8bf24b..2319c2891b2 100644 Binary files a/doc/src/images/analogclock-example.png and b/doc/src/images/analogclock-example.png differ diff --git a/doc/src/images/calculator-example.png b/doc/src/images/calculator-example.png index 6f1158d7338..9771c4132ad 100644 Binary files a/doc/src/images/calculator-example.png and b/doc/src/images/calculator-example.png differ diff --git a/doc/src/images/calendarwidgetexample.png b/doc/src/images/calendarwidgetexample.png index 464be909996..407d9ed46c0 100644 Binary files a/doc/src/images/calendarwidgetexample.png and b/doc/src/images/calendarwidgetexample.png differ diff --git a/doc/src/images/charactermap-example.png b/doc/src/images/charactermap-example.png index c1f25a5b837..cceb9a85d8e 100644 Binary files a/doc/src/images/charactermap-example.png and b/doc/src/images/charactermap-example.png differ diff --git a/doc/src/images/codeeditor-example.png b/doc/src/images/codeeditor-example.png index b17640695d6..32cf94779f7 100644 Binary files a/doc/src/images/codeeditor-example.png and b/doc/src/images/codeeditor-example.png differ diff --git a/doc/src/images/digitalclock-example.png b/doc/src/images/digitalclock-example.png index 917035a0f08..21fa33b2587 100644 Binary files a/doc/src/images/digitalclock-example.png and b/doc/src/images/digitalclock-example.png differ diff --git a/doc/src/images/groupbox-example.png b/doc/src/images/groupbox-example.png index 443f8123402..56f95fa8b1d 100644 Binary files a/doc/src/images/groupbox-example.png and b/doc/src/images/groupbox-example.png differ diff --git a/doc/src/images/imageviewer-example.png b/doc/src/images/imageviewer-example.png index 69b4f7ade7d..922aa8b92ca 100644 Binary files a/doc/src/images/imageviewer-example.png and b/doc/src/images/imageviewer-example.png differ diff --git a/doc/src/images/lineedits-example.png b/doc/src/images/lineedits-example.png index ff5e3184ad5..6db951cd4a6 100644 Binary files a/doc/src/images/lineedits-example.png and b/doc/src/images/lineedits-example.png differ diff --git a/doc/src/images/movie-example.png b/doc/src/images/movie-example.png index 713f56347ec..81f2cdd6ef7 100644 Binary files a/doc/src/images/movie-example.png and b/doc/src/images/movie-example.png differ diff --git a/doc/src/images/scribble-example.png b/doc/src/images/scribble-example.png index 54091baa6b7..497865e44cd 100644 Binary files a/doc/src/images/scribble-example.png and b/doc/src/images/scribble-example.png differ diff --git a/doc/src/images/spinboxes-example.png b/doc/src/images/spinboxes-example.png index 14c42d24041..432ff10a9b6 100644 Binary files a/doc/src/images/spinboxes-example.png and b/doc/src/images/spinboxes-example.png differ diff --git a/doc/src/images/styles-enabledwood.png b/doc/src/images/styles-enabledwood.png index 168c1d2d2c0..4f3a746ef92 100644 Binary files a/doc/src/images/styles-enabledwood.png and b/doc/src/images/styles-enabledwood.png differ diff --git a/doc/src/images/tetrix-example.png b/doc/src/images/tetrix-example.png index c9764dcccd5..2c3dade3948 100644 Binary files a/doc/src/images/tetrix-example.png and b/doc/src/images/tetrix-example.png differ diff --git a/doc/src/images/wiggly-example.png b/doc/src/images/wiggly-example.png index b20fbc445d3..5ac0d856b3f 100644 Binary files a/doc/src/images/wiggly-example.png and b/doc/src/images/wiggly-example.png differ diff --git a/doc/src/images/windowflags-example.png b/doc/src/images/windowflags-example.png index 9028b9b0d10..89730bcc7e9 100644 Binary files a/doc/src/images/windowflags-example.png and b/doc/src/images/windowflags-example.png differ diff --git a/examples/widgets/desktop/systray/doc/images/systemtray-editor.png b/examples/widgets/desktop/systray/doc/images/systemtray-editor.png index fb15dea8cb5..f7c23db28a9 100644 Binary files a/examples/widgets/desktop/systray/doc/images/systemtray-editor.png and b/examples/widgets/desktop/systray/doc/images/systemtray-editor.png differ diff --git a/examples/widgets/desktop/systray/doc/src/systray.qdoc b/examples/widgets/desktop/systray/doc/src/systray.qdoc index b89fed72e02..fe397f83df4 100644 --- a/examples/widgets/desktop/systray/doc/src/systray.qdoc +++ b/examples/widgets/desktop/systray/doc/src/systray.qdoc @@ -32,7 +32,8 @@ \brief The System Tray Icon example shows how to add an icon with a menu and popup messages to a desktop environment's system tray. - \image systemtray-example.png Screenshot of the System Tray Icon. + \borderedimage systemtray-example.png + \caption Screenshot of the System Tray Icon Modern operating systems usually provide a special area on the desktop, called the system tray or notification area, where @@ -42,7 +43,7 @@ the main application window (i.e., an editor for the system tray icon) and the associated icon. - \image systemtray-editor.png + \borderedimage systemtray-editor.png The editor allows the user to choose the preferred icon as well as set the balloon message's type and duration. The user can also diff --git a/examples/widgets/doc/images/systemtray-editor.png b/examples/widgets/doc/images/systemtray-editor.png index fb15dea8cb5..f7c23db28a9 100644 Binary files a/examples/widgets/doc/images/systemtray-editor.png and b/examples/widgets/doc/images/systemtray-editor.png differ diff --git a/examples/widgets/doc/src/analogclock.qdoc b/examples/widgets/doc/src/analogclock.qdoc index d59f9070c5c..ff65f977308 100644 --- a/examples/widgets/doc/src/analogclock.qdoc +++ b/examples/widgets/doc/src/analogclock.qdoc @@ -32,7 +32,8 @@ \brief The Analog Clock example shows how to draw the contents of a custom widget. - \image analogclock-example.png Screenshot of the Analog Clock example + \borderedimage analogclock-example.png + \caption Screenshot of the Analog Clock example This example also demonstrates how the transformation and scaling features of QPainter can be used to make drawing custom widgets diff --git a/examples/widgets/doc/src/calculator.qdoc b/examples/widgets/doc/src/calculator.qdoc index 4ee1248e6c3..83d85a7fe8c 100644 --- a/examples/widgets/doc/src/calculator.qdoc +++ b/examples/widgets/doc/src/calculator.qdoc @@ -33,7 +33,8 @@ functionality of a calculator widget, and how to use QGridLayout to place child widgets in a grid. - \image calculator-example.png Screenshot of the Calculator example + \borderedimage calculator-example.png + \caption Screenshot of the Calculator example The example consists of two classes: @@ -370,6 +371,7 @@ QSizePolicy::Expanding in the constructor and if we didn't reimplement QWidget::sizeHint(). - \image calculator-ugly.png The Calculator example with default size policies and size hints + \borderedimage calculator-ugly.png + \caption The Calculator example with default size policies and size hints */ diff --git a/examples/widgets/doc/src/calendarwidget.qdoc b/examples/widgets/doc/src/calendarwidget.qdoc index 8ab73668cf4..c2d86d830c2 100644 --- a/examples/widgets/doc/src/calendarwidget.qdoc +++ b/examples/widgets/doc/src/calendarwidget.qdoc @@ -31,7 +31,7 @@ \ingroup examples-widgets \brief The Calendar Widget example shows use of QCalendarWidget. - \image calendarwidgetexample.png + \borderedimage calendarwidgetexample.png QCalendarWidget displays one calendar month at a time and lets the user select a date. diff --git a/examples/widgets/doc/src/charactermap.qdoc b/examples/widgets/doc/src/charactermap.qdoc index ec6a2c6fe3a..3cf4a1210b2 100644 --- a/examples/widgets/doc/src/charactermap.qdoc +++ b/examples/widgets/doc/src/charactermap.qdoc @@ -38,7 +38,8 @@ copied into the clipboard, and pasted into other applications. The purpose behind this sort of tool is to allow users to enter characters that may be unavailable or difficult to locate on their keyboards. -\image charactermap-example.png Screenshot of the Character Map example +\borderedimage charactermap-example.png +\caption Screenshot of the Character Map example The example consists of the following classes: diff --git a/examples/widgets/doc/src/codeeditor.qdoc b/examples/widgets/doc/src/codeeditor.qdoc index bcc3564eb98..7f09f4bba0a 100644 --- a/examples/widgets/doc/src/codeeditor.qdoc +++ b/examples/widgets/doc/src/codeeditor.qdoc @@ -32,7 +32,7 @@ \brief The Code Editor example shows how to create a simple editor that has line numbers and that highlights the current line. - \image codeeditor-example.png + \borderedimage codeeditor-example.png As can be seen from the image, the editor displays the line numbers in an area to the left of the area for editing. The editor diff --git a/examples/widgets/doc/src/digitalclock.qdoc b/examples/widgets/doc/src/digitalclock.qdoc index aa0d898ec96..aff349adb8e 100644 --- a/examples/widgets/doc/src/digitalclock.qdoc +++ b/examples/widgets/doc/src/digitalclock.qdoc @@ -32,7 +32,8 @@ \brief The Digital Clock example shows how to use QLCDNumber to display a number with LCD-like digits. - \image digitalclock-example.png Screenshot of the Digital Clock example + \borderedimage digitalclock-example.png + \caption Screenshot of the Digital Clock example This example also demonstrates how QTimer can be used to update a widget at regular intervals. diff --git a/examples/widgets/doc/src/groupbox.qdoc b/examples/widgets/doc/src/groupbox.qdoc index d567f57272c..b9da2f05f42 100644 --- a/examples/widgets/doc/src/groupbox.qdoc +++ b/examples/widgets/doc/src/groupbox.qdoc @@ -40,7 +40,7 @@ Group boxes are usually used to organize check boxes and radio buttons into exclusive groups. - \image groupbox-example.png + \borderedimage groupbox-example.png The Group Boxes example consists of a single \c Window class that is used to show four group boxes: an exclusive radio button group, diff --git a/examples/widgets/doc/src/imageviewer.qdoc b/examples/widgets/doc/src/imageviewer.qdoc index 02fc4cd56f9..91b63853568 100644 --- a/examples/widgets/doc/src/imageviewer.qdoc +++ b/examples/widgets/doc/src/imageviewer.qdoc @@ -44,7 +44,8 @@ can be used to implement zooming and scaling features. In addition the example shows how to use QPainter to print an image. - \image imageviewer-example.png Screenshot of the Image Viewer example + \borderedimage imageviewer-example.png + \caption Screenshot of the Image Viewer example With the Image Viewer application, the users can view an image of their choice. The \uicontrol File menu gives the user the possibility diff --git a/examples/widgets/doc/src/lineedits.qdoc b/examples/widgets/doc/src/lineedits.qdoc index 906ec769621..5cf321bbb1c 100644 --- a/examples/widgets/doc/src/lineedits.qdoc +++ b/examples/widgets/doc/src/lineedits.qdoc @@ -34,7 +34,7 @@ on the input and output supplied by the user. - \image lineedits-example.png + \borderedimage lineedits-example.png The example consists of a single \c Window class, containing a selection of line edits with different input constraints and display properties that can be diff --git a/examples/widgets/doc/src/movie.qdoc b/examples/widgets/doc/src/movie.qdoc index a5c06ce93aa..2363383ffe8 100644 --- a/examples/widgets/doc/src/movie.qdoc +++ b/examples/widgets/doc/src/movie.qdoc @@ -36,5 +36,5 @@ a simple animation without the added complexity of a multimedia framework to install and deploy. - \image movie-example.png + \borderedimage movie-example.png */ diff --git a/examples/widgets/doc/src/shapedclock.qdoc b/examples/widgets/doc/src/shapedclock.qdoc index 9e21e519feb..2e5d8b14968 100644 --- a/examples/widgets/doc/src/shapedclock.qdoc +++ b/examples/widgets/doc/src/shapedclock.qdoc @@ -32,7 +32,7 @@ \brief The Shaped Clock example shows how to apply a widget mask to a top-level widget to produce a shaped window. - \image shapedclock-example.png + \borderedimage shapedclock-example.png Widget masks are used to customize the shapes of top-level widgets by restricting the available area for painting. On some window systems, setting certain window flags diff --git a/examples/widgets/doc/src/sliders.qdoc b/examples/widgets/doc/src/sliders.qdoc index b8ef2ace393..eb9a932c76a 100644 --- a/examples/widgets/doc/src/sliders.qdoc +++ b/examples/widgets/doc/src/sliders.qdoc @@ -43,7 +43,8 @@ The example also demonstrates how signals and slots can be used to synchronize the behavior of two or more widgets. - \image sliders-example.png Screenshot of the Sliders example + \borderedimage sliders-example.png + \caption Screenshot of the Sliders example The Sliders example consists of two classes: diff --git a/examples/widgets/doc/src/spinboxes.qdoc b/examples/widgets/doc/src/spinboxes.qdoc index 2be6321782a..4478ce12d24 100644 --- a/examples/widgets/doc/src/spinboxes.qdoc +++ b/examples/widgets/doc/src/spinboxes.qdoc @@ -33,7 +33,7 @@ spin boxes available in Qt, from a simple QSpinBox widget to more complex editors like the QDateTimeEdit widget. - \image spinboxes-example.png + \borderedimage spinboxes-example.png The example consists of a single \c Window class that is used to display the different spin box-based widgets available with Qt. diff --git a/examples/widgets/doc/src/styles.qdoc b/examples/widgets/doc/src/styles.qdoc index abab595434a..4fea8f3bfc5 100644 --- a/examples/widgets/doc/src/styles.qdoc +++ b/examples/widgets/doc/src/styles.qdoc @@ -32,7 +32,8 @@ \brief The Styles example illustrates how to create custom widget drawing styles using Qt, and demonstrates Qt's predefined styles. - \image styles-enabledwood.png Screenshot of the Styles example + \borderedimage styles-enabledwood.png + \caption Screenshot of the Styles example A style in Qt is a subclass of QStyle or of one of its subclasses. Styles perform drawing on behalf of widgets. Qt diff --git a/examples/widgets/doc/src/stylesheet.qdoc b/examples/widgets/doc/src/stylesheet.qdoc index de330ce1310..0016836f0dd 100644 --- a/examples/widgets/doc/src/stylesheet.qdoc +++ b/examples/widgets/doc/src/stylesheet.qdoc @@ -31,6 +31,7 @@ \ingroup examples-widgets \brief The Style Sheet Example shows how to use style sheets. - \image stylesheet-pagefold.png Screen Shot of the Pagefold style sheet + \borderedimage stylesheet-pagefold.png + \caption Screen Shot of the Pagefold style sheet */ diff --git a/examples/widgets/doc/src/tetrix.qdoc b/examples/widgets/doc/src/tetrix.qdoc index 12aa23606ba..ddcf95013b2 100644 --- a/examples/widgets/doc/src/tetrix.qdoc +++ b/examples/widgets/doc/src/tetrix.qdoc @@ -31,7 +31,7 @@ \ingroup examples-widgets \brief The Tetrix example is a Qt version of the classic Tetrix game. - \image tetrix-example.png + \borderedimage tetrix-example.png The object of the game is to stack pieces dropped from the top of the playing area so that they fill entire rows at the bottom of the playing area. diff --git a/examples/widgets/doc/src/wiggly.qdoc b/examples/widgets/doc/src/wiggly.qdoc index bf14f7ba0d6..f330b016df2 100644 --- a/examples/widgets/doc/src/wiggly.qdoc +++ b/examples/widgets/doc/src/wiggly.qdoc @@ -34,7 +34,8 @@ addition, the example demonstrates how to use QFontMetrics to determine the size of text on screen. - \image wiggly-example.png Screenshot of the Wiggly example + \borderedimage wiggly-example.png + \caption Screenshot of the Wiggly example QBasicTimer is a low-level class for timers. Unlike QTimer, QBasicTimer doesn't inherit from QObject; instead of emitting a diff --git a/examples/widgets/doc/src/windowflags.qdoc b/examples/widgets/doc/src/windowflags.qdoc index 636c6053705..3fe00cd2669 100644 --- a/examples/widgets/doc/src/windowflags.qdoc +++ b/examples/widgets/doc/src/windowflags.qdoc @@ -41,7 +41,8 @@ A widget's flags are stored in a Qt::WindowFlags type which stores an OR combination of the flags. - \image windowflags-example.png Screenshot of the Window Flags example + \borderedimage windowflags-example.png + \caption Screenshot of the Window Flags example The example consists of two classes: