image viewer

This commit is contained in:
2019-04-03 16:11:22 +02:00
parent 5aa22fbfdd
commit a643810119
7 changed files with 223 additions and 2 deletions
+29
View File
@@ -9,6 +9,8 @@
class cLabel : public QLabel
{
Q_OBJECT
public:
cLabel(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
cLabel(const QString &text, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
@@ -19,6 +21,33 @@ private:
protected:
void resizeEvent(QResizeEvent* e);
void keyPressEvent(QKeyEvent* e);
signals:
/*!
\brief
\fn imageNext
*/
void imageNext();
/*!
\brief
\fn imagePrev
*/
void imagePrev();
/*!
\brief
\fn imageLast
*/
void imageLast();
/*!
\brief
\fn imageFirst
*/
void imageFirst();
};
#endif // CLABEL_H