Class ImgUploaderBase#
Inherits the following classes: QWidget
Inherited by the following classes: ImgurUploader
Public Attributes#
| Type | Name |
|---|---|
| QString | m_currentImageName |
Public Functions#
| Type | Name |
|---|---|
| ImgUploaderBase (const QPixmap & capture, QWidget * parent=nullptr) |
|
| virtual void | deleteImage (const QString & fileName, const QString & deleteToken) = 0 |
| const QUrl & | imageURL () |
| NotificationWidget * | notification () |
| const QPixmap & | pixmap () |
| void | setImageURL (const QUrl & imageURL) |
| void | setInfoLabelText (const QString & text) |
| void | setPixmap (const QPixmap & pixmap) |
| LoadSpinner * | spinner () |
| virtual void | upload () = 0 |
Public Attributes Documentation#
variable m_currentImageName#
QString ImgUploaderBase::m_currentImageName;
Public Functions Documentation#
function ImgUploaderBase#
explicit ImgUploaderBase::ImgUploaderBase (
const QPixmap & capture,
QWidget * parent=nullptr
)
function deleteImage#
virtual void ImgUploaderBase::deleteImage (
const QString & fileName,
const QString & deleteToken
) = 0
function imageURL#
const QUrl & ImgUploaderBase::imageURL ()
function notification#
NotificationWidget * ImgUploaderBase::notification ()
function pixmap#
const QPixmap & ImgUploaderBase::pixmap ()
function setImageURL#
void ImgUploaderBase::setImageURL (
const QUrl & imageURL
)
function setInfoLabelText#
void ImgUploaderBase::setInfoLabelText (
const QString & text
)
function setPixmap#
void ImgUploaderBase::setPixmap (
const QPixmap & pixmap
)
function spinner#
LoadSpinner * ImgUploaderBase::spinner ()
function upload#
virtual void ImgUploaderBase::upload () = 0