TechDrawGui::TaskCenterLine Class Reference

#include <TaskCenterLine.h>

Public Member Functions

virtual bool accept ()
 
void enableTaskButtons (bool b)
 
virtual bool getCreateMode (void)
 
virtual bool reject ()
 
void saveButtons (QPushButton *btnOK, QPushButton *btnCancel)
 
virtual void setCreateMode (bool b)
 
void setFlipped (bool b)
 
 TaskCenterLine (TechDraw::DrawViewPart *baseFeat, TechDraw::DrawPage *page, std::string edgeName, bool editMode)
 
 TaskCenterLine (TechDraw::DrawViewPart *baseFeat, TechDraw::DrawPage *page, std::vector< std::string > subNames, bool editMode)
 
void updateTask ()
 
 ~TaskCenterLine ()
 

Protected Member Functions

void blockButtons (bool b)
 
void changeEvent (QEvent *e)
 
void create2Lines (void)
 
void create2Points (void)
 
void createCenterLine (void)
 
QColor getCenterColor ()
 
Qt::PenStyle getCenterStyle ()
 
double getCenterWidth ()
 
double getExtendBy ()
 
void setUiEdit (void)
 
void setUiPrimary (void)
 
void update2Lines (void)
 
void update2Points (void)
 
void updateCenterLine (void)
 

Constructor & Destructor Documentation

◆ TaskCenterLine() [1/2]

TaskCenterLine::TaskCenterLine ( TechDraw::DrawViewPart baseFeat,
TechDraw::DrawPage page,
std::vector< std::string >  subNames,
bool  editMode 
)

◆ TaskCenterLine() [2/2]

◆ ~TaskCenterLine()

TaskCenterLine::~TaskCenterLine ( )

Member Function Documentation

◆ accept()

◆ blockButtons()

void TechDrawGui::TaskCenterLine::blockButtons ( bool  b)
protected

◆ changeEvent()

void TaskCenterLine::changeEvent ( QEvent e)
protected

◆ create2Lines()

void TechDrawGui::TaskCenterLine::create2Lines ( void  )
protected

◆ create2Points()

void TechDrawGui::TaskCenterLine::create2Points ( void  )
protected

◆ createCenterLine()

◆ enableTaskButtons()

void TaskCenterLine::enableTaskButtons ( bool  b)

◆ getCenterColor()

QColor TaskCenterLine::getCenterColor ( )
protected

◆ getCenterStyle()

Qt::PenStyle TaskCenterLine::getCenterStyle ( )
protected

◆ getCenterWidth()

◆ getCreateMode()

virtual bool TechDrawGui::TaskCenterLine::getCreateMode ( void  )
virtual

Referenced by accept(), and reject().

◆ getExtendBy()

double TaskCenterLine::getExtendBy ( void  )
protected

◆ reject()

◆ saveButtons()

void TaskCenterLine::saveButtons ( QPushButton btnOK,
QPushButton btnCancel 
)

◆ setCreateMode()

virtual void TechDrawGui::TaskCenterLine::setCreateMode ( bool  b)
virtual

◆ setFlipped()

void TechDrawGui::TaskCenterLine::setFlipped ( bool  b)

◆ setUiEdit()

◆ setUiPrimary()

◆ update2Lines()

void TechDrawGui::TaskCenterLine::update2Lines ( void  )
protected

◆ update2Points()

void TechDrawGui::TaskCenterLine::update2Points ( void  )
protected

◆ updateCenterLine()

◆ updateTask()

void TaskCenterLine::updateTask ( )

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Mod/TechDraw/Gui/TaskCenterLine.h
  • Sources/FreeCAD/src/Mod/TechDraw/Gui/TaskCenterLine.cpp