Show address usage as tooltip
This commit is contained in:
@@ -1242,7 +1242,6 @@ void MainWindow::setupRecieveTab() {
|
|||||||
ui->rcvBal->clear();
|
ui->rcvBal->clear();
|
||||||
ui->txtRecieve->clear();
|
ui->txtRecieve->clear();
|
||||||
ui->qrcodeDisplay->clear();
|
ui->qrcodeDisplay->clear();
|
||||||
ui->lblUsed->clear();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1259,9 +1258,9 @@ void MainWindow::setupRecieveTab() {
|
|||||||
ui->txtRecieve->setPlainText(addr);
|
ui->txtRecieve->setPlainText(addr);
|
||||||
ui->qrcodeDisplay->setAddress(addr);
|
ui->qrcodeDisplay->setAddress(addr);
|
||||||
if (rpc->getUsedAddresses()->value(addr, false)) {
|
if (rpc->getUsedAddresses()->value(addr, false)) {
|
||||||
ui->lblUsed->setText(tr("Address has been previously used"));
|
ui->rcvBal->setToolTip(tr("Address has been previously used"));
|
||||||
} else {
|
} else {
|
||||||
ui->lblUsed->setText(tr("Address is unused"));
|
ui->rcvBal->setToolTip(tr("Address is unused"));
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -346,8 +346,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>920</width>
|
<width>928</width>
|
||||||
<height>334</height>
|
<height>380</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="sendToLayout">
|
<layout class="QVBoxLayout" name="sendToLayout">
|
||||||
@@ -739,17 +739,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0">
|
<item row="3" column="1" colspan="2">
|
||||||
<widget class="QLabel" name="label_10">
|
|
||||||
<property name="text">
|
|
||||||
<string>Address</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="4" column="1" colspan="2">
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_16">
|
<layout class="QHBoxLayout" name="horizontalLayout_16">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="exportKey">
|
<widget class="QPushButton" name="exportKey">
|
||||||
@@ -773,17 +763,13 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="label_15">
|
<widget class="QLabel" name="label_10">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Address used</string>
|
<string>Address</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="alignment">
|
||||||
</item>
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||||
<item row="3" column="1" colspan="2">
|
|
||||||
<widget class="QLabel" name="lblUsed">
|
|
||||||
<property name="text">
|
|
||||||
<string notr="true"/>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -992,7 +978,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>968</width>
|
<width>968</width>
|
||||||
<height>22</height>
|
<height>19</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuFile">
|
<widget class="QMenu" name="menuFile">
|
||||||
|
|||||||
Reference in New Issue
Block a user