Doc: Remove duplicate words
Change-Id: Ia7a38a1035bd34d00f20351a0adc3927e473b2e7 Pick-to: 6.5 6.4 6.2 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
parent
ee1651efdd
commit
8ecd81ae86
@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
The call to the Java meethod use \l QJniObject which relies on the Java Native
|
The call to the Java meethod use \l QJniObject which relies on the Java Native
|
||||||
Interface (JNI) APIs to communicate with Java. Also, in the previous snippet,
|
Interface (JNI) APIs to communicate with Java. Also, in the previous snippet,
|
||||||
we are passing the app's context object which the the static Java code can use
|
we are passing the app's context object, which the static Java code can use
|
||||||
to tap into the app's specific properties and APIs.
|
to tap into the app's specific properties and APIs.
|
||||||
|
|
||||||
To make sure our smiley buttons do what they are supposed to, we add the
|
To make sure our smiley buttons do what they are supposed to, we add the
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
This example shows how to use the QFuture and QPromise classes to download a
|
This example shows how to use the QFuture and QPromise classes to download a
|
||||||
collection of images from the network and scale them, without blocking the UI.
|
collection of images from the network and scale them, without blocking the UI.
|
||||||
|
|
||||||
The application consists of the the following steps:
|
The application consists of the following steps:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Download images form the list of URLs specified by the user.
|
\li Download images form the list of URLs specified by the user.
|
||||||
|
@ -235,7 +235,7 @@
|
|||||||
This ensures that the edge items are not considered for mouse input at all
|
This ensures that the edge items are not considered for mouse input at all
|
||||||
(i.e., you cannot click the edges). Then, the source and destination
|
(i.e., you cannot click the edges). Then, the source and destination
|
||||||
pointers are updated, this edge is registered with each node, and we call
|
pointers are updated, this edge is registered with each node, and we call
|
||||||
\c adjust() to update this edge's start end end position.
|
\c adjust() to update this edge's start and end position.
|
||||||
|
|
||||||
\snippet graphicsview/elasticnodes/edge.cpp 1
|
\snippet graphicsview/elasticnodes/edge.cpp 1
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@
|
|||||||
|
|
||||||
\section2 Dropping
|
\section2 Dropping
|
||||||
|
|
||||||
When a a drag and drop action enters our widget, we will receive a
|
When a drag and drop action enters our widget, we will receive a
|
||||||
drag enter \e event. QDragEnterEvent inherits most of its
|
drag enter \e event. QDragEnterEvent inherits most of its
|
||||||
functionality from QDragMoveEvent, which in turn inherits most of
|
functionality from QDragMoveEvent, which in turn inherits most of
|
||||||
its functionality from QDropEvent. Note that we must accept this
|
its functionality from QDropEvent. Note that we must accept this
|
||||||
|
@ -224,7 +224,7 @@
|
|||||||
\snippet widgets/styles/norwegianwoodstyle.cpp 13
|
\snippet widgets/styles/norwegianwoodstyle.cpp 13
|
||||||
\snippet widgets/styles/norwegianwoodstyle.cpp 14
|
\snippet widgets/styles/norwegianwoodstyle.cpp 14
|
||||||
|
|
||||||
The \c roundRect variable is a QPainterPath. A QPainterPath is is
|
The \c roundRect variable is a QPainterPath. A QPainterPath is
|
||||||
a vectorial specification of a shape. Any shape (rectangle,
|
a vectorial specification of a shape. Any shape (rectangle,
|
||||||
ellipse, spline, etc.) or combination of shapes can be expressed
|
ellipse, spline, etc.) or combination of shapes can be expressed
|
||||||
as a path. We will use \c roundRect both for filling the button
|
as a path. We will use \c roundRect both for filling the button
|
||||||
|
@ -325,7 +325,7 @@ Set \c QT_NO_COLLECT_BUILD_TREE_APK_DEPS to \c TRUE to disable this behavior.
|
|||||||
|
|
||||||
When using CMake version 3.21 or later, the build system collects the locations of
|
When using CMake version 3.21 or later, the build system collects the locations of
|
||||||
imported shared library targets that might be relevant for deployment.
|
imported shared library targets that might be relevant for deployment.
|
||||||
The collected targets are those that are reachable from the the directory scope
|
The collected targets are those that are reachable from the directory scope
|
||||||
of the currently processed executable target. That includes the target's source directory
|
of the currently processed executable target. That includes the target's source directory
|
||||||
scope and its parents.
|
scope and its parents.
|
||||||
The collected locations are passed to \l androiddeployqt for deployment consideration when
|
The collected locations are passed to \l androiddeployqt for deployment consideration when
|
||||||
|
@ -464,7 +464,7 @@ retained.
|
|||||||
This is useful if you want to strip QML source code from the binary.
|
This is useful if you want to strip QML source code from the binary.
|
||||||
|
|
||||||
\note If you omit the QML source code from the binary, the QML engine has to
|
\note If you omit the QML source code from the binary, the QML engine has to
|
||||||
rely on the the compilation units created by \l{qmlcachegen} or \l{qmlsc}.
|
rely on the compilation units created by \l{qmlcachegen} or \l{qmlsc}.
|
||||||
Those are tied to the specific version of Qt they were built with. If you change
|
Those are tied to the specific version of Qt they were built with. If you change
|
||||||
the version of Qt your application uses, they can't be loaded anymore.
|
the version of Qt your application uses, they can't be loaded anymore.
|
||||||
|
|
||||||
|
@ -353,7 +353,7 @@
|
|||||||
\section3 Java-Style Iterators
|
\section3 Java-Style Iterators
|
||||||
\l{java-style-iterators}{Java-Style iterators} were introduced in Qt 4. Their API is modelled
|
\l{java-style-iterators}{Java-Style iterators} were introduced in Qt 4. Their API is modelled
|
||||||
on Java's iterator classes.
|
on Java's iterator classes.
|
||||||
New code should should prefer \l{STL-Style Iterators}.
|
New code should prefer \l{STL-Style Iterators}.
|
||||||
|
|
||||||
\section1 Qt containers compared with std containers
|
\section1 Qt containers compared with std containers
|
||||||
|
|
||||||
|
@ -180,7 +180,7 @@
|
|||||||
This is useful to strip QML source code from an application binary.
|
This is useful to strip QML source code from an application binary.
|
||||||
|
|
||||||
\note If you omit the QML source code from the binary, the QML engine has to
|
\note If you omit the QML source code from the binary, the QML engine has to
|
||||||
rely on the the compilation units created by \l{qmlcachegen} or \l{qmlsc}.
|
rely on the compilation units created by \l{qmlcachegen} or \l{qmlsc}.
|
||||||
Those are tied to the specific version of Qt they were built with. If you
|
Those are tied to the specific version of Qt they were built with. If you
|
||||||
change the version of Qt your application uses, they can't be loaded
|
change the version of Qt your application uses, they can't be loaded
|
||||||
anymore.
|
anymore.
|
||||||
|
@ -175,7 +175,7 @@
|
|||||||
\since 5.8
|
\since 5.8
|
||||||
|
|
||||||
Can be used in switch statements at the end of case block to tell the compiler
|
Can be used in switch statements at the end of case block to tell the compiler
|
||||||
and other developers that that the lack of a break statement is intentional.
|
and other developers that the lack of a break statement is intentional.
|
||||||
|
|
||||||
This is useful since a missing break statement is often a bug, and some
|
This is useful since a missing break statement is often a bug, and some
|
||||||
compilers can be configured to emit warnings when one is not found.
|
compilers can be configured to emit warnings when one is not found.
|
||||||
|
@ -163,7 +163,7 @@ QFileSystemEntry::NativePath QTemporaryFileName::generateNext()
|
|||||||
\internal
|
\internal
|
||||||
|
|
||||||
Generates a unique file path from the template \a templ and creates a new
|
Generates a unique file path from the template \a templ and creates a new
|
||||||
file based based on those parameters: the \c templ.length characters in \c
|
file based on those parameters: the \c templ.length characters in \c
|
||||||
templ.path starting at \c templ.pos will be replaced by a random sequence of
|
templ.path starting at \c templ.pos will be replaced by a random sequence of
|
||||||
characters. \a mode specifies the file mode bits (not used on Windows).
|
characters. \a mode specifies the file mode bits (not used on Windows).
|
||||||
|
|
||||||
|
@ -3021,7 +3021,7 @@ const char *QMetaEnum::name() const
|
|||||||
Returns the enum name of the flag (without the scope).
|
Returns the enum name of the flag (without the scope).
|
||||||
|
|
||||||
For example, the Qt::AlignmentFlag flag has \c
|
For example, the Qt::AlignmentFlag flag has \c
|
||||||
AlignmentFlag as the enum name, but \c Alignment as as the type name.
|
AlignmentFlag as the enum name, but \c Alignment as the type name.
|
||||||
Non flag enums has the same type and enum names.
|
Non flag enums has the same type and enum names.
|
||||||
|
|
||||||
Enum names have the same scope as the type name.
|
Enum names have the same scope as the type name.
|
||||||
@ -3624,7 +3624,7 @@ QVariant QMetaProperty::read(const QObject *object) const
|
|||||||
Writes \a value as the property's value to the given \a object. Returns
|
Writes \a value as the property's value to the given \a object. Returns
|
||||||
true if the write succeeded; otherwise returns \c false.
|
true if the write succeeded; otherwise returns \c false.
|
||||||
|
|
||||||
If \a value is not of the same type type as the property, a conversion
|
If \a value is not of the same type as the property, a conversion
|
||||||
is attempted. An empty QVariant() is equivalent to a call to reset()
|
is attempted. An empty QVariant() is equivalent to a call to reset()
|
||||||
if this property is resettable, or setting a default-constructed object
|
if this property is resettable, or setting a default-constructed object
|
||||||
otherwise.
|
otherwise.
|
||||||
|
@ -755,7 +755,7 @@ void QPropertyObserverPointer::setBindingToNotify(QPropertyBindingPrivate *bindi
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\internal
|
\internal
|
||||||
The same as as setBindingToNotify, but assumes that the tag is already correct.
|
The same as setBindingToNotify, but assumes that the tag is already correct.
|
||||||
*/
|
*/
|
||||||
void QPropertyObserverPointer::setBindingToNotify_unsafe(QPropertyBindingPrivate *binding)
|
void QPropertyObserverPointer::setBindingToNotify_unsafe(QPropertyBindingPrivate *binding)
|
||||||
{
|
{
|
||||||
|
@ -404,7 +404,7 @@ Q_DECL_UNUSED static constexpr quint64 MaximumPreallocatedElementCount =
|
|||||||
/*!
|
/*!
|
||||||
\fn QCborValue::QCborValue(QCborSimpleType st)
|
\fn QCborValue::QCborValue(QCborSimpleType st)
|
||||||
|
|
||||||
Creates a QCborValue of simple type \a st. The type can later later be retrieved
|
Creates a QCborValue of simple type \a st. The type can later be retrieved
|
||||||
using toSimpleType() as well as isSimpleType(st).
|
using toSimpleType() as well as isSimpleType(st).
|
||||||
|
|
||||||
CBOR simple types are types that do not have any associated value, like
|
CBOR simple types are types that do not have any associated value, like
|
||||||
|
@ -140,7 +140,7 @@ WRAP(indexOf, QLatin1StringView)
|
|||||||
\value DTD The reader reports a DTD in text(), notation
|
\value DTD The reader reports a DTD in text(), notation
|
||||||
declarations in notationDeclarations(), and entity declarations in
|
declarations in notationDeclarations(), and entity declarations in
|
||||||
entityDeclarations(). Details of the DTD declaration are reported
|
entityDeclarations(). Details of the DTD declaration are reported
|
||||||
in in dtdName(), dtdPublicId(), and dtdSystemId().
|
in dtdName(), dtdPublicId(), and dtdSystemId().
|
||||||
|
|
||||||
\value EntityReference The reader reports an entity reference that
|
\value EntityReference The reader reports an entity reference that
|
||||||
could not be resolved. The name of the reference is reported in
|
could not be resolved. The name of the reference is reported in
|
||||||
|
@ -278,7 +278,7 @@
|
|||||||
The container's data must remain valid for the lifetime of this byte array view object.
|
The container's data must remain valid for the lifetime of this byte array view object.
|
||||||
|
|
||||||
This constructor participates in overload resolution if \a c is any contiguous
|
This constructor participates in overload resolution if \a c is any contiguous
|
||||||
container container with elements of a compatible byte type.
|
container with elements of a compatible byte type.
|
||||||
|
|
||||||
\sa {Compatible Byte Types}
|
\sa {Compatible Byte Types}
|
||||||
*/
|
*/
|
||||||
|
@ -251,7 +251,7 @@ QCommandLineParser::~QCommandLineParser()
|
|||||||
\enum QCommandLineParser::SingleDashWordOptionMode
|
\enum QCommandLineParser::SingleDashWordOptionMode
|
||||||
|
|
||||||
This enum describes the way the parser interprets command-line
|
This enum describes the way the parser interprets command-line
|
||||||
options that use a single dash followed by multiple letters, as as \c{-abc}.
|
options that use a single dash followed by multiple letters, as \c{-abc}.
|
||||||
|
|
||||||
\value ParseAsCompactedShortOptions \c{-abc} is interpreted as \c{-a -b -c},
|
\value ParseAsCompactedShortOptions \c{-abc} is interpreted as \c{-a -b -c},
|
||||||
i.e. as three short options that have been compacted on the command-line,
|
i.e. as three short options that have been compacted on the command-line,
|
||||||
|
@ -290,7 +290,7 @@ QTimeLine::State QTimeLine::state() const
|
|||||||
\property QTimeLine::loopCount
|
\property QTimeLine::loopCount
|
||||||
\brief the number of times the timeline should loop before it's finished.
|
\brief the number of times the timeline should loop before it's finished.
|
||||||
|
|
||||||
A loop count of of 0 means that the timeline will loop forever.
|
A loop count of 0 means that the timeline will loop forever.
|
||||||
|
|
||||||
By default, this property contains a value of 1.
|
By default, this property contains a value of 1.
|
||||||
*/
|
*/
|
||||||
|
@ -130,7 +130,7 @@ void QAccessibleCache::objectDestroyed(QObject* obj)
|
|||||||
/*
|
/*
|
||||||
In some cases we might add a not fully-constructed object to the cache. This might happen with
|
In some cases we might add a not fully-constructed object to the cache. This might happen with
|
||||||
for instance QWidget subclasses that are in the construction phase. If updateAccessibility() is
|
for instance QWidget subclasses that are in the construction phase. If updateAccessibility() is
|
||||||
called in the constructor of QWidget (directly or indirectly), it it will end up asking for the
|
called in the constructor of QWidget (directly or indirectly), it will end up asking for the
|
||||||
classname of that widget in order to know which accessibility interface subclass the
|
classname of that widget in order to know which accessibility interface subclass the
|
||||||
accessibility factory should instantiate and return. However, since that requires a virtual
|
accessibility factory should instantiate and return. However, since that requires a virtual
|
||||||
call to metaObject(), it will return the metaObject() of QWidget (not for the subclass), and so
|
call to metaObject(), it will return the metaObject() of QWidget (not for the subclass), and so
|
||||||
|
@ -196,7 +196,7 @@ QBitmap QBitmap::fromImage(QImage &&image, Qt::ImageConversionFlags flags)
|
|||||||
Constructs a bitmap with the given \a size, and sets the contents to
|
Constructs a bitmap with the given \a size, and sets the contents to
|
||||||
the \a bits supplied.
|
the \a bits supplied.
|
||||||
|
|
||||||
The bitmap data has to be byte aligned and provided in in the bit
|
The bitmap data has to be byte aligned and provided in the bit
|
||||||
order specified by \a monoFormat. The mono format must be either
|
order specified by \a monoFormat. The mono format must be either
|
||||||
QImage::Format_Mono or QImage::Format_MonoLSB. Use
|
QImage::Format_Mono or QImage::Format_MonoLSB. Use
|
||||||
QImage::Format_Mono to specify data on the XBM format.
|
QImage::Format_Mono to specify data on the XBM format.
|
||||||
|
@ -324,7 +324,7 @@ HBITMAP qt_imageToWinHBITMAP(const QImage &imageIn, int hbitmapFormat)
|
|||||||
It is the caller's responsibility to free the \c HBITMAP data
|
It is the caller's responsibility to free the \c HBITMAP data
|
||||||
after use.
|
after use.
|
||||||
|
|
||||||
For usage with with standard GDI calls, such as \c BitBlt(), the image
|
For usage with standard GDI calls, such as \c BitBlt(), the image
|
||||||
should have the format QImage::Format_RGB32.
|
should have the format QImage::Format_RGB32.
|
||||||
|
|
||||||
When using the resulting HBITMAP for the \c AlphaBlend() GDI function,
|
When using the resulting HBITMAP for the \c AlphaBlend() GDI function,
|
||||||
|
@ -143,7 +143,7 @@ QFileInfo QFileSystemModel::fileInfo(const QModelIndex &index) const
|
|||||||
\fn void QFileSystemModel::fileRenamed(const QString &path, const QString &oldName, const QString &newName)
|
\fn void QFileSystemModel::fileRenamed(const QString &path, const QString &oldName, const QString &newName)
|
||||||
|
|
||||||
This signal is emitted whenever a file with the \a oldName is successfully
|
This signal is emitted whenever a file with the \a oldName is successfully
|
||||||
renamed to \a newName. The file is located in in the directory \a path.
|
renamed to \a newName. The file is located in the directory \a path.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -95,7 +95,7 @@ void QPlatformInputContext::update(Qt::InputMethodQueries)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Called when when the word currently being composed in input item is tapped by
|
Called when the word currently being composed in the input item is tapped by
|
||||||
the user. Input methods often use this information to offer more word
|
the user. Input methods often use this information to offer more word
|
||||||
suggestions to the user.
|
suggestions to the user.
|
||||||
*/
|
*/
|
||||||
|
@ -30,13 +30,12 @@ QT_IMPL_METATYPE_EXTERN_TAGGED(QSurface*, QSurface_ptr)
|
|||||||
\value Offscreen The surface is an instance of QOffscreenSurface.
|
\value Offscreen The surface is an instance of QOffscreenSurface.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\enum QSurface::SurfaceType
|
\enum QSurface::SurfaceType
|
||||||
|
|
||||||
The SurfaceType enum describes what type of surface this is.
|
The SurfaceType enum describes what type of surface this is.
|
||||||
|
|
||||||
\value RasterSurface The surface is is composed of pixels and can be rendered to using
|
\value RasterSurface The surface is composed of pixels and can be rendered to using
|
||||||
a software rasterizer like Qt's raster paint engine.
|
a software rasterizer like Qt's raster paint engine.
|
||||||
\value OpenGLSurface The surface is an OpenGL compatible surface and can be used
|
\value OpenGLSurface The surface is an OpenGL compatible surface and can be used
|
||||||
in conjunction with QOpenGLContext.
|
in conjunction with QOpenGLContext.
|
||||||
@ -55,7 +54,6 @@ QT_IMPL_METATYPE_EXTERN_TAGGED(QSurface*, QSurface_ptr)
|
|||||||
surface type is only supported on Windows.
|
surface type is only supported on Windows.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn QSurfaceFormat QSurface::format() const
|
\fn QSurfaceFormat QSurface::format() const
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ void QSyntaxHighlighterPrivate::reformatBlock(const QTextBlock &block)
|
|||||||
an int value. If no state is set, the returned value is -1. You
|
an int value. If no state is set, the returned value is -1. You
|
||||||
can designate any other value to identify any given state using
|
can designate any other value to identify any given state using
|
||||||
the setCurrentBlockState() function. Once the state is set the
|
the setCurrentBlockState() function. Once the state is set the
|
||||||
QTextBlock keeps that value until it is set set again or until the
|
QTextBlock keeps that value until it is set again or until the
|
||||||
corresponding paragraph of text is deleted.
|
corresponding paragraph of text is deleted.
|
||||||
|
|
||||||
For example, if you're writing a simple C++ syntax highlighter,
|
For example, if you're writing a simple C++ syntax highlighter,
|
||||||
|
@ -1826,9 +1826,10 @@ void QTextDocument::setBaselineOffset(qreal baseline)
|
|||||||
\fn qreal QTextDocument::baselineOffset() const
|
\fn qreal QTextDocument::baselineOffset() const
|
||||||
\since 6.0
|
\since 6.0
|
||||||
|
|
||||||
Returns the the baseline offset in % used in the document layout.
|
Returns the baseline offset in % used in the document layout.
|
||||||
|
|
||||||
\sa setBaselineOffset(), setSubScriptBaseline(), subScriptBaseline(), setSuperScriptBaseline(), superScriptBaseline()
|
\sa setBaselineOffset(), setSubScriptBaseline(), subScriptBaseline(), setSuperScriptBaseline(),
|
||||||
|
superScriptBaseline()
|
||||||
*/
|
*/
|
||||||
qreal QTextDocument::baselineOffset() const
|
qreal QTextDocument::baselineOffset() const
|
||||||
{
|
{
|
||||||
|
@ -174,7 +174,7 @@ void QTextBlockGroupPrivate::markBlocksDirty()
|
|||||||
/*!
|
/*!
|
||||||
\fn QTextBlockGroup::QTextBlockGroup(QTextDocument *document)
|
\fn QTextBlockGroup::QTextBlockGroup(QTextDocument *document)
|
||||||
|
|
||||||
Creates a new new block group for the given \a document.
|
Creates a new block group for the given \a document.
|
||||||
|
|
||||||
\warning This function should only be called from
|
\warning This function should only be called from
|
||||||
QTextDocument::createObject().
|
QTextDocument::createObject().
|
||||||
|
@ -221,7 +221,7 @@ QT_IMPL_METATYPE_EXTERN_TAGGED(QNetworkRequest::RedirectPolicy, QNetworkRequest_
|
|||||||
Requests only, type: QMetaType::Int (default: QNetworkRequest::Automatic)
|
Requests only, type: QMetaType::Int (default: QNetworkRequest::Automatic)
|
||||||
Indicates whether to use cached authorization credentials in the request,
|
Indicates whether to use cached authorization credentials in the request,
|
||||||
if available. If this is set to QNetworkRequest::Manual and the authentication
|
if available. If this is set to QNetworkRequest::Manual and the authentication
|
||||||
mechanism is 'Basic' or 'Digest', Qt will not send an an 'Authorization' HTTP
|
mechanism is 'Basic' or 'Digest', Qt will not send an 'Authorization' HTTP
|
||||||
header with any cached credentials it may have for the request's URL.
|
header with any cached credentials it may have for the request's URL.
|
||||||
This attribute is set to QNetworkRequest::Manual by Qt WebKit when creating a cross-origin
|
This attribute is set to QNetworkRequest::Manual by Qt WebKit when creating a cross-origin
|
||||||
XMLHttpRequest where withCredentials has not been set explicitly to true by the
|
XMLHttpRequest where withCredentials has not been set explicitly to true by the
|
||||||
|
@ -673,7 +673,7 @@ QHostAddress::NetworkLayerProtocol QHostAddress::protocol() const
|
|||||||
\l{QAbstractSocket::}{IPv6Protocol}.
|
\l{QAbstractSocket::}{IPv6Protocol}.
|
||||||
If the protocol is
|
If the protocol is
|
||||||
\l{QAbstractSocket::}{IPv4Protocol},
|
\l{QAbstractSocket::}{IPv4Protocol},
|
||||||
then the address is returned an an IPv4 mapped IPv6 address. (RFC4291)
|
then the address is returned as an IPv4 mapped IPv6 address. (RFC4291)
|
||||||
|
|
||||||
\sa toString()
|
\sa toString()
|
||||||
*/
|
*/
|
||||||
|
@ -376,7 +376,7 @@ bool QOpenGLWindow::isValid() const
|
|||||||
/*!
|
/*!
|
||||||
Prepares for rendering OpenGL content for this window by making the
|
Prepares for rendering OpenGL content for this window by making the
|
||||||
corresponding context current and binding the framebuffer object, if there is
|
corresponding context current and binding the framebuffer object, if there is
|
||||||
one, in that context context.
|
one, in that context.
|
||||||
|
|
||||||
It is not necessary to call this function in most cases, because it is called
|
It is not necessary to call this function in most cases, because it is called
|
||||||
automatically before invoking paintGL(). It is provided nonetheless to support
|
automatically before invoking paintGL(). It is provided nonetheless to support
|
||||||
|
@ -1191,7 +1191,7 @@ QString QSqlQuery::executedQuery() const
|
|||||||
|
|
||||||
For MySQL databases the row's auto-increment field will be returned.
|
For MySQL databases the row's auto-increment field will be returned.
|
||||||
|
|
||||||
\note For this function to work in PSQL, the table table must
|
\note For this function to work in PSQL, the table must
|
||||||
contain OIDs, which may not have been created by default. Check the
|
contain OIDs, which may not have been created by default. Check the
|
||||||
\c default_with_oids configuration variable to be sure.
|
\c default_with_oids configuration variable to be sure.
|
||||||
|
|
||||||
|
@ -243,7 +243,7 @@ namespace QTest {
|
|||||||
|
|
||||||
QPlainTestLogger implements basic logging of test results.
|
QPlainTestLogger implements basic logging of test results.
|
||||||
|
|
||||||
The format is Qt-specific and aims to be be easy to read.
|
The format is Qt-specific and aims to be easy to read.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void QPlainTestLogger::outputMessage(const char *str)
|
void QPlainTestLogger::outputMessage(const char *str)
|
||||||
|
@ -942,7 +942,7 @@ bool DeploymentInfo::containsModule(const QString &module, const QString &libInF
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Deploys the the listed frameworks listed into an app bundle.
|
Deploys the listed frameworks into an app bundle.
|
||||||
The frameworks are searched for dependencies, which are also deployed.
|
The frameworks are searched for dependencies, which are also deployed.
|
||||||
(deploying Qt3Support will also deploy QtNetwork and QtSql for example.)
|
(deploying Qt3Support will also deploy QtNetwork and QtSql for example.)
|
||||||
Returns a DeploymentInfo structure containing the Qt path used and a
|
Returns a DeploymentInfo structure containing the Qt path used and a
|
||||||
|
@ -522,7 +522,7 @@ QGraphicsProxyWidget::~QGraphicsProxyWidget()
|
|||||||
/*!
|
/*!
|
||||||
Embeds \a widget into this proxy widget. The embedded widget must reside
|
Embeds \a widget into this proxy widget. The embedded widget must reside
|
||||||
exclusively either inside or outside of Graphics View. You cannot embed a
|
exclusively either inside or outside of Graphics View. You cannot embed a
|
||||||
widget as long as it is is visible elsewhere in the UI, at the same time.
|
widget as long as it is visible elsewhere in the UI, at the same time.
|
||||||
|
|
||||||
\a widget must be a top-level widget whose parent is \nullptr.
|
\a widget must be a top-level widget whose parent is \nullptr.
|
||||||
|
|
||||||
|
@ -2884,7 +2884,7 @@ void QGraphicsScene::setFocusItem(QGraphicsItem *item, Qt::FocusReason focusReas
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
Returns \c true if the scene has focus; otherwise returns \c false. If the scene
|
Returns \c true if the scene has focus; otherwise returns \c false. If the scene
|
||||||
has focus, it will will forward key events from QKeyEvent to any item that
|
has focus, it will forward key events from QKeyEvent to any item that
|
||||||
has focus.
|
has focus.
|
||||||
|
|
||||||
\sa setFocus(), setFocusItem()
|
\sa setFocus(), setFocusItem()
|
||||||
|
@ -2873,7 +2873,7 @@ QMap<QDate, QTextCharFormat> QCalendarWidget::dateTextFormat() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Returns a QTextCharFormat for \a date. The char format can be be
|
Returns a QTextCharFormat for \a date. The char format can be
|
||||||
empty if the date is not renderd specially.
|
empty if the date is not renderd specially.
|
||||||
*/
|
*/
|
||||||
QTextCharFormat QCalendarWidget::dateTextFormat(QDate date) const
|
QTextCharFormat QCalendarWidget::dateTextFormat(QDate date) const
|
||||||
|
@ -286,7 +286,7 @@ int QStatusBar::insertWidget(int index, QWidget *widget, int stretch)
|
|||||||
minimum of space.
|
minimum of space.
|
||||||
|
|
||||||
Permanently means that the widget may not be obscured by temporary
|
Permanently means that the widget may not be obscured by temporary
|
||||||
messages. It is is located at the far right of the status bar.
|
messages. It is located at the far right of the status bar.
|
||||||
|
|
||||||
\sa insertPermanentWidget(), removeWidget(), addWidget()
|
\sa insertPermanentWidget(), removeWidget(), addWidget()
|
||||||
*/
|
*/
|
||||||
@ -298,7 +298,6 @@ void QStatusBar::addPermanentWidget(QWidget * widget, int stretch)
|
|||||||
insertPermanentWidget(d_func()->items.size(), widget, stretch);
|
insertPermanentWidget(d_func()->items.size(), widget, stretch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\since 4.2
|
\since 4.2
|
||||||
|
|
||||||
@ -313,7 +312,7 @@ void QStatusBar::addPermanentWidget(QWidget * widget, int stretch)
|
|||||||
minimum of space.
|
minimum of space.
|
||||||
|
|
||||||
Permanently means that the widget may not be obscured by temporary
|
Permanently means that the widget may not be obscured by temporary
|
||||||
messages. It is is located at the far right of the status bar.
|
messages. It is located at the far right of the status bar.
|
||||||
|
|
||||||
\sa addPermanentWidget(), removeWidget(), addWidget()
|
\sa addPermanentWidget(), removeWidget(), addWidget()
|
||||||
*/
|
*/
|
||||||
|
@ -116,7 +116,7 @@
|
|||||||
QPlainTextEdit gives the possibility to have more than one
|
QPlainTextEdit gives the possibility to have more than one
|
||||||
selection at the same time. we can set the character format
|
selection at the same time. we can set the character format
|
||||||
(QTextCharFormat) of these selections. We clear the cursors
|
(QTextCharFormat) of these selections. We clear the cursors
|
||||||
selection before setting the new new
|
selection before setting the new
|
||||||
QPlainTextEdit::ExtraSelection, else several lines would get
|
QPlainTextEdit::ExtraSelection, else several lines would get
|
||||||
highlighted when the user selects multiple lines with the mouse.
|
highlighted when the user selects multiple lines with the mouse.
|
||||||
\omit ask someone how this works \endomit
|
\omit ask someone how this works \endomit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user