QtCanpool 3.3.0
载入中...
搜索中...
未找到
QxApp::QxPluginManagerDialogPrivate类 参考

The state behind QxPluginManagerDialog: the list, the switches it shows and the two lists the settings hold. 更多...

#include <qxapp/qxpluginmanagerdialog_p.h>

Public 成员函数

 QxPluginManagerDialogPrivate ()
 
void init ()
 
void rebuild ()
 Fills the list from the manager and the switches from the settings.
 
void showSpec (::QxPlugin::QxPluginSpec *spec)
 Points the detail pane and the diagnostics area at spec.
 
::QxPlugin::QxPluginSpec * specById (const QString &id) const
 
bool savedState (::QxPlugin::QxPluginSpec *spec) const
 What the plugin id would do if the settings were applied as they are.
 
bool isModified () const
 
void updateButtons ()
 
void noteSwitch (QTreeWidgetItem *item)
 Records a switch the user just flipped.
 

Public 属性

QPointer<::QxPlugin::QxPluginManager > m_manager
 
QPointer< QxCore ::QxSettings > m_settings
 
QTreeWidget * m_tree = 0
 
QDialogButtonBox * m_buttons = 0
 
QLabel * m_id = 0
 
QLabel * m_description = 0
 
QLabel * m_version = 0
 
QLabel * m_vendor = 0
 
QLabel * m_file = 0
 
QLabel * m_order = 0
 
QLabel * m_state = 0
 
QLabel * m_dependencies = 0
 
QLabel * m_optional = 0
 
QLabel * m_dependents = 0
 
QLabel * m_error = 0
 
QLabel * m_diagnostics = 0
 
QList<::QxPlugin::QxPluginSpec * > m_specs
 The specs as the list shows them, row for row.
 
QHash< QString, bool > m_switch
 The switch of every displayed plugin, by id.
 
QStringList m_savedDisabled
 What the settings held when the dialog was loaded.
 
QStringList m_savedEnabled
 
bool m_updating = false
 Set while the tree is being filled, so itemChanged stays quiet.
 

详细描述

The state behind QxPluginManagerDialog: the list, the switches it shows and the two lists the settings hold.

The switch of a plugin lives in m_switch while the dialog is open, so reading it back does not mean walking the tree. m_saved* is what the settings held when the dialog was last loaded, which is what isModified() and revert() compare against - the switches themselves are never written until apply().

在文件 qxpluginmanagerdialog_p.h 第 40 行定义.

构造及析构函数说明

◆ QxPluginManagerDialogPrivate()

QxApp::QxPluginManagerDialogPrivate::QxPluginManagerDialogPrivate ( )
default

成员函数说明

◆ init()

void QxApp::QxPluginManagerDialogPrivate::init ( )

在文件 qxpluginmanagerdialog.cpp 第 109 行定义.

◆ isModified()

bool QxApp::QxPluginManagerDialogPrivate::isModified ( ) const

在文件 qxpluginmanagerdialog.cpp 第 214 行定义.

◆ noteSwitch()

void QxApp::QxPluginManagerDialogPrivate::noteSwitch ( QTreeWidgetItem *  item)

Records a switch the user just flipped.

在文件 qxpluginmanagerdialog.cpp 第 231 行定义.

◆ rebuild()

void QxApp::QxPluginManagerDialogPrivate::rebuild ( )

Fills the list from the manager and the switches from the settings.

在文件 qxpluginmanagerdialog.cpp 第 242 行定义.

◆ savedState()

bool QxApp::QxPluginManagerDialogPrivate::savedState ( ::QxPlugin::QxPluginSpec *  spec) const

What the plugin id would do if the settings were applied as they are.

在文件 qxpluginmanagerdialog.cpp 第 203 行定义.

◆ showSpec()

void QxApp::QxPluginManagerDialogPrivate::showSpec ( ::QxPlugin::QxPluginSpec *  spec)

Points the detail pane and the diagnostics area at spec.

在文件 qxpluginmanagerdialog.cpp 第 308 行定义.

◆ specById()

QxPluginSpec * QxApp::QxPluginManagerDialogPrivate::specById ( const QString &  id) const

在文件 qxpluginmanagerdialog.cpp 第 194 行定义.

◆ updateButtons()

void QxApp::QxPluginManagerDialogPrivate::updateButtons ( )

在文件 qxpluginmanagerdialog.cpp 第 223 行定义.

类成员变量说明

◆ m_buttons

QDialogButtonBox* QxApp::QxPluginManagerDialogPrivate::m_buttons = 0

在文件 qxpluginmanagerdialog_p.h 第 65 行定义.

◆ m_dependencies

QLabel* QxApp::QxPluginManagerDialogPrivate::m_dependencies = 0

在文件 qxpluginmanagerdialog_p.h 第 74 行定义.

◆ m_dependents

QLabel* QxApp::QxPluginManagerDialogPrivate::m_dependents = 0

在文件 qxpluginmanagerdialog_p.h 第 76 行定义.

◆ m_description

QLabel* QxApp::QxPluginManagerDialogPrivate::m_description = 0

在文件 qxpluginmanagerdialog_p.h 第 68 行定义.

◆ m_diagnostics

QLabel* QxApp::QxPluginManagerDialogPrivate::m_diagnostics = 0

在文件 qxpluginmanagerdialog_p.h 第 78 行定义.

◆ m_error

QLabel* QxApp::QxPluginManagerDialogPrivate::m_error = 0

在文件 qxpluginmanagerdialog_p.h 第 77 行定义.

◆ m_file

QLabel* QxApp::QxPluginManagerDialogPrivate::m_file = 0

在文件 qxpluginmanagerdialog_p.h 第 71 行定义.

◆ m_id

QLabel* QxApp::QxPluginManagerDialogPrivate::m_id = 0

在文件 qxpluginmanagerdialog_p.h 第 67 行定义.

◆ m_manager

QPointer<::QxPlugin::QxPluginManager> QxApp::QxPluginManagerDialogPrivate::m_manager

在文件 qxpluginmanagerdialog_p.h 第 61 行定义.

◆ m_optional

QLabel* QxApp::QxPluginManagerDialogPrivate::m_optional = 0

在文件 qxpluginmanagerdialog_p.h 第 75 行定义.

◆ m_order

QLabel* QxApp::QxPluginManagerDialogPrivate::m_order = 0

在文件 qxpluginmanagerdialog_p.h 第 72 行定义.

◆ m_savedDisabled

QStringList QxApp::QxPluginManagerDialogPrivate::m_savedDisabled

What the settings held when the dialog was loaded.

在文件 qxpluginmanagerdialog_p.h 第 85 行定义.

◆ m_savedEnabled

QStringList QxApp::QxPluginManagerDialogPrivate::m_savedEnabled

在文件 qxpluginmanagerdialog_p.h 第 86 行定义.

◆ m_settings

QPointer< QxCore :: QxSettings > QxApp::QxPluginManagerDialogPrivate::m_settings

在文件 qxpluginmanagerdialog_p.h 第 62 行定义.

◆ m_specs

QList<::QxPlugin::QxPluginSpec *> QxApp::QxPluginManagerDialogPrivate::m_specs

The specs as the list shows them, row for row.

在文件 qxpluginmanagerdialog_p.h 第 81 行定义.

◆ m_state

QLabel* QxApp::QxPluginManagerDialogPrivate::m_state = 0

在文件 qxpluginmanagerdialog_p.h 第 73 行定义.

◆ m_switch

QHash<QString, bool> QxApp::QxPluginManagerDialogPrivate::m_switch

The switch of every displayed plugin, by id.

在文件 qxpluginmanagerdialog_p.h 第 83 行定义.

◆ m_tree

QTreeWidget* QxApp::QxPluginManagerDialogPrivate::m_tree = 0

在文件 qxpluginmanagerdialog_p.h 第 64 行定义.

◆ m_updating

bool QxApp::QxPluginManagerDialogPrivate::m_updating = false

Set while the tree is being filled, so itemChanged stays quiet.

在文件 qxpluginmanagerdialog_p.h 第 88 行定义.

◆ m_vendor

QLabel* QxApp::QxPluginManagerDialogPrivate::m_vendor = 0

在文件 qxpluginmanagerdialog_p.h 第 70 行定义.

◆ m_version

QLabel* QxApp::QxPluginManagerDialogPrivate::m_version = 0

在文件 qxpluginmanagerdialog_p.h 第 69 行定义.


该类的文档由以下文件生成: