|
QtCanpool 3.3.0
|
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 行定义.
|
default |
| void QxApp::QxPluginManagerDialogPrivate::init | ( | ) |
在文件 qxpluginmanagerdialog.cpp 第 109 行定义.
| bool QxApp::QxPluginManagerDialogPrivate::isModified | ( | ) | const |
在文件 qxpluginmanagerdialog.cpp 第 214 行定义.
| void QxApp::QxPluginManagerDialogPrivate::noteSwitch | ( | QTreeWidgetItem * | item | ) |
Records a switch the user just flipped.
在文件 qxpluginmanagerdialog.cpp 第 231 行定义.
| void QxApp::QxPluginManagerDialogPrivate::rebuild | ( | ) |
Fills the list from the manager and the switches from the settings.
在文件 qxpluginmanagerdialog.cpp 第 242 行定义.
| 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 行定义.
| void QxApp::QxPluginManagerDialogPrivate::showSpec | ( | ::QxPlugin::QxPluginSpec * | spec | ) |
Points the detail pane and the diagnostics area at spec.
在文件 qxpluginmanagerdialog.cpp 第 308 行定义.
| QxPluginSpec * QxApp::QxPluginManagerDialogPrivate::specById | ( | const QString & | id | ) | const |
在文件 qxpluginmanagerdialog.cpp 第 194 行定义.
| void QxApp::QxPluginManagerDialogPrivate::updateButtons | ( | ) |
在文件 qxpluginmanagerdialog.cpp 第 223 行定义.
| QDialogButtonBox* QxApp::QxPluginManagerDialogPrivate::m_buttons = 0 |
在文件 qxpluginmanagerdialog_p.h 第 65 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_dependencies = 0 |
在文件 qxpluginmanagerdialog_p.h 第 74 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_dependents = 0 |
在文件 qxpluginmanagerdialog_p.h 第 76 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_description = 0 |
在文件 qxpluginmanagerdialog_p.h 第 68 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_diagnostics = 0 |
在文件 qxpluginmanagerdialog_p.h 第 78 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_error = 0 |
在文件 qxpluginmanagerdialog_p.h 第 77 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_file = 0 |
在文件 qxpluginmanagerdialog_p.h 第 71 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_id = 0 |
在文件 qxpluginmanagerdialog_p.h 第 67 行定义.
| QPointer<::QxPlugin::QxPluginManager> QxApp::QxPluginManagerDialogPrivate::m_manager |
在文件 qxpluginmanagerdialog_p.h 第 61 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_optional = 0 |
在文件 qxpluginmanagerdialog_p.h 第 75 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_order = 0 |
在文件 qxpluginmanagerdialog_p.h 第 72 行定义.
| QStringList QxApp::QxPluginManagerDialogPrivate::m_savedDisabled |
What the settings held when the dialog was loaded.
在文件 qxpluginmanagerdialog_p.h 第 85 行定义.
| QStringList QxApp::QxPluginManagerDialogPrivate::m_savedEnabled |
在文件 qxpluginmanagerdialog_p.h 第 86 行定义.
| QPointer< QxCore :: QxSettings > QxApp::QxPluginManagerDialogPrivate::m_settings |
在文件 qxpluginmanagerdialog_p.h 第 62 行定义.
| QList<::QxPlugin::QxPluginSpec *> QxApp::QxPluginManagerDialogPrivate::m_specs |
The specs as the list shows them, row for row.
在文件 qxpluginmanagerdialog_p.h 第 81 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_state = 0 |
在文件 qxpluginmanagerdialog_p.h 第 73 行定义.
| QHash<QString, bool> QxApp::QxPluginManagerDialogPrivate::m_switch |
The switch of every displayed plugin, by id.
在文件 qxpluginmanagerdialog_p.h 第 83 行定义.
| QTreeWidget* QxApp::QxPluginManagerDialogPrivate::m_tree = 0 |
在文件 qxpluginmanagerdialog_p.h 第 64 行定义.
| bool QxApp::QxPluginManagerDialogPrivate::m_updating = false |
Set while the tree is being filled, so itemChanged stays quiet.
在文件 qxpluginmanagerdialog_p.h 第 88 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_vendor = 0 |
在文件 qxpluginmanagerdialog_p.h 第 70 行定义.
| QLabel* QxApp::QxPluginManagerDialogPrivate::m_version = 0 |
在文件 qxpluginmanagerdialog_p.h 第 69 行定义.