이 페이지에서

인스턴스 교체

컴포넌트 인스턴스 내의 레이어에서 인스턴스 스왑을 사용했습니다.

Reset overrides 를 선택하여 인스턴스 스왑을 되돌리고, 스왑이 필요 없도록 메인 컴포넌트를 변경하십시오.

인스턴스 스왑 없이 컴포넌트를 구성하는 방법

다음 예제는 인스턴스 스왑을 사용하지 않고 구축된 아이콘 버튼 컴포넌트를 보여줍니다. 변형으로 서로 다른 아이콘을 가진 아이콘 컴포넌트의 인스턴스가 ‘ IconButton ’ 컴포넌트 내에 중첩되어 있습니다.

중첩된 아이콘 인스턴스의 속성은 컴포넌트 속성 패널에 표시됩니다.

인스턴스 스왑 없이 컴포넌트 생성하기

중첩된 아이콘 인스턴스의 속성이 컴포넌트 속성 패널에 표시되면, 아이콘 컴포넌트의 변형 중에서 다른 아이콘을 쉽게 선택할 수 있습니다.

인스턴스 스왑이 없는 버튼

IconButton의 인스턴스.

‘변환 문제 해결’, ‘컴포넌트’ 및 ‘변형’항목도 참조하십시오 .

© 2026 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.