28 #ifndef DIGIKAM_PRESENTATION_KB_H
29 #define DIGIKAM_PRESENTATION_KB_H
36 # include <winsock2.h>
44 #include <QMouseEvent>
47 #include <QStringList>
49 #include <QOpenGLWidget>
50 #include <QOpenGLTexture>
51 #include <QRandomGenerator>
56 class PresentationContainer;
67 float transX(
float pos)
const;
68 float transY(
float pos)
const;
69 float scale(
float pos)
const;
76 double rndSign()
const;
130 float aspect()
const;
131 bool setupNewImage(
int imageIndex);
132 void startSlideShowOnce();
134 void setNewKBEffect();
137 void applyTexture(
KBImage*
const img,
const QImage& image);
138 void paintTexture(
KBImage*
const img);
139 unsigned suggestFrameRate(
unsigned forceRate);
147 void resizeGL(
int w,
int h)
override;
156 void slotMouseMoveTimeOut();
Definition: kbeffect.h:41
Definition: presentationkb.h:94
bool m_paint
Definition: presentationkb.h:107
float m_pos
Definition: presentationkb.h:105
~KBImage()
Definition: presentationkb.cpp:208
KBViewTrans * m_viewTrans
Definition: presentationkb.h:103
float m_opacity
Definition: presentationkb.h:106
KBImage(KBViewTrans *const viewTrans, float aspect=1.0)
Definition: presentationkb.cpp:198
float m_aspect
Definition: presentationkb.h:104
QOpenGLTexture * m_texture
Definition: presentationkb.h:108
Definition: presentationkb.h:59
float xScaleCorrect() const
Definition: presentationkb.cpp:176
float transY(float pos) const
Definition: presentationkb.cpp:166
float scale(float pos) const
Definition: presentationkb.cpp:171
KBViewTrans()
Definition: presentationkb.cpp:145
float transX(float pos) const
Definition: presentationkb.cpp:161
~KBViewTrans()
Definition: presentationkb.cpp:157
float yScaleCorrect() const
Definition: presentationkb.cpp:181
Definition: presentationcontainer.h:54
Definition: presentationkb_p.h:61
Definition: presentationkb.h:114
void paintGL() override
Definition: presentationkb.cpp:516
static QStringList effectNames()
Definition: presentationkb.cpp:675
void keyPressEvent(QKeyEvent *) override
Definition: presentationkb.cpp:691
void mouseMoveEvent(QMouseEvent *) override
Definition: presentationkb.cpp:723
void initializeGL() override
Definition: presentationkb.cpp:490
static QMap< QString, QString > effectNamesI18N()
Definition: presentationkb.cpp:683
void mousePressEvent(QMouseEvent *) override
Definition: presentationkb.cpp:710
void resizeGL(int w, int h) override
Definition: presentationkb.cpp:558
bool checkOpenGL() const
Definition: presentationkb.cpp:783
~PresentationKB() override
Definition: presentationkb.cpp:323
PresentationKB(PresentationContainer *const sharedData)
Definition: presentationkb.cpp:221
Definition: presentation_audiopage.cpp:46