以下成员源于类 QQuickPaintedItem 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
contentsScale
: qreal
(obsolete)
contentsSize
: QSize
(obsolete)
QRectF
|
contentsBoundingRect () const |
(obsolete)
qreal
|
contentsScale () const |
(obsolete)
QSize
|
contentsSize () const |
(obsolete)
void
|
resetContentsSize () |
(obsolete)
void
|
setContentsScale ( qreal ) |
(obsolete)
void
|
setContentsSize ( const QSize & ) |
(obsolete)
void
|
contentsScaleChanged () |
(obsolete)
void
|
contentsSizeChanged () |
This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Obsolete method for scaling the contents.
This function is provided for compatibility, use size () in combination with textureSize () to decide the size of what you are drawing.
访问函数:
qreal | contentsScale () const |
void | setContentsScale ( qreal ) |
通知程序信号:
void | contentsScaleChanged () |
另请参阅 width (), height (),和 textureSize ().
This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Obsolete method for setting the contents size.
This function is provided for compatibility, use size in combination with textureSize to decide the size of what you are drawing.
访问函数:
QSize | contentsSize () const |
void | setContentsSize ( const QSize & ) |
通知程序信号:
void | contentsSizeChanged () |
另请参阅 width (), height (),和 textureSize ().
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
This function is provided for compatibility, use size in combination with textureSize to decide the size of what you are drawing.
另请参阅 width (), height (),和 textureSize ().
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
此方便函数相当于调用 setContentsSize (QSize()).