![]() |
VR-Forces Developer's Guide
|
Simple widget that, if a location is set, will see if there is an entity under that location, and, if there is will set the name of the entity into the widget as something that could be embarked upon.

Classes | |
| struct | ScribeBoxInfo |
Public Member Functions | |
| DtEmbarkationWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtEmbarkationWidget () |
| virtual void | setLocation (const DtVector &) |
| virtual void | enable () |
| virtual void | disable () |
| virtual void | setCheckCanEmbarkOn (bool) |
| virtual bool | checkCanEmbarkOn () const |
| virtual void | setIdsToIgnore (const std::vector< makVrv::DtUniqueID > &) |
| virtual const std::vector < makVrv::DtUniqueID > & | idsToIgnore () const |
| virtual void | setEmbarkInSlotIfAvailableVisible (bool b) |
| virtual void | setEmbarkedOn (makVrv::DtUniqueID) |
| virtual void | setStayEmbarkedIfEmbarked (bool) |
| bool | stayEmbarkedIfEmbarked () const |
Public Attributes | |
| boost::signals2::signal< void(makVrv::DtUniqueID, bool)> | signal_embarkInformationChanged |
| QCheckBox * | myEnableAutomaticEmbarkation |
| QLabel * | myEmbarkOn |
| QCheckBox * | myEmbarkInSlotIfAvailable |
Protected Types | |
| typedef std::map < makVrv::DtUniqueID, std::vector< ScribeBoxInfo > > | ScribeBoxHighlightInfo |
Protected Slots | |
| virtual void | onEmbarkOnChanged () |
| virtual void | onEmbarkInSlotIfAvailableChanged () |
Protected Member Functions | |
| virtual void | setHighlight (makVrv::DtUniqueID, bool) |
| virtual void | setCurrentObserver (makVrv::DtObserver *observer) |
| virtual void | onCurrentObserverChanged (makVrv::DtInputDriver *driver, makVrv::DtObserver *observer) |
| virtual void | onObserverModeChanged (makVrv::DtObserver *observer, int mode) |
| virtual void | restoreOriginalHighlightInformation () |
| virtual makVrv::DtOsgScribeBoxModel * | scribeBoxModelFor (makVrv::DtUniqueID displayId) |
|
protected |
| makVrf::DtEmbarkationWidget::DtEmbarkationWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
CTOR.
|
virtual |
|
virtual |
Check to see if there is anything to embark on here at any of the locations. Locations are in local database coordinates.
|
virtual |
Whether or not the widget will update in response to setLocation sets.
|
virtual |
|
virtual |
Sets whether or not to check if this object the point is over can be embarked on. Default is false (i.e always embark)
|
virtual |
|
virtual |
The ids to ignore when doing the embark test.
|
virtual |
|
virtual |
|
virtual |
Sets to specifically embark on the given object id. If the object id IS NOT the same as whatever this widget thinks it should be embarked on, the automatic embarkation will be turned off.
|
virtual |
Set to true if this object should always stay embarked on the original object, regardless of where it moves to. This can be used for environmentals that can trail behind embarked objects.
|
inline |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
Sets whether or not to highlight.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Returns the scribe box mode (if exists) for the current display id.
| boost::signals2::signal<void (makVrv::DtUniqueID, bool)> makVrf::DtEmbarkationWidget::signal_embarkInformationChanged |
| QCheckBox* makVrf::DtEmbarkationWidget::myEnableAutomaticEmbarkation |
| QLabel* makVrf::DtEmbarkationWidget::myEmbarkOn |
| QCheckBox* makVrf::DtEmbarkationWidget::myEmbarkInSlotIfAvailable |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |