\brief The QAccessible2 namespace defines constants relating to
IAccessible2-based interfaces
- \link http://www.linux-foundation.org/en/Accessibility/IAccessible2 IAccessible2 Specification \endlink
+ \l{IAccessible2 Specification}
*/
/*!
This interface is, for example, implemented for QLineEdit.
Editable text objects should also implement \l QAccessibleEditableTextInterface.
- \link http://www.linux-foundation.org/en/Accessibility/IAccessible2 IAccessible2 Specification \endlink
+ \l{IAccessible2 Specification}
*/
/*!
\sa QAccessibleInterface
- \link http://www.linux-foundation.org/en/Accessibility/IAccessible2 IAccessible2 Specification \endlink
+ \l{IAccessible2 Specification}
*/
/*!
\sa QAccessibleInterface, QAccessibleEditableTextInterface
- \link http://www.linux-foundation.org/en/Accessibility/IAccessible2 IAccessible2 Specification \endlink
+ \l{IAccessible2 Specification}
*/
/*!
Usually this interface is implemented by classes that also implement \l QAccessibleInterface.
- \link http://www.linux-foundation.org/en/Accessibility/IAccessible2 IAccessible2 Specification \endlink
+ \l{IAccessible2 Specification}
*/
/*!
\brief The QAccessibleImageInterface class implements support for
the IAccessibleImage interface.
- \link http://www.linux-foundation.org/en/Accessibility/IAccessible2 IAccessible2 Specification \endlink
+ \l{IAccessible2 Specification}
*/
/*!
\brief The QAccessibleTableCellInterface class implements support for
the IAccessibleTable2 Cell interface.
- \link http://www.linux-foundation.org/en/Accessibility/IAccessible2 IAccessible2 Specification \endlink
+ \l{IAccessible2 Specification}
*/
/*!
\brief The QAccessibleTableInterface class implements support for
the IAccessibleTable2 interface.
- \link http://www.linux-foundation.org/en/Accessibility/IAccessible2 IAccessible2 Specification \endlink
+ \l{IAccessible2 Specification}
*/
Most widgets will simply implement \l pressAction(). This is what happens when the widget is activated by
being clicked, space pressed or similar.
- \link http://www.linux-foundation.org/en/Accessibility/IAccessible2 IAccessible2 Specification \endlink
+ \l{IAccessible2 Specification}
*/
/*!
--- /dev/null
+/****************************************************************************
+**
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** GNU Free Documentation License
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms
+** and conditions contained in a signed written agreement between you
+** and Nokia.
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+
+/*!
+ \externalpage http://nwalsh.com/comp.fonts/FAQ/
+ \title comp.fonts FAQ
+*/
+
+/*!
+ \externalpage http://www.linux-foundation.org/en/Accessibility/IAccessible2
+ \title IAccessible2 Specification
+*/
+
+/*!
+ \externalpage http://czyborra.com/
+ \title Roman Czyborra's
+*/
+
+/*!
+ \externalpage http://www.xfree86.org/4.3.0/Xcursor.3.html
+ \title Xcursor
+*/
\brief Classes that provide support for painting.
- See also this introduction to the \link coordsys.html Qt
- coordinate system. \endlink
+ See also this introduction to the \l{coordsys.html}{Qt coordinate system.}
*/
/*!
Setting the picture file format string is optional.
- Note that this function does \e not set the \link format()
- format\endlink used to read the picture. If you need that
+ Note that this function does \e not set the \l{format()}{format} used to read the picture. If you need that
information, use the pictureFormat() static functions.
Example:
\section1 A Note for X11 Users
- On X11, Qt supports the \link
- http://www.xfree86.org/4.3.0/Xcursor.3.html Xcursor\endlink
+ On X11, Qt supports the \l{Xcursor}{Xcursor}
library, which allows for full color icon themes. The table below
shows the cursor name used for each Qt::CursorShape value. If a
cursor cannot be found using the name shown below, a standard X11
\a key should be in NativeText format.
- This constructor is typically used with \link QObject::tr() tr
- \endlink(), so that shortcut keys can be replaced in
+ This constructor is typically used with \l{QObject::tr()}{tr}(), so that shortcut keys can be replaced in
translations:
\snippet code/src_gui_kernel_qkeysequence.cpp 2
Writes the key \a sequence to the \a stream.
- \sa \link datastreamformat.html Format of the QDataStream operators \endlink
+ \sa{Serializing Qt Data Types}{Format of the QDataStream operators}
*/
QDataStream &operator<<(QDataStream &s, const QKeySequence &keysequence)
{
Reads a key sequence from the \a stream into the key \a sequence.
- \sa \link datastreamformat.html Format of the QDataStream operators \endlink
+ \sa{Serializing Qt Data Types}{Format of the QDataStream operators}
*/
QDataStream &operator>>(QDataStream &s, QKeySequence &keysequence)
{
Writes the palette, \a p to the stream \a s and returns a
reference to the stream.
- \sa \link datastreamformat.html Format of the QDataStream operators \endlink
+ \sa{Serializing Qt Data Types}{Format of the QDataStream operators}
*/
QDataStream &operator<<(QDataStream &s, const QPalette &p)
Reads a palette from the stream, \a s into the palette \a p, and
returns a reference to the stream.
- \sa \link datastreamformat.html Format of the QDataStream operators \endlink
+ \sa{Serializing Qt Data Types}{Format of the QDataStream operators}
*/
QDataStream &operator>>(QDataStream &s, QPalette &p)
\brief the cursor shape for this window
The mouse cursor will assume this shape when it is over this
- window, unless an override cursor is set. See the \link
- Qt::CursorShape list of predefined cursor objects\endlink for a
+ window, unless an override cursor is set.
+ See the \l{Qt::CursorShape}{list of predefined cursor objects} for a
range of useful shapes.
By default, this property contains a cursor with the Qt::ArrowCursor
A framebuffer object has several characteristics:
\list
- \li \link setSamples() Number of samples per pixels.\endlink
- \li \link setAttachment() Depth and/or stencil attachments.\endlink
- \li \link setTextureTarget() Texture target.\endlink
- \li \link setInternalTextureFormat() Internal texture format.\endlink
+ \li \l{setSamples()}{Number of samples per pixels.}
+ \li \l{setAttachment()}{Depth and/or stencil attachments.}
+ \li \l{setTextureTarget()}{Texture target.}
+ \li \l{setInternalTextureFormat()}{Internal texture format.}
\endlist
Note that the desired attachments or number of samples per pixels might not
Writes the region \a r to the stream \a s and returns a reference
to the stream.
- \sa \link datastreamformat.html Format of the QDataStream operators \endlink
+ \sa{Serializing Qt Data Types}{Format of the QDataStream operators}
*/
QDataStream &operator<<(QDataStream &s, const QRegion &r)
Reads a region from the stream \a s into \a r and returns a
reference to the stream.
- \sa \link datastreamformat.html Format of the QDataStream operators \endlink
+ \sa{Serializing Qt Data Types}{Format of the QDataStream operators}
*/
QDataStream &operator>>(QDataStream &s, QRegion &r)
QFontInfo object.
If the requested font family is unavailable you can influence the
- \link #fontmatching font matching algorithm\endlink by choosing a
+ \l{#fontmatching}{font matching algorithm} by choosing a
particular \l{QFont::StyleHint} and \l{QFont::StyleStrategy} with
setStyleHint(). The default family (corresponding to the current
style hint) is returned by defaultFamily().
\snippet code/src_gui_text_qfont.cpp 4
For more general information on fonts, see the
- \link http://nwalsh.com/comp.fonts/FAQ/ comp.fonts FAQ.\endlink
+ \l{comp.fonts FAQ}{comp.fonts FAQ}.
Information on encodings can be found from
- \link http://czyborra.com/ Roman Czyborra's\endlink page.
+ \l{Roman Czyborra's} page.
\sa QFontComboBox, QFontMetrics, QFontInfo, QFontDatabase, {Character Map Example}
*/
It is theoretically possible that there really isn't a
lastResortFont() in which case Qt will abort with an error
message. We have not been able to identify a case where this
- happens. Please \link bughowto.html report it as a bug\endlink if
+ happens. Please \l{bughowto.html}{report it as a bug} if
it does, preferably with a list of the fonts you have installed.
\sa lastResortFamily(), rawName()
/*!
\fn bool QFont::bold() const
- Returns true if weight() is a value greater than \link Weight
- QFont::Normal \endlink; otherwise returns false.
+ Returns true if weight() is a value greater than
+ \l{Weight}{QFont::Normal}; otherwise returns false.
\sa weight(), setBold(), QFontInfo::bold()
*/
/*!
\fn void QFont::setBold(bool enable)
- If \a enable is true sets the font's weight to \link Weight
- QFont::Bold \endlink; otherwise sets the weight to \link Weight
- QFont::Normal\endlink.
+ If \a enable is true sets the font's weight to
+ \l{Weight}{QFont::Bold};
+ otherwise sets the weight to \l{Weight}{QFont::Normal}.
For finer boldness control use setWeight().
Writes the font \a font to the data stream \a s. (toString()
writes to a text stream.)
- \sa \link datastreamformat.html Format of the QDataStream operators \endlink
+ \sa{Serializing Qt Data Types}{Format of the QDataStream operators}
*/
QDataStream &operator<<(QDataStream &s, const QFont &font)
{
Reads the font \a font from the data stream \a s. (fromString()
reads from a text stream.)
- \sa \link datastreamformat.html Format of the QDataStream operators \endlink
+ \sa{Serializing Qt Data Types}{Format of the QDataStream operators}
*/
QDataStream &operator>>(QDataStream &s, QFont &font)
{
Constructs a font info object for \a font.
The font must be screen-compatible, i.e. a font you use when
- drawing text in \link QWidget widgets\endlink or \link QPixmap
- pixmaps\endlink, not QPicture or QPrinter.
+ drawing text in \l{QWidget}{widgets} or \l{QPixmap}{pixmaps}, not QPicture or QPrinter.
The font info object holds the information for the font that is
passed in the constructor at the time it is created, and is not
The font metrics will be compatible with the paintdevice passed.
If the \a paintdevice is 0, the metrics will be screen-compatible,
ie. the metrics you get if you use the font for drawing text on a
- \link QWidget widgets\endlink or \link QPixmap pixmaps\endlink,
+ \l{QWidget}{widgets} or \l{QPixmap}{pixmaps},
not on a QPicture or QPrinter.
The font metrics object holds the information for the font that is
The bounding rectangle returned by this function is somewhat larger
than that calculated by the simpler boundingRect() function. This
- function uses the \link minLeftBearing() maximum left \endlink and
- \link minRightBearing() right \endlink font bearings as is
+ function uses the \l{minLeftBearing()}{maximum left} and
+ \l{minRightBearing()}{right} font bearings as is
necessary for multi-line text to align correctly. Also,
fontHeight() and lineSpacing() are used to calculate the height,
rather than individual character heights.
The font metrics will be compatible with the paintdevice passed.
If the \a paintdevice is 0, the metrics will be screen-compatible,
ie. the metrics you get if you use the font for drawing text on a
- \link QWidget widgets\endlink or \link QPixmap pixmaps\endlink,
+ \l{QWidget}{widgets} or \l{QPixmap}{pixmaps},
not on a QPicture or QPrinter.
The font metrics object holds the information for the font that is
The bounding rectangle returned by this function is somewhat larger
than that calculated by the simpler boundingRect() function. This
- function uses the \link minLeftBearing() maximum left \endlink and
- \link minRightBearing() right \endlink font bearings as is
+ function uses the \l{minLeftBearing()}{maximum left} and
+ \l{minRightBearing()}{right} font bearings as is
necessary for multi-line text to align correctly. Also,
fontHeight() and lineSpacing() are used to calculate the height,
rather than individual character heights.
/*!
\since 4.2
- Redoes the last editing operation on the document if \link
- QTextDocument::isRedoAvailable() redo is available\endlink.
+ Redoes the last editing operation on the document if \l{QTextDocument::isRedoAvailable()}{redo is available}.
The provided \a cursor is positioned at the end of the location where
the edition operation was redone.
/*!
\overload
- Redoes the last editing operation on the document if \link
- QTextDocument::isRedoAvailable() redo is available\endlink.
+ Redoes the last editing operation on the document if \l{QTextDocument::isRedoAvailable()}{redo is available}.
*/
void QTextDocument::redo()
{