Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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 24 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 139 of file qrimagewidget.cpp.

Here is the call graph for this function:

◆ copyImage

void QRImageWidget::copyImage ( )
slot

Definition at line 132 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 93 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 102 of file qrimagewidget.cpp.

Here is the call graph for this function:

◆ saveImage

void QRImageWidget::saveImage ( )
slot

Definition at line 117 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 32 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: