image viewer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user