#include <PUICompatObject.hxx>
Inherits nasal::Object, and SGPropertyChangeListener.
Definition at line 22 of file PUICompatObject.hxx.
◆ ~PUICompatObject()
PUICompatObject::~PUICompatObject |
( |
| ) |
|
|
virtual |
◆ PUICompatObject()
PUICompatObject::PUICompatObject |
( |
naRef | impl, |
|
|
const std::string & | type ) |
|
protected |
◆ activateBindings()
void PUICompatObject::activateBindings |
( |
| ) |
|
|
protectedvirtual |
◆ apply()
void PUICompatObject::apply |
( |
| ) |
|
|
virtual |
◆ children()
◆ config()
naRef PUICompatObject::config |
( |
| ) |
const |
◆ createForType()
PUICompatObjectRef PUICompatObject::createForType |
( |
const std::string & | type, |
|
|
SGPropertyNode_ptr | config ) |
|
static |
◆ dialog()
◆ enabled()
bool PUICompatObject::enabled |
( |
| ) |
const |
◆ geometry()
SGRectd PUICompatObject::geometry |
( |
| ) |
const |
◆ getX()
double PUICompatObject::getX |
( |
| ) |
const |
◆ getY()
double PUICompatObject::getY |
( |
| ) |
const |
◆ hasBindings()
bool PUICompatObject::hasBindings |
( |
| ) |
const |
◆ height()
double PUICompatObject::height |
( |
| ) |
const |
◆ init()
void PUICompatObject::init |
( |
| ) |
|
|
virtual |
◆ isLive()
bool PUICompatObject::isLive |
( |
| ) |
const |
|
inline |
◆ isNodeAChildObject()
bool PUICompatObject::isNodeAChildObject |
( |
const std::string & | nm, |
|
|
int | uiVersion ) |
|
staticprotected |
◆ name()
const std::string & PUICompatObject::name |
( |
| ) |
const |
|
inline |
◆ parent()
◆ property()
naRef PUICompatObject::property |
( |
| ) |
const |
return the wrapped props,Node corresponding to our property
Definition at line 336 of file PUICompatObject.cxx.
◆ propertyValue()
naRef PUICompatObject::propertyValue |
( |
naContext | ctx | ) |
const |
return the actual Nasal value of our property: this avoids the need to create a the property ghost and props.Node wrapper in common cases
Definition at line 345 of file PUICompatObject.cxx.
◆ radioGroupIdent()
std::string PUICompatObject::radioGroupIdent |
( |
| ) |
const |
return the radio group ID associated with this widget (which is presumably a radio-button)
- Returns
- std::string the radio-group ID, or an empty string
Definition at line 232 of file PUICompatObject.cxx.
◆ setEnabled()
void PUICompatObject::setEnabled |
( |
bool | e | ) |
|
◆ setGeometry()
void PUICompatObject::setGeometry |
( |
const SGRectd & | g | ) |
|
◆ setupGhost()
void PUICompatObject::setupGhost |
( |
nasal::Hash & | guiModule | ) |
|
|
static |
◆ setVisible()
void PUICompatObject::setVisible |
( |
bool | v | ) |
|
◆ show()
naRef PUICompatObject::show |
( |
naRef | viewParent | ) |
|
◆ translatePluralString()
std::string PUICompatObject::translatePluralString |
( |
const std::string & | key, |
|
|
int | cardinal, |
|
|
const std::string & | resource = {}, |
|
|
const std::string & | domain = {} ) const |
◆ translateString()
std::string PUICompatObject::translateString |
( |
const std::string & | key, |
|
|
const std::string & | resource = {}, |
|
|
const std::string & | domain = {} ) const |
◆ type()
const std::string & PUICompatObject::type |
( |
| ) |
const |
◆ update()
void PUICompatObject::update |
( |
| ) |
|
|
virtual |
◆ updateGeometry()
void PUICompatObject::updateGeometry |
( |
const SGRectd & | newGeom | ) |
|
|
protectedvirtual |
◆ updateValue()
void PUICompatObject::updateValue |
( |
| ) |
|
|
virtual |
◆ valueChanged()
void PUICompatObject::valueChanged |
( |
SGPropertyNode * | node | ) |
|
|
overrideprotected |
◆ visible()
bool PUICompatObject::visible |
( |
| ) |
const |
◆ widgetByName()
find an object (which might be us, or a descendant) with the corresponding name, or nullptr.
- Parameters
-
Definition at line 506 of file PUICompatObject.cxx.
◆ width()
double PUICompatObject::width |
( |
| ) |
const |
◆ f_makeCompatObjectPeer
naRef f_makeCompatObjectPeer |
( |
const nasal::CallContext & | ctx | ) |
|
|
friend |
◆ FGPUICompatDialog
The documentation for this class was generated from the following files: