PeriDyno 1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
dyno::QVehicleInfoWidget Class Reference

#include <QVehicleInfoWidget.h>

Inheritance diagram for dyno::QVehicleInfoWidget:
Collaboration diagram for dyno::QVehicleInfoWidget:

Public Slots

void updateField ()
 Called when the widget is updated.
 
void updateWidget ()
 Called when the field is updated.
 
void updateJointComboBox ()
 Update text and key of the comboxbox.
 
void updateVector (int)
 Update Configuration Data;.
 
void updateVector ()
 
void bulidQueryMap ()
 
void updateJoint_RigidObjID ()
 
void addRigidBodyItemWidget ()
 
void addRigidBodyItemWidgetByID (int objId)
 
void addJointItemWidget ()
 
void removeRigidBodyItemWidgetById (int id)
 
void removeJointItemWidgetById (int id)
 

Signals

void vectorChange ()
 Data Change.
 
- Signals inherited from dyno::QFieldWidget
void fieldChanged ()
 

Public Member Functions

DECLARE_FIELD_WIDGET QVehicleInfoWidget (FBase *field)
 
 ~QVehicleInfoWidget ()
 
- Public Member Functions inherited from dyno::QFieldWidget
 QFieldWidget (FBase *field)
 
 QFieldWidget ()
 
virtual ~QFieldWidget ()
 
FBasefield ()
 
void clearCallBackFunc ()
 

Private Member Functions

void setJointNameComboxEmpty (mJointItemLayout *item, bool emitSignal, int select, int index)
 
int getRigidItemObjID (std::string str)
 
void updateJointLayoutComboxText (mJointItemLayout *itemLayout)
 
void createItemWidget (const VehicleRigidBodyInfo &rigidBody)
 
void createJointItemWidget (const VehicleJointInfo &rigidBody)
 
void connectJointWidgetSignal (mJointItemLayout *itemLayout)
 
void connectRigidWidgetSignal (RigidBodyItemLayout *itemLayout)
 

Private Attributes

VehicleBind mVec
 
QVBoxLayout * mMainLayout = nullptr
 
QVBoxLayout * mRigidsLayout = nullptr
 
QVBoxLayout * mJointsLayout = nullptr
 
std::vector< RigidBodyItemLayout * > mRigidBodyItems
 
std::vector< mJointItemLayout * > mJointItems
 
std::map< std::string, int > mName2RigidId
 
std::map< int, std::string > mObjID2Name
 
int mRigidCounter = 0
 

Detailed Description

Definition at line 278 of file QVehicleInfoWidget.h.

Constructor & Destructor Documentation

◆ QVehicleInfoWidget()

dyno::QVehicleInfoWidget::QVehicleInfoWidget ( FBase * field)

Definition at line 568 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~QVehicleInfoWidget()

dyno::QVehicleInfoWidget::~QVehicleInfoWidget ( )

Definition at line 697 of file QVehicleInfoWidget.cpp.

Member Function Documentation

◆ addJointItemWidget

void dyno::QVehicleInfoWidget::addJointItemWidget ( )
slot

Definition at line 913 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addRigidBodyItemWidget

void dyno::QVehicleInfoWidget::addRigidBodyItemWidget ( )
slot

Definition at line 877 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addRigidBodyItemWidgetByID

void dyno::QVehicleInfoWidget::addRigidBodyItemWidgetByID ( int objId)
slot

Definition at line 883 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bulidQueryMap

void dyno::QVehicleInfoWidget::bulidQueryMap ( )
slot

Definition at line 721 of file QVehicleInfoWidget.cpp.

Here is the caller graph for this function:

◆ connectJointWidgetSignal()

void dyno::QVehicleInfoWidget::connectJointWidgetSignal ( mJointItemLayout * itemLayout)
private

Definition at line 981 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ connectRigidWidgetSignal()

void dyno::QVehicleInfoWidget::connectRigidWidgetSignal ( RigidBodyItemLayout * itemLayout)
private

Definition at line 991 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createItemWidget()

void dyno::QVehicleInfoWidget::createItemWidget ( const VehicleRigidBodyInfo & rigidBody)
private

Definition at line 959 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createJointItemWidget()

void dyno::QVehicleInfoWidget::createJointItemWidget ( const VehicleJointInfo & rigidBody)
private

Definition at line 972 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRigidItemObjID()

int dyno::QVehicleInfoWidget::getRigidItemObjID ( std::string str)
private

Definition at line 927 of file QVehicleInfoWidget.cpp.

Here is the caller graph for this function:

◆ removeJointItemWidgetById

void dyno::QVehicleInfoWidget::removeJointItemWidgetById ( int id)
slot

Definition at line 851 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeRigidBodyItemWidgetById

void dyno::QVehicleInfoWidget::removeRigidBodyItemWidgetById ( int id)
slot

Definition at line 897 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setJointNameComboxEmpty()

void dyno::QVehicleInfoWidget::setJointNameComboxEmpty ( mJointItemLayout * item,
bool emitSignal,
int select,
int index )
private

Definition at line 793 of file QVehicleInfoWidget.cpp.

Here is the caller graph for this function:

◆ updateField

void dyno::QVehicleInfoWidget::updateField ( )
slot

Called when the widget is updated.

Definition at line 686 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateJoint_RigidObjID

void dyno::QVehicleInfoWidget::updateJoint_RigidObjID ( )
slot

Definition at line 865 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateJointComboBox

void dyno::QVehicleInfoWidget::updateJointComboBox ( )
slot

Update text and key of the comboxbox.

Definition at line 733 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateJointLayoutComboxText()

void dyno::QVehicleInfoWidget::updateJointLayoutComboxText ( mJointItemLayout * itemLayout)
private

Definition at line 937 of file QVehicleInfoWidget.cpp.

Here is the caller graph for this function:

◆ updateVector [1/2]

void dyno::QVehicleInfoWidget::updateVector ( )
slot

Definition at line 819 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateVector [2/2]

void dyno::QVehicleInfoWidget::updateVector ( int )
inlineslot

Update Configuration Data;.

Definition at line 311 of file QVehicleInfoWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateWidget

void dyno::QVehicleInfoWidget::updateWidget ( )
slot

Called when the field is updated.

Definition at line 704 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vectorChange

void dyno::QVehicleInfoWidget::vectorChange ( )
signal

Data Change.

Here is the caller graph for this function:

Member Data Documentation

◆ mJointItems

std::vector<mJointItemLayout*> dyno::QVehicleInfoWidget::mJointItems
private

Definition at line 353 of file QVehicleInfoWidget.h.

◆ mJointsLayout

QVBoxLayout* dyno::QVehicleInfoWidget::mJointsLayout = nullptr
private

Definition at line 351 of file QVehicleInfoWidget.h.

◆ mMainLayout

QVBoxLayout* dyno::QVehicleInfoWidget::mMainLayout = nullptr
private

Definition at line 349 of file QVehicleInfoWidget.h.

◆ mName2RigidId

std::map<std::string, int> dyno::QVehicleInfoWidget::mName2RigidId
private

Definition at line 356 of file QVehicleInfoWidget.h.

◆ mObjID2Name

std::map<int, std::string> dyno::QVehicleInfoWidget::mObjID2Name
private

Definition at line 357 of file QVehicleInfoWidget.h.

◆ mRigidBodyItems

std::vector<RigidBodyItemLayout*> dyno::QVehicleInfoWidget::mRigidBodyItems
private

Definition at line 352 of file QVehicleInfoWidget.h.

◆ mRigidCounter

int dyno::QVehicleInfoWidget::mRigidCounter = 0
private

Definition at line 359 of file QVehicleInfoWidget.h.

◆ mRigidsLayout

QVBoxLayout* dyno::QVehicleInfoWidget::mRigidsLayout = nullptr
private

Definition at line 350 of file QVehicleInfoWidget.h.

◆ mVec

VehicleBind dyno::QVehicleInfoWidget::mVec
private

Definition at line 346 of file QVehicleInfoWidget.h.


The documentation for this class was generated from the following files: