kblackbox
kbbgraphicsitemlaser.cpp
Go to the documentation of this file.
49 KBBGraphicsItemLaser::KBBGraphicsItemLaser(KBBScalableGraphicWidget* parent, KBBThemeManager* themeManager, const int borderPosition, const int columns, const int rows) : KBBGraphicsItemBorder(borderPosition, columns, rows, 0), KBBGraphicsItem(((borderPosition<columns) ? KBBScalableGraphicWidget::laser0 : ((borderPosition<columns + rows) ? KBBScalableGraphicWidget::laser90 : ((borderPosition<2*columns + rows) ? KBBScalableGraphicWidget::laser180 : KBBScalableGraphicWidget::laser270))) , parent->scene(), themeManager), KBBItemWithPosition()
void mouseBorderClick(const int borderPosition)
Definition: kbbscalablegraphicwidget.cpp:202
Scalable graphic central widget for KBlackBox.
Definition: kbbscalablegraphicwidget.h:62
void drawRay(const int borderPosition)
Definition: kbbscalablegraphicwidget.cpp:191
void setPos(const QPointF &pos)
void setAcceptsHoverEvents(bool enabled)
KBBGraphicsItemLaser(KBBScalableGraphicWidget *parent, KBBThemeManager *themeManager, const int borderPosition, const int columns, const int rows)
Constructor.
Definition: kbbgraphicsitemlaser.cpp:49
Qt::MouseButtons buttons() const
static int const RATIO
Width and height of a single square on the black box.
Definition: kbbscalablegraphicwidget.h:81
Any border element of the scalable graphic widget.
Definition: kbbgraphicsitemborder.h:40
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.