27 #ifndef DIGIKAM_PRESENTATION_GL_H
28 #define DIGIKAM_PRESENTATION_GL_H
31 # include <winsock2.h>
36 #include <QOpenGLWidget>
40 #include <QMouseEvent>
43 #include <QStringList>
44 #include <QWheelEvent>
45 #include <QRandomGenerator>
50 class PresentationContainer;
72 void resizeGL(
int w,
int h)
override;
83 QPixmap generateOutlinedTextPixmap(
const QString& text);
84 QPixmap generateOutlinedTextPixmap(
const QString& text, QFont& fn);
85 QPixmap generateCustomOutlinedTextPixmap(
const QString& text,
86 QFont& fn, QColor& fgColor, QColor& bgColor,
87 int opacity,
bool transBg =
true);
93 void montage(QImage& top, QImage& bot);
94 EffectMethod getRandomEffect();
98 void printFilename(QImage& layer);
99 void printProgress(QImage& layer);
100 void printComments(QImage& layer);
109 void effectFlutter();
115 void slotMouseMoveTimeOut();
132 QRandomGenerator *randomGenerator;
Definition: presentationcontainer.h:54
Definition: presentationgl.h:53
void keyPressEvent(QKeyEvent *) override
Definition: presentationgl.cpp:426
void paintGL() override
Definition: presentationgl.cpp:386
static QStringList effectNames()
Definition: presentationgl.cpp:552
void resizeGL(int w, int h) override
Definition: presentationgl.cpp:416
void mouseMoveEvent(QMouseEvent *) override
Definition: presentationgl.cpp:464
void registerEffects()
Definition: presentationgl.cpp:539
bool checkOpenGL() const
Definition: presentationgl.cpp:1886
static QMap< QString, QString > effectNamesI18N()
Definition: presentationgl.cpp:570
void mousePressEvent(QMouseEvent *) override
Definition: presentationgl.cpp:443
PresentationGL(PresentationContainer *const sharedData)
Definition: presentationgl.cpp:168
void initializeGL() override
Definition: presentationgl.cpp:335
~PresentationGL() override
Definition: presentationgl.cpp:312
void wheelEvent(QWheelEvent *) override
Definition: presentationgl.cpp:511
Definition: presentation_audiopage.cpp:46