Bitcoin Core  27.99.0
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) override
 
virtual void contextMenuEvent (QContextMenuEvent *event) override
 

Private Attributes

QMenu * contextMenu {nullptr}
 

Detailed Description

Definition at line 26 of file qrimagewidget.h.

Constructor & Destructor Documentation

◆ QRImageWidget()

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

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

Here is the call graph for this function:

◆ copyImage

void QRImageWidget::copyImage ( )
slot

Definition at line 130 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 call graph for this function:
Here is the caller graph for this function:

◆ mousePressEvent()

void QRImageWidget::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual

Definition at line 100 of file qrimagewidget.cpp.

Here is the call graph for this function:

◆ saveImage

void QRImageWidget::saveImage ( )
slot

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

Here is the call graph for this function:

Member Data Documentation

◆ contextMenu

QMenu* QRImageWidget::contextMenu {nullptr}
private

Definition at line 44 of file qrimagewidget.h.


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