#include <QGIHighlight.h>
Public Types | |
enum | { Type = QGraphicsItem::UserType + 176 } |
Public Types inherited from TechDrawGui::QGIDecoration | |
enum | { Type = QGraphicsItem::UserType + 173 } |
Public Member Functions | |
virtual void | draw () override |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override |
QGIHighlight () | |
void | setBounds (double x1, double y1, double x2, double y2) |
void | setFont (QFont f, double fsize) |
void | setInteractive (bool state) |
void | setReference (const char *sym) |
int | type () const override |
~QGIHighlight () | |
Public Member Functions inherited from TechDrawGui::QGIDecoration | |
virtual QRectF | boundingRect () const |
virtual void | draw () |
QColor | getColor (void) |
void | makeMark (Base::Vector3d v) |
void | makeMark (double x, double y) |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) |
QGIDecoration (void) | |
void | setColor (QColor c) |
void | setFill (Qt::BrushStyle bs) |
void | setStyle (Qt::PenStyle s) |
void | setWidth (double w) |
int | type () const |
~QGIDecoration () | |
Protected Member Functions | |
QColor | getHighlightColor () |
Qt::PenStyle | getHighlightStyle () |
int | getHoleStyle (void) |
void | makeHighlight () |
void | makeReference () |
void | setTools () |
Protected Member Functions inherited from TechDrawGui::QGIDecoration | |
virtual QColor | prefNormalColor (void) |
virtual QColor | prefPreColor (void) |
virtual QColor | prefSelectColor (void) |
void | setPrettyNormal () |
void | setPrettyPre () |
void | setPrettySel () |
Additional Inherited Members | |
Protected Attributes inherited from TechDrawGui::QGIDecoration | |
QBrush | m_brush |
Qt::BrushStyle | m_brushCurrent |
QColor | m_colCurrent |
QColor | m_colNormal |
QPen | m_pen |
Qt::PenStyle | m_styleCurrent |
double | m_width |
|
explicit |
References TechDrawGui::Rez::guiX(), setInteractive(), and TechDrawGui::QGIDecoration::setWidth().
QGIHighlight::~QGIHighlight | ( | ) |
|
overridevirtual |
Reimplemented from TechDrawGui::QGIDecoration.
References makeHighlight(), and makeReference().
Referenced by TechDrawGui::TaskDetail::editByHighlight().
|
protected |
References TechDrawGui::PreferencesGui::sectionLineQColor().
|
protected |
References TechDrawGui::PreferencesGui::sectionLineStyle().
|
protected |
References TechDraw::Preferences::mattingStyle().
Referenced by makeHighlight().
|
protected |
References getHoleStyle().
Referenced by draw().
|
protected |
References TechDrawGui::QGCustomText::boundingRect(), TechDrawGui::QGIView::calculateFontPixelSize(), TechDraw::DrawUtil::fpCompare(), and TechDrawGui::Rez::guiX().
Referenced by draw().
|
overridevirtual |
Reimplemented from TechDrawGui::QGIDecoration.
References TechDrawGui::QGIDecoration::paint(), and setTools().
void QGIHighlight::setBounds | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
References TechDrawGui::Rez::guiX().
Referenced by TechDrawGui::QGIGhostHighlight::setRadius().
void QGIHighlight::setFont | ( | QFont | f, |
double | fsize | ||
) |
Referenced by TechDrawGui::QGIGhostHighlight::QGIGhostHighlight().
void QGIHighlight::setInteractive | ( | bool | state | ) |
Referenced by QGIHighlight().
void QGIHighlight::setReference | ( | const char * | sym | ) |
Referenced by TechDrawGui::QGIGhostHighlight::QGIGhostHighlight().
|
protected |
|
override |
Referenced by ArchProfile.ProfileTaskPanel::accept(), and ArchProfile.ProfileTaskPanel::retranslateUi().