TechDrawGui::TaskLeaderLine Class Reference

#include <TaskLeaderLine.h>

Public Slots

void onCancelEditClicked (bool b)
 
void onTrackerClicked (bool b)
 
void onTrackerFinished (std::vector< QPointF > pts, QGIView *qgParent)
 

Public Member Functions

virtual bool accept ()
 
void enableTaskButtons (bool b)
 
virtual bool getCreateMode (void)
 
void recomputeFeature ()
 
virtual bool reject ()
 
void saveButtons (QPushButton *btnOK, QPushButton *btnCancel)
 
virtual void setCreateMode (bool b)
 
 TaskLeaderLine (TechDraw::DrawView *baseFeat, TechDraw::DrawPage *page)
 
 TaskLeaderLine (TechDrawGui::ViewProviderLeader *leadVP)
 
void updateTask ()
 
 ~TaskLeaderLine ()
 

Protected Slots

void onPointEditComplete (void)
 

Protected Member Functions

void abandonEditSession (void)
 
void blockButtons (bool b)
 
void changeEvent (QEvent *e)
 
void commonFeatureUpdate (void)
 
void createLeaderFeature (std::vector< Base::Vector3d > converted)
 
void enableTextUi (bool b)
 
void enableVPUi (bool b)
 
QGIViewfindParentQGIV ()
 
int getPrefArrowStyle ()
 
App::Color prefLineColor (void)
 
double prefWeight () const
 
void removeFeature (void)
 
void removeTracker (void)
 
void restoreState (void)
 
void saveState (void)
 
void setEditCursor (QCursor c)
 
void setUiEdit (void)
 
void setUiPrimary (void)
 
void startTracker (void)
 
void trackerPointsFromQPoints (std::vector< QPointF > pts)
 
void updateLeaderFeature ()
 

Constructor & Destructor Documentation

◆ TaskLeaderLine() [1/2]

◆ TaskLeaderLine() [2/2]

◆ ~TaskLeaderLine()

TaskLeaderLine::~TaskLeaderLine ( )

Member Function Documentation

◆ abandonEditSession()

void TaskLeaderLine::abandonEditSession ( void  )
protected

◆ accept()

◆ blockButtons()

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

◆ changeEvent()

void TaskLeaderLine::changeEvent ( QEvent e)
protected

◆ commonFeatureUpdate()

void TaskLeaderLine::commonFeatureUpdate ( void  )
protected

◆ createLeaderFeature()

◆ enableTaskButtons()

void TaskLeaderLine::enableTaskButtons ( bool  b)

◆ enableTextUi()

void TechDrawGui::TaskLeaderLine::enableTextUi ( bool  b)
protected

◆ enableVPUi()

void TaskLeaderLine::enableVPUi ( bool  b)
protected

Referenced by setUiEdit(), and setUiPrimary().

◆ findParentQGIV()

QGIView * TaskLeaderLine::findParentQGIV ( )
protected

◆ getCreateMode()

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

Referenced by accept(), onTrackerClicked(), and reject().

◆ getPrefArrowStyle()

int TaskLeaderLine::getPrefArrowStyle ( )
protected

◆ onCancelEditClicked

void TaskLeaderLine::onCancelEditClicked ( bool  b)
slot

◆ onPointEditComplete

void TaskLeaderLine::onPointEditComplete ( void  )
protectedslot

References enableTaskButtons().

Referenced by onTrackerClicked().

◆ onTrackerClicked

◆ onTrackerFinished

◆ prefLineColor()

App::Color TaskLeaderLine::prefLineColor ( void  )
protected

◆ prefWeight()

double TaskLeaderLine::prefWeight ( ) const
protected

◆ recomputeFeature()

◆ reject()

◆ removeFeature()

◆ removeTracker()

void TaskLeaderLine::removeTracker ( void  )
protected

Referenced by accept(), and reject().

◆ restoreState()

◆ saveButtons()

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

◆ saveState()

◆ setCreateMode()

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

◆ setEditCursor()

void TaskLeaderLine::setEditCursor ( QCursor  c)
protected

◆ setUiEdit()

◆ setUiPrimary()

◆ startTracker()

void TaskLeaderLine::startTracker ( void  )
protected

◆ trackerPointsFromQPoints()

void TaskLeaderLine::trackerPointsFromQPoints ( std::vector< QPointF >  pts)
protected

Referenced by onTrackerFinished().

◆ updateLeaderFeature()

◆ updateTask()

void TaskLeaderLine::updateTask ( )

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