Obsolete Members for QQuickPaintedItem
クラスQQuickPaintedItem の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。
プロパティ
(deprecated)
contentsScale : qreal(deprecated)
contentsSize : QSize
パブリック機能
(deprecated) QRectF | contentsBoundingRect() const |
(deprecated) qreal | contentsScale() const |
(deprecated) QSize | contentsSize() const |
(deprecated) void | resetContentsSize() |
(deprecated) void | setContentsScale(qreal) |
(deprecated) void | setContentsSize(const QSize &) |
シグナル
(deprecated) void | contentsScaleChanged() |
(deprecated) void | contentsSizeChanged() |
プロパティ・ドキュメンテーション
[deprecated]
contentsScale : qreal
このプロパティは非推奨です。新しいコードでは使用しないことを強くお勧めします。
内容を拡大縮小する方法は廃止されました。
この関数は互換性のために提供されています。textureSize() と組み合わせてsize() を使用して、描画するもののサイズを決定してください。
アクセス関数:
qreal | contentsScale() const |
void | setContentsScale(qreal) |
通知シグナル:
void | contentsScaleChanged() |
width ()、height ()、textureSize ()も参照 。
[deprecated]
contentsSize : QSize
このプロパティは非推奨です。新しいコードでは使用しないことを強くお勧めします。
コンテンツ・サイズの設定方法は廃止されました。
この関数は互換性のために提供されています。textureSize と組み合わせて size を使用して、描画するもののサイズを決定してください。
アクセス関数:
QSize | contentsSize() const |
void | setContentsSize(const QSize &) |
通知シグナル:
void | contentsSizeChanged() |
width(),height(),textureSize()も参照 。
メンバ関数ドキュメント
[deprecated]
QRectF QQuickPaintedItem::contentsBoundingRect() const
この関数は非推奨である。新しいコードでは使用しないことを強くお勧めします。
この関数は互換性のために提供されています。描画するもののサイズを決めるには、textureSize と組み合わせて size を使用してください。
width(),height(),textureSize()も参照 。
[deprecated]
void QQuickPaintedItem::resetContentsSize()
この関数は非推奨である。新しいコードでは使用しないことを強くお勧めします。
この便利な関数は、setContentsSize(QSize()) を呼び出すのと同じです。
© 2025 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.