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

#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 setQR (const QString &data, const QString &text="")
 
QImage exportImage ()
 

Protected Member Functions

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

Private Attributes

QMenu * contextMenu
 

Detailed Description

Definition at line 24 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)
protectedvirtual

Definition at line 136 of file qrimagewidget.cpp.

◆ copyImage

void QRImageWidget::copyImage ( )
slot

Definition at line 129 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 95 of file qrimagewidget.cpp.

Here is the caller graph for this function:

◆ mousePressEvent()

void QRImageWidget::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 102 of file qrimagewidget.cpp.

Here is the call graph for this function:

◆ saveImage

void QRImageWidget::saveImage ( )
slot

Definition at line 118 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 &  data,
const QString &  text = "" 
)

Definition at line 37 of file qrimagewidget.cpp.

Member Data Documentation

◆ contextMenu

QMenu* QRImageWidget::contextMenu
private

Definition at line 42 of file qrimagewidget.h.


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