Add missing documentation

This commit is contained in:
nirvn 2021-05-09 16:27:04 +07:00 committed by Nyall Dawson
parent ceb1e5bedc
commit ae7d8b40c0
2 changed files with 6 additions and 0 deletions

View File

@ -49,7 +49,11 @@ determined from the width with the given aspect ratio.
void setPixmap( const QPixmap & );
virtual void resizeEvent( QResizeEvent * );
void clear();
%Docstring
Clears any label contents.
%End
};

View File

@ -53,6 +53,8 @@ class GUI_EXPORT QgsPixmapLabel : public QLabel
void setPixmap( const QPixmap & );
void resizeEvent( QResizeEvent * ) override;
//! Clears any label contents.
void clear();
private: