summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx')
-rw-r--r--src/declarative/fx/qfxanchors.cpp2
-rw-r--r--src/declarative/fx/qfxblurfilter.cpp2
-rw-r--r--src/declarative/fx/qfxcontentwrapper.cpp2
-rw-r--r--src/declarative/fx/qfxflickable.cpp2
-rw-r--r--src/declarative/fx/qfxhighlightfilter.cpp2
-rw-r--r--src/declarative/fx/qfximage.cpp2
-rw-r--r--src/declarative/fx/qfximageitem.cpp2
-rw-r--r--src/declarative/fx/qfxitem.cpp59
-rw-r--r--src/declarative/fx/qfxkeyproxy.cpp2
-rw-r--r--src/declarative/fx/qfxlayouts.cpp8
-rw-r--r--src/declarative/fx/qfxmouseregion.cpp2
-rw-r--r--src/declarative/fx/qfxpainted.cpp2
-rw-r--r--src/declarative/fx/qfxparticles.cpp10
-rw-r--r--src/declarative/fx/qfxpath.cpp12
-rw-r--r--src/declarative/fx/qfxpathview.cpp2
-rw-r--r--src/declarative/fx/qfxpixmap.cpp2
-rw-r--r--src/declarative/fx/qfxrect.cpp4
-rw-r--r--src/declarative/fx/qfxreflectionfilter.cpp2
-rw-r--r--src/declarative/fx/qfxrepeater.cpp2
-rw-r--r--src/declarative/fx/qfxshadowfilter.cpp4
-rw-r--r--src/declarative/fx/qfxtext.cpp2
-rw-r--r--src/declarative/fx/qfxtextedit.cpp2
-rw-r--r--src/declarative/fx/qfxtransform.cpp2
-rw-r--r--src/declarative/fx/qfxwebview.cpp2
24 files changed, 81 insertions, 52 deletions
diff --git a/src/declarative/fx/qfxanchors.cpp b/src/declarative/fx/qfxanchors.cpp
index b7a7dd2..7372866 100644
--- a/src/declarative/fx/qfxanchors.cpp
+++ b/src/declarative/fx/qfxanchors.cpp
@@ -122,7 +122,7 @@ static qreal adjustedPosition(QFxItem *item, QFxAnchorLine::AnchorLine anchorLin
/*!
\internal
\class QFxAnchors
- \ingroup layouts
+ \ingroup group_layouts
\brief The QFxAnchors class provides a way to lay out items relative to other items.
\warning Currently, only anchoring to siblings or parent is supported.
diff --git a/src/declarative/fx/qfxblurfilter.cpp b/src/declarative/fx/qfxblurfilter.cpp
index 8cc9380..748fd8b 100644
--- a/src/declarative/fx/qfxblurfilter.cpp
+++ b/src/declarative/fx/qfxblurfilter.cpp
@@ -93,7 +93,7 @@ public:
/*!
\internal
\class QFxBlurFilter
- \ingroup effects
+ \ingroup group_effects
\brief The QFxBlurFilter class allows you to blur an item.
*/
diff --git a/src/declarative/fx/qfxcontentwrapper.cpp b/src/declarative/fx/qfxcontentwrapper.cpp
index 80710ca..5ce5430 100644
--- a/src/declarative/fx/qfxcontentwrapper.cpp
+++ b/src/declarative/fx/qfxcontentwrapper.cpp
@@ -95,7 +95,7 @@ QML_DEFINE_TYPE(QFxContent,Content);
/*!
\qmlclass Content QFxContent
- \ingroup utility
+ \ingroup group_utility
\brief Content is used as a placeholder for the content of a component.
\inherits Item
diff --git a/src/declarative/fx/qfxflickable.cpp b/src/declarative/fx/qfxflickable.cpp
index 7e13036..e35d6cf 100644
--- a/src/declarative/fx/qfxflickable.cpp
+++ b/src/declarative/fx/qfxflickable.cpp
@@ -253,7 +253,7 @@ QML_DEFINE_TYPE(QFxFlickable,Flickable);
\class QFxFlickable
\brief The QFxFlickable class provides a view that can be "flicked".
- \ingroup widgets
+ \ingroup group_widgets
QFxFlickable allows its children to be dragged and flicked.
diff --git a/src/declarative/fx/qfxhighlightfilter.cpp b/src/declarative/fx/qfxhighlightfilter.cpp
index 6c6277a..d1ff3d3 100644
--- a/src/declarative/fx/qfxhighlightfilter.cpp
+++ b/src/declarative/fx/qfxhighlightfilter.cpp
@@ -96,7 +96,7 @@ public:
/*!
\internal
\class QFxHighlightFilter
- \ingroup effects
+ \ingroup group_effects
\brief The QFxHightlightFilter class allows you to add a highlight to an item.
*/
diff --git a/src/declarative/fx/qfximage.cpp b/src/declarative/fx/qfximage.cpp
index a137bc3..9fe491c 100644
--- a/src/declarative/fx/qfximage.cpp
+++ b/src/declarative/fx/qfximage.cpp
@@ -99,7 +99,7 @@ QML_DEFINE_TYPE(QFxImage,Image);
\class QFxImage Image
\brief The QFxImage class provides an image item that you can add to a QFxView.
- \ingroup coreitems
+ \ingroup group_coreitems
Example:
\code
diff --git a/src/declarative/fx/qfximageitem.cpp b/src/declarative/fx/qfximageitem.cpp
index 6c257fa..a6f6d8f 100644
--- a/src/declarative/fx/qfximageitem.cpp
+++ b/src/declarative/fx/qfximageitem.cpp
@@ -59,7 +59,7 @@ QT_BEGIN_NAMESPACE
/*!
\class QFxImageItem
\brief The QFxImageItem class is an abstract base class for QFxView items that render using QPainter.
- \ingroup coreitems
+ \ingroup group_coreitems
This is a convenience class allowing easy use of a QPainter within a custom
item. The contents of the item are are cached behind the scenes.
diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp
index 2f4c220..9aa742d 100644
--- a/src/declarative/fx/qfxitem.cpp
+++ b/src/declarative/fx/qfxitem.cpp
@@ -74,20 +74,49 @@ QML_DEFINE_TYPE(QFxItem,Item);
QML_DEFINE_NOCREATE_TYPE(QSimpleCanvasFilter);
/*!
- \defgroup animation Animation
- \defgroup coreitems Basic Items
- \defgroup effects Effects
- \defgroup layouts Layouts
- \defgroup states States and Transitions
- \defgroup utility Utility
- \defgroup views Views
- \defgroup widgets Widgets
+ \group group_animation
+ \title Animation
+*/
+
+/*!
+ \group group_coreitems
+ \title Basic Items
+*/
+
+/*!
+ \group group_effects
+ \title Effects
+*/
+
+/*!
+ \group group_layouts
+ \title Layouts
+*/
+
+/*!
+ \group group_states
+ \title States and Transitions
+*/
+
+/*!
+ \group group_utility
+ \title Utility
+*/
+
+/*!
+ \group group_views
+ \title Views
+*/
+
+/*!
+ \group group_widgets
+ \title Widgets
*/
/*!
\internal
\class QFxContents
- \ingroup utility
+ \ingroup group_utility
\brief The QFxContents class gives access to the height and width of an item's contents.
*/
@@ -194,7 +223,7 @@ void QFxContents::setItem(QFxItem *item)
\endqml
\endqmltext
- \ingroup coreitems
+ \ingroup group_coreitems
*/
/*!
@@ -751,10 +780,10 @@ void QFxItem::setQml(const QString &qml)
} else {
d->_qmlcomp =
new QmlComponent(itemContext()->engine(), d->_qmlurl, this);
- if(d->_qmlcomp->isReady())
+ if(!d->_qmlcomp->isLoading())
qmlLoaded();
else
- QObject::connect(d->_qmlcomp, SIGNAL(readyChanged()),
+ QObject::connect(d->_qmlcomp, SIGNAL(statusChanged(Status)),
this, SLOT(qmlLoaded()));
}
}
@@ -768,7 +797,7 @@ void QFxItem::qmlLoaded()
// ###
for (int i=0; i<d->_qmlnewloading.length(); ++i) {
QmlComponent *c = d->_qmlnewcomp.at(i);
- if(!c->isReady())
+ if(c->isLoading())
continue;
QmlContext *ctxt = new QmlContext(itemContext());
@@ -1618,10 +1647,10 @@ void QFxItem::newChild(const QString &type)
d->_qmlnewloading.append(url);
d->_qmlnewcomp.append(new QmlComponent(itemContext()->engine(), url, this));
- if(d->_qmlnewcomp.last()->isReady())
+ if(!d->_qmlnewcomp.last()->isLoading())
qmlLoaded();
else
- connect(d->_qmlnewcomp.last(), SIGNAL(readyChanged()),
+ connect(d->_qmlnewcomp.last(), SIGNAL(statusChanged(Status)),
this, SLOT(qmlLoaded()));
}
diff --git a/src/declarative/fx/qfxkeyproxy.cpp b/src/declarative/fx/qfxkeyproxy.cpp
index 8598ad6..7d5726f 100644
--- a/src/declarative/fx/qfxkeyproxy.cpp
+++ b/src/declarative/fx/qfxkeyproxy.cpp
@@ -56,7 +56,7 @@ QML_DEFINE_TYPE(QFxKeyProxy,KeyProxy);
\internal
\class QFxKeyProxy
\brief The QFxKeyProxy class proxies key presses to a number of other elements.
- \ingroup utility
+ \ingroup group_utility
*/
class QFxKeyProxyPrivate
diff --git a/src/declarative/fx/qfxlayouts.cpp b/src/declarative/fx/qfxlayouts.cpp
index 455b8a5..a421fd2 100644
--- a/src/declarative/fx/qfxlayouts.cpp
+++ b/src/declarative/fx/qfxlayouts.cpp
@@ -65,7 +65,7 @@ QT_BEGIN_NAMESPACE
that you use the move, remove and add transitions when those conditions
arise.
- \ingroup layouts
+ \ingroup group_layouts
*/
QFxBaseLayout::QFxBaseLayout(AutoUpdateType at, QFxItem *parent)
: QFxItem(*(new QFxBaseLayoutPrivate), parent)
@@ -577,7 +577,7 @@ QML_DEFINE_TYPE(QFxVerticalLayout, VerticalLayout);
\internal
\class QFxVerticalLayout
\brief The QFxVerticalLayout class lines up items vertically.
- \ingroup layouts
+ \ingroup group_layouts
*/
QFxVerticalLayout::QFxVerticalLayout(QFxItem *parent)
: QFxBaseLayout(Vertical, parent)
@@ -731,7 +731,7 @@ QML_DEFINE_TYPE(QFxHorizontalLayout,HorizontalLayout);
\internal
\class QFxHorizontalLayout
\brief The QFxHorizontalLayout class lines up items horizontally.
- \ingroup layouts
+ \ingroup group_layouts
*/
QFxHorizontalLayout::QFxHorizontalLayout(QFxItem *parent)
: QFxBaseLayout(Horizontal, parent)
@@ -910,7 +910,7 @@ QML_DEFINE_TYPE(QFxGridLayout,GridLayout);
\internal
\class QFxGridLayout
\brief The QFxGridLayout class lays out items in a grid.
- \ingroup layouts
+ \ingroup group_layouts
*/
QFxGridLayout::QFxGridLayout(QFxItem *parent) :
diff --git a/src/declarative/fx/qfxmouseregion.cpp b/src/declarative/fx/qfxmouseregion.cpp
index 2bf7aa7..c6a7f96 100644
--- a/src/declarative/fx/qfxmouseregion.cpp
+++ b/src/declarative/fx/qfxmouseregion.cpp
@@ -242,7 +242,7 @@ QML_DEFINE_TYPE(QFxMouseRegion,MouseRegion);
\class QFxMouseRegion
\brief The QFxMouseRegion class provides a simple mouse handling abstraction for use within Qml.
- \ingroup coreitems
+ \ingroup group_coreitems
All QFxItem derived classes can do mouse handling but the QFxMouseRegion class exposes mouse
handling data as properties and tracks flicking and dragging of the mouse.
diff --git a/src/declarative/fx/qfxpainted.cpp b/src/declarative/fx/qfxpainted.cpp
index a1eec69..8109efa 100644
--- a/src/declarative/fx/qfxpainted.cpp
+++ b/src/declarative/fx/qfxpainted.cpp
@@ -48,7 +48,7 @@ QT_BEGIN_NAMESPACE
\class QFxPainted
\brief QFxPainted is an abstract base class for QFxView items that paint using QPainter.
- \ingroup coreitems
+ \ingroup group_coreitems
This is a convenience class allowing easy use of QPainter within a custom item.
The contents of the item are cached behind the scenes. Any time you change the contents
diff --git a/src/declarative/fx/qfxparticles.cpp b/src/declarative/fx/qfxparticles.cpp
index 3526541..939afba 100644
--- a/src/declarative/fx/qfxparticles.cpp
+++ b/src/declarative/fx/qfxparticles.cpp
@@ -110,7 +110,7 @@ QML_DEFINE_TYPE(QFxParticleMotion,ParticleMotion);
/*!
\class QFxParticleMotion
- \ingroup effects
+ \ingroup group_effects
\brief The QFxParticleMotion class is the base class for particle motion.
This class causes the particles to remain static.
@@ -160,7 +160,7 @@ void QFxParticleMotion::destroy(QFxParticle &particle)
/*!
\internal
\class QFxParticleMotionLinear
- \ingroup effects
+ \ingroup group_effects
\brief The QFxParticleMotionLinear class moves the particles linearly.
\sa QFxParticles
@@ -184,7 +184,7 @@ void QFxParticleMotionLinear::advance(QFxParticle &p, int interval)
/*!
\internal
\class QFxParticleMotionGravity
- \ingroup effects
+ \ingroup group_effects
\brief The QFxParticleMotionGravity class moves the particles towards a point.
\sa QFxParticles
@@ -259,7 +259,7 @@ void QFxParticleMotionGravity::advance(QFxParticle &p, int interval)
/*!
\internal
\class QFxParticleMotionWander
- \ingroup effects
+ \ingroup group_effects
\brief The QFxParticleMotionWander class moves particles in a somewhat random fashion.
The particles will continue roughly in the original direction, however will randomly
@@ -544,7 +544,7 @@ QML_DEFINE_TYPE(QFxParticles,Particles);
/*!
\internal
\class QFxParticles
- \ingroup effects
+ \ingroup group_effects
\brief The QFxParticles class generates and moves particles.
*/
diff --git a/src/declarative/fx/qfxpath.cpp b/src/declarative/fx/qfxpath.cpp
index 199f5fb..14c06bb 100644
--- a/src/declarative/fx/qfxpath.cpp
+++ b/src/declarative/fx/qfxpath.cpp
@@ -65,7 +65,7 @@ QML_DEFINE_TYPE(QFxPathCubic,PathCubic);
/*!
\internal
\class QFxPath
- \ingroup utility
+ \ingroup group_utility
\brief The QFxPath class defines a path.
\sa QFxPathView
*/
@@ -469,7 +469,7 @@ void QFxCurve::setY(int y)
/*!
\internal
\class QFxPathAttribute
- \ingroup utility
+ \ingroup group_utility
\brief The QFxPathAttribute class allows to set the value of an attribute at a given position in the path.
\sa QFxPath
@@ -527,7 +527,7 @@ void QFxPathAttribute::setValue(qreal value)
/*!
\internal
\class QFxPathLine
- \ingroup utility
+ \ingroup group_utility
\brief The QFxPathLine class defines a straight line.
\sa QFxPath
@@ -549,7 +549,7 @@ void QFxPathLine::addToPath(QPainterPath &path)
/*!
\internal
\class QFxPathQuad
- \ingroup utility
+ \ingroup group_utility
\brief The QFxPathQuad class defines a quadratic Bezier curve with a control point.
\sa QFxPath
@@ -613,7 +613,7 @@ void QFxPathQuad::addToPath(QPainterPath &path)
/*!
\internal
\class QFxPathCubic
- \ingroup utility
+ \ingroup group_utility
\brief The QFxPathCubic class defines a cubic Bezier curve with two control points.
\sa QFxPath
@@ -723,7 +723,7 @@ void QFxPathCubic::addToPath(QPainterPath &path)
/*!
\internal
\class QFxPathPercent
- \ingroup utility
+ \ingroup group_utility
\brief The QFxPathPercent class manipulates the way a path is interpreted.
QFxPathPercent allows you to bunch up items (or spread out items) along various
diff --git a/src/declarative/fx/qfxpathview.cpp b/src/declarative/fx/qfxpathview.cpp
index 79b0f8e..99f6e86 100644
--- a/src/declarative/fx/qfxpathview.cpp
+++ b/src/declarative/fx/qfxpathview.cpp
@@ -88,7 +88,7 @@ private:
\class QFxPathView
\brief The QFxPathView class lays out items provided by a model on a path.
- \ingroup views
+ \ingroup group_views
The model must be a \l QListModelInterface subclass.
diff --git a/src/declarative/fx/qfxpixmap.cpp b/src/declarative/fx/qfxpixmap.cpp
index 883dbdf..5a08679 100644
--- a/src/declarative/fx/qfxpixmap.cpp
+++ b/src/declarative/fx/qfxpixmap.cpp
@@ -85,7 +85,7 @@ public:
/*!
\internal
\class QFxPixmap
- \ingroup utility
+ \ingroup group_utility
\brief Enacapsultes a pixmap for QFx items.
This class is NOT reentrant.
diff --git a/src/declarative/fx/qfxrect.cpp b/src/declarative/fx/qfxrect.cpp
index 718dc76..2e84c74 100644
--- a/src/declarative/fx/qfxrect.cpp
+++ b/src/declarative/fx/qfxrect.cpp
@@ -49,7 +49,7 @@ QML_DEFINE_TYPE(QFxPen,Pen);
/*!
\internal
\class QFxPen
- \ingroup utility
+ \ingroup group_utility
\brief The QFxPen class provides a pen used for drawing rect borders on a QFxView.
Example:
@@ -126,7 +126,7 @@ QML_DEFINE_TYPE(QFxRect,Rect);
A QFxRect object can be instantiated in Qml using the tag \l Rect.
- \ingroup coreitems
+ \ingroup group_coreitems
*/
QFxRect::QFxRect(QFxItem *parent)
: QFxItem(*(new QFxRectPrivate), parent)
diff --git a/src/declarative/fx/qfxreflectionfilter.cpp b/src/declarative/fx/qfxreflectionfilter.cpp
index a541083..d67095b 100644
--- a/src/declarative/fx/qfxreflectionfilter.cpp
+++ b/src/declarative/fx/qfxreflectionfilter.cpp
@@ -111,7 +111,7 @@ public:
/*!
\internal
\class QFxReflectionFilter
- \ingroup effects
+ \ingroup group_effects
\brief The QFxReflectionFilter class allows you to add a reflection to an item.
*/
QFxReflectionFilter::QFxReflectionFilter(QObject *parent)
diff --git a/src/declarative/fx/qfxrepeater.cpp b/src/declarative/fx/qfxrepeater.cpp
index 823932c..ec1d88c 100644
--- a/src/declarative/fx/qfxrepeater.cpp
+++ b/src/declarative/fx/qfxrepeater.cpp
@@ -122,7 +122,7 @@ QML_DEFINE_TYPE(QFxRepeater,Repeater);
/*!
\internal
\class QFxRepeater
- \ingroup utility
+ \ingroup group_utility
\qmlclass Repeater
\brief The QFxRepeater class allows you to repeat a component based on a
diff --git a/src/declarative/fx/qfxshadowfilter.cpp b/src/declarative/fx/qfxshadowfilter.cpp
index d10899f..3760a4d 100644
--- a/src/declarative/fx/qfxshadowfilter.cpp
+++ b/src/declarative/fx/qfxshadowfilter.cpp
@@ -90,7 +90,7 @@ public:
/*!
\internal
\class QFxShadowFilter
- \ingroup effects
+ \ingroup group_effects
\brief The QFxShadowFilter class allows you to add a shadow to an item.
*/
@@ -128,7 +128,7 @@ void QFxShadowFilter::setXOffset(int offset)
}
/*!
- \property QFxShadowFilter::xOffset
+ \property QFxShadowFilter::yOffset
\brief the y offset of the shadow relative to the item.
*/
int QFxShadowFilter::yOffset() const
diff --git a/src/declarative/fx/qfxtext.cpp b/src/declarative/fx/qfxtext.cpp
index 9cf1bb0..bc03d7c 100644
--- a/src/declarative/fx/qfxtext.cpp
+++ b/src/declarative/fx/qfxtext.cpp
@@ -93,7 +93,7 @@ QML_DEFINE_TYPE(QFxText,Text);
\internal
\class QFxText
\qmlclass Text
- \ingroup coreitems
+ \ingroup group_coreitems
\brief The QFxText class provides a formatted text item that you can add to a QFxView.
diff --git a/src/declarative/fx/qfxtextedit.cpp b/src/declarative/fx/qfxtextedit.cpp
index ebfe799..96ebe0d 100644
--- a/src/declarative/fx/qfxtextedit.cpp
+++ b/src/declarative/fx/qfxtextedit.cpp
@@ -83,7 +83,7 @@ QML_DEFINE_TYPE(QFxTextEdit, TextEdit);
\internal
\class QFxTextEdit
\qmlclass TextEdit
- \ingroup coreitems
+ \ingroup group_coreitems
\brief The QFxTextEdit class provides an editable formatted text item that you can add to a QFxView.
diff --git a/src/declarative/fx/qfxtransform.cpp b/src/declarative/fx/qfxtransform.cpp
index 8d8e5b4..90875a6 100644
--- a/src/declarative/fx/qfxtransform.cpp
+++ b/src/declarative/fx/qfxtransform.cpp
@@ -344,7 +344,7 @@ public:
\class QFxFlipable
\brief The QFxFlipable class provides a flipable surface.
- \ingroup widgets
+ \ingroup group_widgets
QFxFlipable allows you to specify a front and a back, as well as an
axis for the flip.
diff --git a/src/declarative/fx/qfxwebview.cpp b/src/declarative/fx/qfxwebview.cpp
index c4a2750..9a9ee70 100644
--- a/src/declarative/fx/qfxwebview.cpp
+++ b/src/declarative/fx/qfxwebview.cpp
@@ -1029,7 +1029,7 @@ public:
QmlEngine *engine = webview->itemContext()->engine();
component = new QmlComponent(engine, url, this);
item = 0;
- connect(engine, SIGNAL(readyChanged()), this, SLOT(qmlLoaded()));
+ connect(engine, SIGNAL(statusChanged(Status)), this, SLOT(qmlLoaded()));
}
public Q_SLOTS: