このページでは

Core::IOptionsPage Class

class Core::IOptionsPage

IOptionsPage クラスは、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.