MIME 유형 브라우저

MIME 타입의 계층 구조를 표시하고 파일의 MIME 타입을 결정하는 데 사용할 수 있습니다.

Screenshot of the MIME Type Browser Example

MIME타입 브라우저는 Qt의 MIME API의 일반적인 사용법을 보여주는 예제라기보다는 MIME 타입을 탐색하기 위한 도구입니다.

예제 실행하기

에서 예제를 실행하려면 Qt Creator에서 Welcome 모드를 열고 Examples 에서 예제를 선택합니다. 자세한 내용은 예제 빌드 및 실행을 참조하십시오.

메인 창

메인 창은 왼쪽에 QStandardItemModel 을 상속하는 MimetypeModel 모델을 기반으로 MIME 유형의 계층 구조를 표시하는 트리 보기와 오른쪽에 선택한 MIME 유형에 대한 자세한 정보를 표시하는 QTextBrowser 으로 구성됩니다.

메인 메뉴에는 파일을 선택한 다음 해당 MIME 유형을 표시할 수 있는 File/Detect File Type 옵션이 있습니다.

자세한 내용은 QMimeTypeQMimeDatabase 을 참조하세요.

예제 프로젝트 @ code.qt.io

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