• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdegraphics
  • Sitemap
  • Contact Us
 

okular

pagetransition.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Tobias Koenig <tokoe@kde.org>                   *
00003  *                                                                         *
00004  *   This program is free software; you can redistribute it and/or modify  *
00005  *   it under the terms of the GNU General Public License as published by  *
00006  *   the Free Software Foundation; either version 2 of the License, or     *
00007  *   (at your option) any later version.                                   *
00008  ***************************************************************************/
00009 
00010 #ifndef _OKULAR_PAGETRANSITION_H_
00011 #define _OKULAR_PAGETRANSITION_H_
00012 
00013 #include <okular/core/okular_export.h>
00014 
00015 namespace Okular {
00016 
00024 class OKULAR_EXPORT PageTransition
00025 {
00026     public:
00030         enum Type {
00031             Replace,
00032             Split,
00033             Blinds,
00034             Box,
00035             Wipe,
00036             Dissolve,
00037             Glitter,
00038             Fly,
00039             Push,
00040             Cover,
00041             Uncover,
00042             Fade
00043         };
00044 
00049         enum Alignment {
00050             Horizontal,
00051             Vertical
00052         };
00053 
00058         enum Direction {
00059             Inward,
00060             Outward
00061         };
00062 
00068         PageTransition( Type type = Replace );
00069 
00073         PageTransition( const PageTransition &other );
00074         PageTransition& operator=( const PageTransition &other );
00075 
00079         ~PageTransition();
00080 
00084         Type type() const;
00085 
00089         int duration() const;
00090 
00094         Alignment alignment() const;
00095 
00099         Direction direction() const;
00100 
00104         int angle() const;
00105 
00109         double scale() const;
00110 
00114         bool isRectangular() const;
00115 
00119         void setType( Type type );
00120 
00124         void setDuration( int duration );
00125 
00129         void setAlignment( Alignment alignment );
00130 
00134         void setDirection( Direction direction );
00135 
00139         void setAngle( int angle );
00140 
00144         void setScale( double scale );
00145 
00149         void setIsRectangular( bool rectangular );
00150 
00151     private:
00152         class Private;
00153         Private* const d;
00154 };
00155 
00156 }
00157 
00158 #endif

okular

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

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal