#include <QGIProjGroup.h>
Public Types | |
enum | { Type = QGraphicsItem::UserType + 113 } |
Public Types inherited from TechDrawGui::QGIViewCollection | |
enum | { Type = QGraphicsItem::UserType + 110 } |
Public Types inherited from TechDrawGui::QGIView | |
enum | { Type = QGraphicsItem::UserType + 101 } |
Public Member Functions | |
void | alignTo (QGIProjGroup *, const QString &alignment) |
virtual void | drawBorder (void) override |
QGIProjGroup () | |
virtual void | rotateView (void) override |
int | type () const override |
virtual void | updateView (bool update=false) override |
~QGIProjGroup ()=default | |
Public Member Functions inherited from TechDrawGui::QGIViewCollection | |
virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
QGIViewCollection () | |
int | type () const override |
virtual void | updateView (bool update=false) override |
~QGIViewCollection ()=default | |
Public Member Functions inherited from TechDrawGui::QGIView | |
virtual void | addArbitraryItem (QGraphicsItem *qgi) |
void | alignTo (QGraphicsItem *, const QString &alignment) |
virtual QRectF | boundingRect () const override |
virtual void | draw (void) |
virtual void | drawBorder (void) |
virtual void | drawCaption (void) |
QGIViewClip * | getClipGroup (void) |
virtual QColor | getCurrentColor (void) |
virtual bool | getFrameState (void) |
MDIViewPage * | getMDIViewPage (void) const |
virtual QColor | getNormalColor (void) |
virtual QColor | getPreColor (void) |
double | getScale (void) |
virtual QColor | getSelectColor (void) |
virtual QColor | getSettingColor (void) |
const char * | getViewName () const |
const std::string | getViewNameAsString () const |
TechDraw::DrawView * | getViewObject () const |
virtual void | isVisible (bool state) |
virtual bool | isVisible (void) |
void | makeMark (Base::Vector3d v, QColor c=Qt::red) |
void | makeMark (double x, double y, QColor c=Qt::red) |
void | makeMark (QPointF p, QColor c=Qt::red) |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override |
QGIView () | |
virtual void | removeChild (QGIView *child) |
virtual void | rotateView (void) |
virtual void | setGroupSelection (bool b) |
void | setLocked (bool b) |
virtual void | setSettingColor (QColor c) |
void | setViewFeature (TechDraw::DrawView *obj) |
virtual void | toggleCache (bool state) |
int | type () const override |
virtual void | updateView (bool update=false) |
virtual | ~QGIView () |
void | setPosition (qreal x, qreal y) |
Methods to ensure that Y-Coordinates are orientated correctly. More... | |
qreal | getY () |
bool | isInnerView () |
void | isInnerView (bool state) |
double | getYInClip (double y) |
Protected Member Functions | |
QGIView * | getAnchorQItem () const |
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
virtual void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
virtual void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
virtual bool | sceneEventFilter (QGraphicsItem *watched, QEvent *event) override |
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
Protected Member Functions inherited from TechDrawGui::QGIView | |
virtual QRectF | customChildrenBoundingRect (void) const |
void | dumpRect (const char *text, QRectF r) |
Base::Reference< ParameterGrp > | getParmGroupCol (void) |
QGIView * | getQGIVByName (std::string name) |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
QGIProjGroup::QGIProjGroup | ( | ) |
|
default |
void TechDrawGui::QGIProjGroup::alignTo | ( | QGIProjGroup * | , |
const QString & | alignment | ||
) |
|
overridevirtual |
Reimplemented from TechDrawGui::QGIView.
|
protected |
References TechDraw::DrawProjGroup::Anchor, and App::PropertyLink::getValue().
Referenced by mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and sceneEventFilter().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
References getAnchorQItem(), and TechDrawGui::QGIView::mouseMoveEvent().
Referenced by sceneEventFilter().
|
overrideprotectedvirtual |
References getAnchorQItem().
Referenced by sceneEventFilter().
|
overrideprotectedvirtual |
Reimplemented from TechDrawGui::QGIViewCollection.
References TechDrawGui::Rez::appX(), getAnchorQItem(), TechDrawGui::QGIView::getViewObject(), TechDrawGui::QGIView::getY(), TechDrawGui::QGIView::mouseReleaseEvent(), TechDrawGui::QGIViewCollection::mouseReleaseEvent(), and TechDraw::DrawView::setPosition().
Referenced by sceneEventFilter().
|
overridevirtual |
Reimplemented from TechDrawGui::QGIView.
References Base::Console(), and Base::ConsoleSingleton::Warning().
|
overrideprotectedvirtual |
References getAnchorQItem(), mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
override |
Referenced by ArchProfile.ProfileTaskPanel::accept(), and ArchProfile.ProfileTaskPanel::retranslateUi().
|
overridevirtual |
Reimplemented from TechDrawGui::QGIViewCollection.
References TechDrawGui::QGIViewCollection::updateView().