AttacherTexts.h, .cpp - files that contain user-friendly translatable names of attachment modes, as well as help texts, and the like. More...
Classes | |
class | AttacherGuiPy |
Typedefs | |
typedef std::vector< QString > | TextSet |
Functions | |
QStringList | getRefListForMode (AttachEngine &attacher, eMapMode mmode) |
QString | getShapeTypeText (eRefType type) |
TextSet | getUIStrings (Base::Type attacherType, Attacher::eMapMode mmode) |
getUIStrings More... | |
TextSet | TwoStrings (QString str1, QString str2) |
Variables | |
struct { | |
const char * AttacherGui::comment | |
const char * AttacherGui::txt | |
} | eRefTypeStrings [] |
Detailed Description
AttacherTexts.h, .cpp - files that contain user-friendly translatable names of attachment modes, as well as help texts, and the like.
Typedef Documentation
◆ TextSet
typedef std::vector<QString> AttacherGui::TextSet |
Function Documentation
◆ getRefListForMode()
QStringList PartGuiExport AttacherGui::getRefListForMode | ( | AttachEngine & | attacher, |
eMapMode | mmode | ||
) |
References getRefListForMode(), getShapeTypeText(), and Attacher::AttachEngine::modeRefTypes.
Referenced by getRefListForMode().
◆ getShapeTypeText()
QString PartGuiExport AttacherGui::getShapeTypeText | ( | eRefType | type | ) |
◆ getUIStrings()
TextSet PartGuiExport AttacherGui::getUIStrings | ( | Base::Type | attacherType, |
Attacher::eMapMode | mmode | ||
) |
getUIStrings
- Parameters
-
attacherType mmode
- Returns
- vector of two QStrings: first is the name of attachment mode. e.g. "Tangent to surface"; second is tooltip-style explanation of the mode, like "Plane is tangent to a surface at vertex."
References Base::Console(), Base::BaseClass::getClassTypeId(), Attacher::AttachEngine::getModeName(), Base::Type::getName(), getUIStrings(), Base::Type::isDerivedFrom(), Attacher::mm0CenterOfCurvature, Attacher::mm0CenterOfMass, Attacher::mm0Focus1, Attacher::mm0Focus2, Attacher::mm0Intersection, Attacher::mm0OnEdge, Attacher::mm0Origin, Attacher::mm0ProximityPoint1, Attacher::mm0ProximityPoint2, Attacher::mm0Vertex, Attacher::mm1Asymptote1, Attacher::mm1Asymptote2, Attacher::mm1AxisCurv, Attacher::mm1AxisInertia1, Attacher::mm1AxisInertia2, Attacher::mm1AxisInertia3, Attacher::mm1AxisX, Attacher::mm1AxisY, Attacher::mm1AxisZ, Attacher::mm1Binormal, Attacher::mm1Directrix1, Attacher::mm1Directrix2, Attacher::mm1FaceNormal, Attacher::mm1Intersection, Attacher::mm1Normal, Attacher::mm1Proximity, Attacher::mm1Tangent, Attacher::mm1TangentU, Attacher::mm1TangentV, Attacher::mm1TwoPoints, Attacher::mmConcentric, Attacher::mmDeactivated, Attacher::mmFlatFace, Attacher::mmFolding, Attacher::mmFrenetNB, Attacher::mmFrenetTB, Attacher::mmFrenetTN, Attacher::mmInertialCS, Attacher::mmNormalToPath, Attacher::mmObjectXY, Attacher::mmObjectXZ, Attacher::mmObjectYZ, Attacher::mmOXY, Attacher::mmOXZ, Attacher::mmOYX, Attacher::mmOYZ, Attacher::mmOZX, Attacher::mmOZY, Attacher::mmRevolutionSection, Attacher::mmTangentPlane, Attacher::mmThreePointsNormal, Attacher::mmThreePointsPlane, Attacher::mmTranslate, TwoStrings(), and Base::ConsoleSingleton::Warning().
Referenced by getUIStrings(), and AttacherGui::AttacherGuiPy::sGetModeStrings().
◆ TwoStrings()
TextSet AttacherGui::TwoStrings | ( | QString | str1, |
QString | str2 | ||
) |
References TwoStrings().
Referenced by getUIStrings(), and TwoStrings().
Variable Documentation
◆ comment
const char* AttacherGui::comment |
Referenced by getShapeTypeText().
◆ eRefTypeStrings
struct { ... } AttacherGui::eRefTypeStrings[] |
Referenced by getShapeTypeText().
◆ txt
const char* AttacherGui::txt |
Referenced by getShapeTypeText().