|
OpenMW
|
#include <proxyblock.hpp>
Public Member Functions | |
| ProxyBlock (QWidget *parent=0) | |
| ProxyBlock (ItemBlock *proxyItemBlock, QWidget *parent=0) | |
| void | addSetting (ItemBlock *settingBlock, QStringList *proxyList) |
| Add a block that contains a proxied setting to the proxy block. | |
| int | build (GroupBlockDef *def) |
| build the gorup block based on passed definition | |
| CSMSettings::SettingList * | getSettings () |
| retrieve setting list local to the group block | |
| bool | updateSettings (const CSMSettings::SettingMap &settings) |
| Update settings local to the proxy block pushed from application level. | |
| bool | updateBySignal (const QString &name, const QString &value, bool &doEmit) |
| callback function triggered when update to the application level is signaled. | |
Private Slots | |
| void | slotUpdateProxySetting (const QString &name, const QString &value) |
Private Member Functions | |
| ItemBlock * | getProxiedItemBlock (const QString &name) |
| return the item block of a proxied setting | |
| bool | updateByProxiedSettings (const CSMSettings::SettingMap *settings=0) |
| update the proxy setting with data from the proxied settings | |
| bool | updateProxiedSettings () |
| update proxied settings with data from the proxy setting | |
Private Attributes | |
| ItemBlockList | mProxiedItemBlockList |
| TODO: Combine mProxyItemBlockList and mProxyList. | |
| ProxyList | mProxyList |
| QStringList * | mValueList |
| CSVSettings::ProxyBlock::ProxyBlock | ( | QWidget * | parent = 0 | ) | [explicit] |
| CSVSettings::ProxyBlock::ProxyBlock | ( | ItemBlock * | proxyItemBlock, |
| QWidget * | parent = 0 |
||
| ) | [explicit] |
| void CSVSettings::ProxyBlock::addSetting | ( | ItemBlock * | settingBlock, |
| QStringList * | proxyList | ||
| ) |
Add a block that contains a proxied setting to the proxy block.
| int CSVSettings::ProxyBlock::build | ( | GroupBlockDef * | def | ) |
build the gorup block based on passed definition
Reimplemented from CSVSettings::GroupBlock.
| CSVSettings::ItemBlock * CSVSettings::ProxyBlock::getProxiedItemBlock | ( | const QString & | name | ) | [private] |
return the item block of a proxied setting
| CSMSettings::SettingList* CSVSettings::ProxyBlock::getSettings | ( | ) | [inline, virtual] |
retrieve setting list local to the group block
Reimplemented from CSVSettings::GroupBlock.
| void CSVSettings::ProxyBlock::slotUpdateProxySetting | ( | const QString & | name, |
| const QString & | value | ||
| ) | [private, slot] |
| bool CSVSettings::ProxyBlock::updateByProxiedSettings | ( | const CSMSettings::SettingMap * | settings = 0 | ) | [private] |
update the proxy setting with data from the proxied settings
| bool CSVSettings::ProxyBlock::updateBySignal | ( | const QString & | name, |
| const QString & | value, | ||
| bool & | doEmit | ||
| ) | [virtual] |
callback function triggered when update to the application level is signaled.
Reimplemented from CSVSettings::AbstractBlock.
| bool CSVSettings::ProxyBlock::updateProxiedSettings | ( | ) | [private] |
update proxied settings with data from the proxy setting
| bool CSVSettings::ProxyBlock::updateSettings | ( | const CSMSettings::SettingMap & | settings | ) | [virtual] |
Update settings local to the proxy block pushed from application level.
Reimplemented from CSVSettings::GroupBlock.
TODO: Combine mProxyItemBlockList and mProxyList.
ProxyList CSVSettings::ProxyBlock::mProxyList [private] |
QStringList* CSVSettings::ProxyBlock::mValueList [private] |
1.7.6.1