Bitcoin ABC 0.30.5
P2P Digital Currency
Public Slots | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
QRImageWidget Class Reference

Label widget for QR code. More...

#include <qrimagewidget.h>

Inheritance diagram for QRImageWidget:
[legend]
Collaboration diagram for QRImageWidget:
[legend]

Public Slots

void saveImage ()
 
void copyImage ()
 

Public Member Functions

 QRImageWidget (QWidget *parent=nullptr)
 
bool hasPixmap () const
 
bool setQR (const QString &qrData, const QString &text="")
 
QImage exportImage ()
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void contextMenuEvent (QContextMenuEvent *event) override
 

Private Attributes

QMenu * contextMenu
 

Detailed Description

Label widget for QR code.

This image can be dragged, dropped, copied and saved to disk.

Definition at line 25 of file qrimagewidget.h.

Constructor & Destructor Documentation

◆ QRImageWidget()

QRImageWidget::QRImageWidget ( QWidget *  parent = nullptr)
explicit

Definition at line 25 of file qrimagewidget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ contextMenuEvent()

void QRImageWidget::contextMenuEvent ( QContextMenuEvent *  event)
overrideprotectedvirtual

Definition at line 151 of file qrimagewidget.cpp.

Here is the call graph for this function:

◆ copyImage

void QRImageWidget::copyImage ( )
slot

Definition at line 144 of file qrimagewidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportImage()

QImage QRImageWidget::exportImage ( )

Definition at line 111 of file qrimagewidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasPixmap()

bool QRImageWidget::hasPixmap ( ) const

Definition at line 38 of file qrimagewidget.cpp.

Here is the caller graph for this function:

◆ mousePressEvent()

void QRImageWidget::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual

Definition at line 119 of file qrimagewidget.cpp.

Here is the call graph for this function:

◆ saveImage

void QRImageWidget::saveImage ( )
slot

Definition at line 133 of file qrimagewidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setQR()

bool QRImageWidget::setQR ( const QString &  qrData,
const QString &  text = "" 
)

Definition at line 46 of file qrimagewidget.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ contextMenu

QMenu* QRImageWidget::contextMenu
private

Definition at line 43 of file qrimagewidget.h.


The documentation for this class was generated from the following files: