• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

ksquares

  • sources
  • kde-4.14
  • kdegames
  • ksquares
  • src
highlightanimation.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2006 by Paolo Capriotti <p.capriotti@gmail.com> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  ***************************************************************************/
9 
10 #ifndef HIGHLIGHTANIMATION_H
11 #define HIGHLIGHTANIMATION_H
12 
13 #include <QGraphicsLineItem>
14 #include <QTimeLine>
15 
23 class HighlightAnimation : public QObject, public QGraphicsLineItem
24 {
25  Q_OBJECT
26  Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity)
27  public:
28  HighlightAnimation(const QLineF &line);
29 };
30 
31 #endif // HIGHLIGHTANIMATION_H
HighlightAnimation
Highlight animation when new lines appear.
Definition: highlightanimation.h:23
QGraphicsLineItem::line
QLineF line() const
QGraphicsItem::opacity
qreal opacity() const
HighlightAnimation::HighlightAnimation
HighlightAnimation(const QLineF &line)
Definition: highlightanimation.cpp:19
QObject
QGraphicsLineItem
QGraphicsItem::setOpacity
void setOpacity(qreal opacity)
QLineF
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ksquares

Skip menu "ksquares"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal