42 #ifndef QDECLARATIVEVIEW_H 43 #define QDECLARATIVEVIEW_H 45 #include <QtCore/qdatetime.h> 46 #include <QtCore/qurl.h> 47 #include <QtGui/qgraphicssceneevent.h> 48 #include <QtGui/qgraphicsview.h> 49 #include <QtGui/qwidget.h> 50 #include <QtDeclarative/qdeclarativedebug.h> 77 void setSource(
const QUrl&);
94 QSize initialSize()
const;
97 void sceneResized(
QSize size);
101 void continueExecute();
107 virtual void setRootObject(
QObject *obj);
119 #endif // QDECLARATIVEVIEW_H
QSize sizeHint() const
Reimplemented Function
#define QT_END_NAMESPACE
This macro expands to.
The QDeclarativeView class provides a widget for displaying a Qt Declarative user interface...
ResizeMode
This enum specifies how to resize the view.
virtual void timerEvent(QTimerEvent *)
This event handler can be reimplemented in a subclass to receive timer events for the object...
static LibLoadStatus status
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
static QObject * rootObject
The QUrl class provides a convenient interface for working with URLs.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void resizeEvent(QResizeEvent *event)
Reimplemented Function
The QResizeEvent class contains event parameters for resize events.
ResizeMode resizeMode
whether the view should resize the canvas contents
The QDeclarativeError class encapsulates a QML error.
virtual bool eventFilter(QObject *, QEvent *)
Filters events if this object has been installed as an event filter for the watched object...
#define Q_DECLARATIVE_EXPORT
The QTimerEvent class contains parameters that describe a timer event.
The QDeclarativeEngine class provides an environment for instantiating QML components.
Status status
The component's current status.
The QDeclarativeContext class defines a context within a QML engine.
QUrl source
The URL of the source of the QML component.
The QGraphicsView class provides a widget for displaying the contents of a QGraphicsScene.
void paintEvent(QPaintEvent *event)
Reimplemented Function
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
Status
Specifies the loading status of the QDeclarativeView.
The QPaintEvent class contains event parameters for paint events.
The QGraphicsObject class provides a base class for all graphics items that require signals...
The QEvent class is the base class of all event classes.