QSpriteSheetItem Class

(Qt3DExtras::QSpriteSheetItem)
Inherits: Qt3DCore::QNode

Properties

Public Functions

QSpriteSheetItem(Qt3DCore::QNode *parent = nullptr)
int height() const
int width() const
int x() const
int y() const

Public Slots

void setHeight(int height)
void setWidth(int width)
void setX(int x)
void setY(int y)

Signals

void heightChanged(int height)
void widthChanged(int width)
void xChanged(int x)
void yChanged(int y)

Additional Inherited Members

  • 11 static public members inherited from QObject
  • 2 protected functions inherited from Qt3DCore::QNode
  • 9 protected functions inherited from QObject

Property Documentation

height : int

Access functions:

int height() const
void setHeight(int height)

Notifier signal:

void heightChanged(int height)

width : int

Access functions:

int width() const
void setWidth(int width)

Notifier signal:

void widthChanged(int width)

x : int

Access functions:

int x() const
void setX(int x)

Notifier signal:

void xChanged(int x)

y : int

Access functions:

int y() const
void setY(int y)

Notifier signal:

void yChanged(int y)

Member Function Documentation

QSpriteSheetItem::QSpriteSheetItem(Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QSpriteSheetItem.

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.