qt: allow dragging, copying and saving QR code

Add context menu and drag handling to QR code widget.
This commit is contained in:
Wladimir J. van der Laan
2013-10-18 13:08:30 +02:00
parent 864a6f790e
commit 82095923bb
3 changed files with 75 additions and 13 deletions

View File

@@ -15,7 +15,7 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="lblQRCode">
<widget class="QRImageWidget" name="lblQRCode">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@@ -233,6 +233,11 @@
<extends>QWidget</extends>
<header>bitcoinamountfield.h</header>
</customwidget>
<customwidget>
<class>QRImageWidget</class>
<extends>QLabel</extends>
<header>receiverequestdialog.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>