mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-14 22:02:37 -03:00
b9564d7e54
- use labelExplanation for sending and receiving tab and move the string from the ui-file to the source - ensure that the table holding the label and address is resized so that the address column fits the address and the label column is stretched to fit the window size - rename some stuff for much easier readbility in the code (I find it hard to get the meaning of stuff like labels or buttons)
172 lines
5.1 KiB
XML
172 lines
5.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>AddressBookPage</class>
|
|
<widget class="QWidget" name="AddressBookPage">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>760</width>
|
|
<height>380</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Address Book</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="labelExplanation">
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableView" name="tableView">
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Double-click to edit address or label</string>
|
|
</property>
|
|
<property name="tabKeyNavigation">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="newAddress">
|
|
<property name="toolTip">
|
|
<string>Create a new address</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&New Address</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../bitcoin.qrc">
|
|
<normaloff>:/icons/add</normaloff>:/icons/add</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="copyAddress">
|
|
<property name="toolTip">
|
|
<string>Copy the currently selected address to the system clipboard</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Copy Address</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../bitcoin.qrc">
|
|
<normaloff>:/icons/editcopy</normaloff>:/icons/editcopy</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="showQRCode">
|
|
<property name="text">
|
|
<string>Show &QR Code</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../bitcoin.qrc">
|
|
<normaloff>:/icons/qrcode</normaloff>:/icons/qrcode</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="signMessage">
|
|
<property name="toolTip">
|
|
<string>Sign a message to prove you own a Bitcoin address</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Sign &Message</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../bitcoin.qrc">
|
|
<normaloff>:/icons/edit</normaloff>:/icons/edit</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="verifyMessage">
|
|
<property name="toolTip">
|
|
<string>Verify a message to ensure it was signed with a specified Bitcoin address</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Verify Message</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../bitcoin.qrc">
|
|
<normaloff>:/icons/transaction_0</normaloff>:/icons/transaction_0</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="deleteAddress">
|
|
<property name="toolTip">
|
|
<string>Delete the currently selected address from the list</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Delete</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../bitcoin.qrc">
|
|
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../bitcoin.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|