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

okular

  • sources
  • kde-4.12
  • kdegraphics
  • okular
  • core
pagetransition.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005 by Tobias Koenig <tokoe@kde.org> *
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 _OKULAR_PAGETRANSITION_H_
11 #define _OKULAR_PAGETRANSITION_H_
12 
13 #include "okular_export.h"
14 
15 namespace Okular {
16 
24 class OKULAR_EXPORT PageTransition
25 {
26  public:
30  enum Type {
31  Replace,
32  Split,
33  Blinds,
34  Box,
35  Wipe,
36  Dissolve,
37  Glitter,
38  Fly,
39  Push,
40  Cover,
41  Uncover,
42  Fade
43  };
44 
49  enum Alignment {
50  Horizontal,
51  Vertical
52  };
53 
58  enum Direction {
59  Inward,
60  Outward
61  };
62 
68  PageTransition( Type type = Replace );
69 
73  PageTransition( const PageTransition &other );
74  PageTransition& operator=( const PageTransition &other );
75 
79  ~PageTransition();
80 
84  Type type() const;
85 
89  int duration() const;
90 
94  Alignment alignment() const;
95 
99  Direction direction() const;
100 
104  int angle() const;
105 
109  double scale() const;
110 
114  bool isRectangular() const;
115 
119  void setType( Type type );
120 
124  void setDuration( int duration );
125 
129  void setAlignment( Alignment alignment );
130 
134  void setDirection( Direction direction );
135 
139  void setAngle( int angle );
140 
144  void setScale( double scale );
145 
149  void setIsRectangular( bool rectangular );
150 
151  private:
152  class Private;
153  Private* const d;
154 };
155 
156 }
157 
158 #endif
Okular::PageTransition::Push
Definition: pagetransition.h:39
Okular::PageTransition::Replace
Definition: pagetransition.h:31
Okular::PageTransition::Dissolve
Definition: pagetransition.h:36
Okular::PageTransition::Cover
Definition: pagetransition.h:40
Okular::PageTransition::Type
Type
Describes the type of transition effect.
Definition: pagetransition.h:30
Okular::PageTransition::Fly
Definition: pagetransition.h:38
okular_export.h
Okular::PageTransition::Glitter
Definition: pagetransition.h:37
Okular::PageTransition::Split
Definition: pagetransition.h:32
Okular::PageTransition::Uncover
Definition: pagetransition.h:41
Okular::PageTransition::Box
Definition: pagetransition.h:34
Okular::PageTransition::Direction
Direction
Describes the direction that is applied to the Type of transition effect.
Definition: pagetransition.h:58
Okular::PageTransition::Alignment
Alignment
Describes the alignment that is applied to the Type of transition effect.
Definition: pagetransition.h:49
Okular::PageTransition::Horizontal
Definition: pagetransition.h:50
Okular::PageTransition::Blinds
Definition: pagetransition.h:33
OKULAR_EXPORT
#define OKULAR_EXPORT
Definition: okular_export.h:30
Okular::PageTransition
Information object for the transition effect of a page.
Definition: pagetransition.h:24
Okular::PageTransition::Wipe
Definition: pagetransition.h:35
Okular::PageTransition::Inward
Definition: pagetransition.h:59
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

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

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

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