Core::IOptionsPage Class
class Core::IOptionsPageIOptionsPage 클래스는 ‘ Options ’ 대화 상자(macOS에서는 ‘ Preferences ’라고 함)에 페이지를 제공하기 위한 인터페이스입니다. 더 보기...
| Header: | #include <coreplugin/dialogs/ioptionspage.h> |
공개 함수
| IOptionsPage(bool registerGlobally = true) | |
| Utils::Id | category() const |
| Utils::FilePath | categoryIconPath() const |
| QString | displayCategory() const |
| QString | displayName() const |
| Utils::Id | id() const |
정적 공용 멤버
| const QList<Core::IOptionsPage *> | allOptionsPages() |
| void | registerCategory(Utils::Id id, const QString &displayName, const Utils::FilePath &iconPath) |
보호된 함수
| void | setDisplayName(const QString &displayName) |
| void | setId(Utils::Id id) |
멤버 함수 문서
[explicit] IOptionsPage::IOptionsPage(bool registerGlobally = true)
registerGlobally 가 true 인 경우, 옵션 페이지를 생성하고 이를 전역 옵션 페이지 풀에 등록합니다.
[static] const QList<Core::IOptionsPage *> IOptionsPage::allOptionsPages()
모든 옵션 페이지 목록을 반환합니다.
Utils::Id IOptionsPage::category() const
옵션 페이지가 표시되어야 할 카테고리의 고유 ID를 반환합니다. 이 ID는 ‘ Options ’ 대화 상자의 왼쪽에 있는 목록을 정렬하는 데 사용됩니다.
Utils::FilePath IOptionsPage::categoryIconPath() const
옵션 페이지의 카테고리 아이콘 경로를 반환합니다. 이 아이콘은 해당 경로에서 불러와 ‘ Options ’ 대화 상자의 왼쪽 목록에 표시됩니다.
QString IOptionsPage::displayCategory() const
옵션 페이지의 번역된 카테고리 이름을 반환합니다. 이 이름은 ‘ Options ’ 대화 상자의 왼쪽 목록에 표시됩니다.
QString IOptionsPage::displayName() const
옵션 페이지의 번역된 표시 이름을 반환합니다.
setDisplayName()도 참조하십시오 .
Utils::Id IOptionsPage::id() const
옵션 페이지를 참조하기 위한 고유 식별자를 반환합니다.
setId()도 참조하십시오 .
[static] void IOptionsPage::registerCategory(Utils::Id id, const QString &displayName, const Utils::FilePath &iconPath)
ID가 id 이고, 사용자에게 표시되는 이름이 displayName 이며, iconPath 로 지정된 아이콘을 가진 카테고리를 등록합니다.
[protected] void IOptionsPage::setDisplayName(const QString &displayName)
displayName 를 옵션 페이지의 표시 이름으로 설정합니다.
displayName()도 참조하십시오 .
[protected] void IOptionsPage::setId(Utils::Id id)
옵션 페이지의 ‘ id ’를 설정합니다.
id()도 참조하십시오 .
Copyright © The Qt Company Ltd. and other contributors. 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.
