TechDrawGui::QGVPage Class Reference

#include <QGVPage.h>

Classes

class  Private
 

Public Types

enum  RendererType { Native , OpenGL , Image }
 

Public Slots

void setHighQualityAntialiasing (bool highQualityAntialiasing)
 

Public Member Functions

void activateCursor (QCursor cursor)
 
void cancelBalloonPlacing (void)
 
void drawBackground (QPainter *p, const QRectF &rect) override
 
QLabelgetBalloonCursor ()
 
QPointF getBalloonCursorPos ()
 
TechDraw::DrawPagegetDrawPage ()
 
QGSPagegetScene ()
 
bool isBalloonPlacing ()
 
void kbPanScroll (int xMove=1, int yMove=1)
 
void makeGrid (int width, int height, double step)
 
void pseudoContextEvent ()
 
 QGVPage (ViewProviderPage *vp, QGSPage *s, QWidget *parent=nullptr)
 
void resetCursor ()
 
void setBalloonCursor (QLabel *l)
 
void setBalloonCursorPos (QPoint p)
 
void setBalloonPlacing (bool s)
 
void setExporting (bool enable)
 
void setPanCursor ()
 
void setRenderer (RendererType type=Native)
 
void setZoomCursor ()
 
void showGrid (bool state)
 
void startBalloonPlacing (void)
 
void updateViewport (void)
 
virtual ~QGVPage ()
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event) override
 
void createStandardCursors (double dpr)
 
void drawForeground (QPainter *painter, const QRectF &rect) override
 
void enterEvent (QEvent *event) override
 
void focusOutEvent (QFocusEvent *event) override
 
QColor getBackgroundColor ()
 
double getDevicePixelRatio () const
 
std::string getNavStyleParameter ()
 
Base::Type getStyleType (std::string model)
 
void initNavigationStyle ()
 
void keyPressEvent (QKeyEvent *event) override
 
void keyReleaseEvent (QKeyEvent *event) override
 
void leaveEvent (QEvent *event) override
 
void mouseMoveEvent (QMouseEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void paintEvent (QPaintEvent *event) override
 
QPixmap prepareCursorPixmap (const char *iconName, QPoint &hotspot)
 
void setNavigationStyle (std::string navParm)
 
void wheelEvent (QWheelEvent *event) override
 

Static Protected Attributes

static QColor PreselectColor
 
static QColor SelectColor
 

Member Enumeration Documentation

◆ RendererType

Enumerator
Native 
OpenGL 
Image 

Constructor & Destructor Documentation

◆ QGVPage()

◆ ~QGVPage()

QGVPage::~QGVPage ( )
virtual

Member Function Documentation

◆ activateCursor()

void QGVPage::activateCursor ( QCursor  cursor)

◆ cancelBalloonPlacing()

void QGVPage::cancelBalloonPlacing ( void  )

◆ contextMenuEvent()

void QGVPage::contextMenuEvent ( QContextMenuEvent *  event)
overrideprotected

◆ createStandardCursors()

void QGVPage::createStandardCursors ( double  dpr)
protected

Referenced by QGVPage().

◆ drawBackground()

◆ drawForeground()

void QGVPage::drawForeground ( QPainter *  painter,
const QRectF &  rect 
)
overrideprotected

◆ enterEvent()

void QGVPage::enterEvent ( QEvent event)
overrideprotected

◆ focusOutEvent()

void QGVPage::focusOutEvent ( QFocusEvent *  event)
overrideprotected

◆ getBackgroundColor()

◆ getBalloonCursor()

◆ getBalloonCursorPos()

QPointF TechDrawGui::QGVPage::getBalloonCursorPos ( )

◆ getDevicePixelRatio()

double QGVPage::getDevicePixelRatio ( ) const
protected

◆ getDrawPage()

TechDraw::DrawPage * QGVPage::getDrawPage ( )

◆ getNavStyleParameter()

std::string QGVPage::getNavStyleParameter ( )
protected

◆ getScene()

QGSPage * TechDrawGui::QGVPage::getScene ( )

◆ getStyleType()

Base::Type QGVPage::getStyleType ( std::string  model)
protected

◆ initNavigationStyle()

void QGVPage::initNavigationStyle ( )
protected

References getNavStyleParameter(), and setNavigationStyle().

Referenced by QGVPage().

◆ isBalloonPlacing()

bool TechDrawGui::QGVPage::isBalloonPlacing ( )

◆ kbPanScroll()

void QGVPage::kbPanScroll ( int  xMove = 1,
int  yMove = 1 
)

◆ keyPressEvent()

void QGVPage::keyPressEvent ( QKeyEvent *  event)
overrideprotected

◆ keyReleaseEvent()

void QGVPage::keyReleaseEvent ( QKeyEvent *  event)
overrideprotected

◆ leaveEvent()

void QGVPage::leaveEvent ( QEvent event)
overrideprotected

◆ makeGrid()

void QGVPage::makeGrid ( int  width,
int  height,
double  step 
)

◆ mouseMoveEvent()

void QGVPage::mouseMoveEvent ( QMouseEvent *  event)
overrideprotected

◆ mousePressEvent()

void QGVPage::mousePressEvent ( QMouseEvent *  event)
overrideprotected

◆ mouseReleaseEvent()

void QGVPage::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotected

◆ paintEvent()

void QGVPage::paintEvent ( QPaintEvent *  event)
overrideprotected

◆ prepareCursorPixmap()

QPixmap QGVPage::prepareCursorPixmap ( const char *  iconName,
QPoint &  hotspot 
)
protected

◆ pseudoContextEvent()

void QGVPage::pseudoContextEvent ( )

◆ resetCursor()

◆ setBalloonCursor()

void TechDrawGui::QGVPage::setBalloonCursor ( QLabel l)

◆ setBalloonCursorPos()

◆ setBalloonPlacing()

void TechDrawGui::QGVPage::setBalloonPlacing ( bool  s)

◆ setExporting()

void TechDrawGui::QGVPage::setExporting ( bool  enable)

◆ setHighQualityAntialiasing

void QGVPage::setHighQualityAntialiasing ( bool  highQualityAntialiasing)
slot

◆ setNavigationStyle()

void QGVPage::setNavigationStyle ( std::string  navParm)
protected

◆ setPanCursor()

void QGVPage::setPanCursor ( )

◆ setRenderer()

void QGVPage::setRenderer ( RendererType  type = Native)

References OpenGL.

◆ setZoomCursor()

void QGVPage::setZoomCursor ( )

◆ showGrid()

void TechDrawGui::QGVPage::showGrid ( bool  state)

◆ startBalloonPlacing()

void QGVPage::startBalloonPlacing ( void  )

References activateCursor().

◆ updateViewport()

void TechDrawGui::QGVPage::updateViewport ( void  )

◆ wheelEvent()

void QGVPage::wheelEvent ( QWheelEvent *  event)
overrideprotected

Member Data Documentation

◆ PreselectColor

QColor TechDrawGui::QGVPage::PreselectColor
staticprotected

◆ SelectColor

QColor TechDrawGui::QGVPage::SelectColor
staticprotected

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