PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::mJointItemLayout Class Reference

#include <QVehicleInfoWidget.h>

Inheritance diagram for dyno::mJointItemLayout:
Collaboration diagram for dyno::mJointItemLayout:

Public Slots

void emitRemove ()
 
void emitChange (int v)
 
void createJointDetailWidget ()
 Create Joint Detail Panel.
 

Signals

void removeByElementIndexId (int)
 
void valueChange (int)
 Joint Data Change.
 

Public Member Functions

 mJointItemLayout (int id)
 
 ~mJointItemLayout ()
 
VehicleJointInfo value ()
 Get current RigidBodyInfo.
 
void setValue (const VehicleJointInfo &v)
 Initialization RigidBodyInfo.
 
void setId (int id)
 Index in the current Joint list.
 

Public Attributes

QComboBox * mNameInput1 = nullptr
 
QComboBox * mNameInput2 = nullptr
 
int mName1_ObjID = -1
 
int mName2_ObjID = -1
 

Private Attributes

int mElementIndex = -1
 
QComboBox * mTypeInput = nullptr
 
QLabel * mIndex = nullptr
 
QCheckBox * mUseMoter = nullptr
 
QDoubleSpinBox * mMoterInput = nullptr
 
QPushButton * mEditButton = nullptr
 
QPushButton * mRemoveButton = nullptr
 
const std::vector< ConfigJointTypemVecJointType = { BallAndSocket,Slider,Hinge,Fixed,Point,OtherJoint }
 
VehicleJointInfo mJointInfo
 
std::vector< QJointBodyDetail * > mDetailWidgets
 

Detailed Description

Definition at line 212 of file QVehicleInfoWidget.h.

Constructor & Destructor Documentation

◆ mJointItemLayout()

dyno::mJointItemLayout::mJointItemLayout ( int id)

Definition at line 429 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:

◆ ~mJointItemLayout()

dyno::mJointItemLayout::~mJointItemLayout ( )

Definition at line 508 of file QVehicleInfoWidget.cpp.

Member Function Documentation

◆ createJointDetailWidget

void dyno::mJointItemLayout::createJointDetailWidget ( )
slot

Create Joint Detail Panel.

Definition at line 556 of file QVehicleInfoWidget.cpp.

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

◆ emitChange

void dyno::mJointItemLayout::emitChange ( int v)
inlineslot

Definition at line 244 of file QVehicleInfoWidget.h.

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

◆ emitRemove

void dyno::mJointItemLayout::emitRemove ( )
inlineslot

Definition at line 242 of file QVehicleInfoWidget.h.

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

◆ removeByElementIndexId

void dyno::mJointItemLayout::removeByElementIndexId ( int )
signal
Here is the caller graph for this function:

◆ setId()

void dyno::mJointItemLayout::setId ( int id)
inline

Index in the current Joint list.

Definition at line 230 of file QVehicleInfoWidget.h.

◆ setValue()

void dyno::mJointItemLayout::setValue ( const VehicleJointInfo & v)

Initialization RigidBodyInfo.

Definition at line 540 of file QVehicleInfoWidget.cpp.

Here is the caller graph for this function:

◆ value()

VehicleJointInfo dyno::mJointItemLayout::value ( )

Get current RigidBodyInfo.

Definition at line 526 of file QVehicleInfoWidget.cpp.

Here is the caller graph for this function:

◆ valueChange

void dyno::mJointItemLayout::valueChange ( int )
signal

Joint Data Change.

Here is the caller graph for this function:

Member Data Documentation

◆ mDetailWidgets

std::vector<QJointBodyDetail*> dyno::mJointItemLayout::mDetailWidgets
private

Definition at line 274 of file QVehicleInfoWidget.h.

◆ mEditButton

QPushButton* dyno::mJointItemLayout::mEditButton = nullptr
private

Definition at line 268 of file QVehicleInfoWidget.h.

◆ mElementIndex

int dyno::mJointItemLayout::mElementIndex = -1
private

Definition at line 261 of file QVehicleInfoWidget.h.

◆ mIndex

QLabel* dyno::mJointItemLayout::mIndex = nullptr
private

Definition at line 265 of file QVehicleInfoWidget.h.

◆ mJointInfo

VehicleJointInfo dyno::mJointItemLayout::mJointInfo
private

Definition at line 273 of file QVehicleInfoWidget.h.

◆ mMoterInput

QDoubleSpinBox* dyno::mJointItemLayout::mMoterInput = nullptr
private

Definition at line 267 of file QVehicleInfoWidget.h.

◆ mName1_ObjID

int dyno::mJointItemLayout::mName1_ObjID = -1

Definition at line 256 of file QVehicleInfoWidget.h.

◆ mName2_ObjID

int dyno::mJointItemLayout::mName2_ObjID = -1

Definition at line 257 of file QVehicleInfoWidget.h.

◆ mNameInput1

QComboBox* dyno::mJointItemLayout::mNameInput1 = nullptr

Definition at line 253 of file QVehicleInfoWidget.h.

◆ mNameInput2

QComboBox* dyno::mJointItemLayout::mNameInput2 = nullptr

Definition at line 254 of file QVehicleInfoWidget.h.

◆ mRemoveButton

QPushButton* dyno::mJointItemLayout::mRemoveButton = nullptr
private

Definition at line 269 of file QVehicleInfoWidget.h.

◆ mTypeInput

QComboBox* dyno::mJointItemLayout::mTypeInput = nullptr
private

Definition at line 264 of file QVehicleInfoWidget.h.

◆ mUseMoter

QCheckBox* dyno::mJointItemLayout::mUseMoter = nullptr
private

Definition at line 266 of file QVehicleInfoWidget.h.

◆ mVecJointType

const std::vector<ConfigJointType> dyno::mJointItemLayout::mVecJointType = { BallAndSocket,Slider,Hinge,Fixed,Point,OtherJoint }
private

Definition at line 272 of file QVehicleInfoWidget.h.


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