kblackbox
kbbgraphicsitemball.cpp
Go to the documentation of this file.
49 KBBGraphicsItemBall::KBBGraphicsItemBall(KBBScalableGraphicWidget::itemType itemType, KBBScalableGraphicWidget* parent, KBBThemeManager* themeManager, int boxPosition, int columns, int rows) : KBBGraphicsItemOnBox( itemType, parent, themeManager, boxPosition, columns, rows)
90 m_interactionInfos[i] = new KBBGraphicsItemInteractionInfo(m_widget, m_themeManager, type, posX, posY, i*45 );
94 const KBBScalableGraphicWidget::itemType r = KBBScalableGraphicWidget::interactionInfoReflection;
95 const KBBScalableGraphicWidget::itemType rS = KBBScalableGraphicWidget::interactionInfoReflectionSym;
qreal x() const
qreal y() const
Item on the box on the scalable graphic widget.
Definition: kbbgraphicsitemonbox.h:50
Scalable graphic central widget for KBlackBox.
Definition: kbbscalablegraphicwidget.h:62
virtual int type() const
KBBGraphicsItemBall(KBBScalableGraphicWidget::itemType itemType, KBBScalableGraphicWidget *parent, KBBThemeManager *themeManager, int boxPosition, int columns, int rows)
Constructor.
Definition: kbbgraphicsitemball.cpp:49
KBBScalableGraphicWidget * m_widget
Definition: kbbgraphicsitemonbox.h:67
Interaction information around a ball on the scalable graphic widget.
Definition: kbbgraphicsiteminteractioninfo.h:50
void setAcceptsHoverEvents(bool enabled)
static int const RATIO
Width and height of a single square on the black box.
Definition: kbbscalablegraphicwidget.h:81
void start(int msec)
static const int TIME_TO_WAIT_BEFORE_SHOWING_INTERACTIONS
Definition: kbbgraphicsitemball.h:55
~KBBGraphicsItemBall()
Definition: kbbgraphicsitemball.cpp:62
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setType(KBBScalableGraphicWidget::itemType type)
Definition: kbbgraphicsiteminteractioninfo.cpp:57
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.