42 #include <QtCore/qpropertyanimation.h> 43 #include <QtGui/qwidget.h> 44 #include <QtGui/private/qmainwindowlayout_p.h> 56 #ifndef QT_NO_ANIMATION 65 #ifndef QT_NO_MAINWINDOW 70 #endif //QT_NO_ANIMATION 73 #ifndef QT_NO_ANIMATION 79 #endif //QT_NO_ANIMATION 87 animate = animate && !r.
isNull() && !_final_geometry.
isNull();
93 #ifndef QT_NO_ANIMATION 108 #ifndef QT_NO_MAINWINDOW 110 #endif //QT_NO_MAINWINDOW 111 #endif //QT_NO_ANIMATION bool isNull() const
Returns true if the rectangle is a null rectangle, otherwise returns false.
The QPropertyAnimation class animates Qt properties.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
#define it(className, varName)
void setEasingCurve(const QEasingCurve &easing)
void start(QAbstractAnimation::DeletionPolicy policy=KeepWhenStopped)
Starts the animation.
iterator find(const Key &key)
Returns an iterator pointing to the item with key key in the map.
int bottom() const
Returns the y-coordinate of the rectangle's bottom edge.
T * qobject_cast(QObject *object)
void setEndValue(const QVariant &value)
QObject * targetObject
the target QObject for this animation.
void stop()
Stops the animation.
QObject * sender() const
Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; othe...
void setDuration(int msecs)
#define QT_BEGIN_NAMESPACE
This macro expands to.
static bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
Creates a connection of the given type from the signal in the sender object to the method in the rece...
const_iterator constEnd() const
Returns a const STL-style iterator pointing to the imaginary item after the last item in the map...
int right() const
Returns the x-coordinate of the rectangle's right edge.
iterator end()
Returns an STL-style iterator pointing to the imaginary item after the last item in the map...
The QPoint class defines a point in the plane using integer precision.
bool isEmpty() const
Returns true if the map contains no items; otherwise returns false.
The QRect class defines a rectangle in the plane using integer precision.
const_iterator constFind(const Key &key) const
Returns an const iterator pointing to the item with key key in the map.
iterator erase(iterator it)
Removes the (key, value) pair pointed to by the iterator pos from the map, and returns an iterator to...
bool isValid() const
Returns true if the rectangle is valid, otherwise returns false.
void animationFinished(QWidget *widget)
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
friend class const_iterator