Convert UI files to UNIX EOL format.
authorCryptoManiac <balthazar@yandex.ru>
Sat, 21 Jun 2014 12:08:37 +0000 (16:08 +0400)
committerCryptoManiac <balthazar@yandex.ru>
Thu, 10 Jul 2014 18:40:03 +0000 (22:40 +0400)
src/qt/forms/sendcoinsentry.ui
src/qt/forms/signverifymessagedialog.ui
src/qt/sendcoinsdialog.cpp

index fe0f176..3d90e49 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
-<ui version="4.0">\r
- <class>SendCoinsEntry</class>\r
- <widget class="QFrame" name="SendCoinsEntry">\r
-  <property name="geometry">\r
-   <rect>\r
-    <x>0</x>\r
-    <y>0</y>\r
-    <width>729</width>\r
-    <height>136</height>\r
-   </rect>\r
-  </property>\r
-  <property name="windowTitle">\r
-   <string>Form</string>\r
-  </property>\r
-  <property name="frameShape">\r
-   <enum>QFrame::StyledPanel</enum>\r
-  </property>\r
-  <property name="frameShadow">\r
-   <enum>QFrame::Sunken</enum>\r
-  </property>\r
-  <layout class="QGridLayout" name="gridLayout">\r
-   <property name="spacing">\r
-    <number>12</number>\r
-   </property>\r
-   <item row="5" column="0">\r
-    <widget class="QLabel" name="label">\r
-     <property name="text">\r
-      <string>A&amp;mount:</string>\r
-     </property>\r
-     <property name="alignment">\r
-      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>\r
-     </property>\r
-     <property name="buddy">\r
-      <cstring>payAmount</cstring>\r
-     </property>\r
-    </widget>\r
-   </item>\r
-   <item row="3" column="0">\r
-    <widget class="QLabel" name="label_2">\r
-     <property name="text">\r
-      <string>Pay &amp;To:</string>\r
-     </property>\r
-     <property name="alignment">\r
-      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>\r
-     </property>\r
-     <property name="buddy">\r
-      <cstring>payTo</cstring>\r
-     </property>\r
-    </widget>\r
-   </item>\r
-   <item row="5" column="1">\r
-    <widget class="BitcoinAmountField" name="payAmount"/>\r
-   </item>\r
-   <item row="4" column="1">\r
-    <layout class="QHBoxLayout" name="horizontalLayout_2">\r
-     <property name="spacing">\r
-      <number>0</number>\r
-     </property>\r
-     <item>\r
-      <widget class="QValidatedLineEdit" name="addAsLabel">\r
-       <property name="enabled">\r
-        <bool>true</bool>\r
-       </property>\r
-       <property name="toolTip">\r
-        <string>Enter a label for this address to add it to your address book</string>\r
-       </property>\r
-      </widget>\r
-     </item>\r
-    </layout>\r
-   </item>\r
-   <item row="4" column="0">\r
-    <widget class="QLabel" name="label_4">\r
-     <property name="text">\r
-      <string>&amp;Label:</string>\r
-     </property>\r
-     <property name="alignment">\r
-      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>\r
-     </property>\r
-     <property name="buddy">\r
-      <cstring>addAsLabel</cstring>\r
-     </property>\r
-    </widget>\r
-   </item>\r
-   <item row="3" column="1">\r
-    <layout class="QHBoxLayout" name="payToLayout">\r
-     <property name="spacing">\r
-      <number>0</number>\r
-     </property>\r
-     <item>\r
-      <widget class="QValidatedLineEdit" name="payTo">\r
-       <property name="toolTip">\r
-        <string>The address to send the payment to  (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</string>\r
-       </property>\r
-       <property name="maxLength">\r
-        <number>34</number>\r
-       </property>\r
-      </widget>\r
-     </item>\r
-     <item>\r
-      <widget class="QToolButton" name="addressBookButton">\r
-       <property name="toolTip">\r
-        <string>Choose address from address book</string>\r
-       </property>\r
-       <property name="text">\r
-        <string/>\r
-       </property>\r
-       <property name="icon">\r
-        <iconset resource="../bitcoin.qrc">\r
-         <normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>\r
-       </property>\r
-       <property name="shortcut">\r
-        <string>Alt+A</string>\r
-       </property>\r
-      </widget>\r
-     </item>\r
-     <item>\r
-      <widget class="QToolButton" name="pasteButton">\r
-       <property name="toolTip">\r
-        <string>Paste address from clipboard</string>\r
-       </property>\r
-       <property name="text">\r
-        <string/>\r
-       </property>\r
-       <property name="icon">\r
-        <iconset resource="../bitcoin.qrc">\r
-         <normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset>\r
-       </property>\r
-       <property name="shortcut">\r
-        <string>Alt+P</string>\r
-       </property>\r
-      </widget>\r
-     </item>\r
-     <item>\r
-      <widget class="QToolButton" name="deleteButton">\r
-       <property name="toolTip">\r
-        <string>Remove this recipient</string>\r
-       </property>\r
-       <property name="text">\r
-        <string/>\r
-       </property>\r
-       <property name="icon">\r
-        <iconset resource="../bitcoin.qrc">\r
-         <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>\r
-       </property>\r
-      </widget>\r
-     </item>\r
-    </layout>\r
-   </item>\r
-  </layout>\r
- </widget>\r
- <customwidgets>\r
-  <customwidget>\r
-   <class>QValidatedLineEdit</class>\r
-   <extends>QLineEdit</extends>\r
-   <header>qvalidatedlineedit.h</header>\r
-  </customwidget>\r
-  <customwidget>\r
-   <class>BitcoinAmountField</class>\r
-   <extends>QLineEdit</extends>\r
-   <header>bitcoinamountfield.h</header>\r
-   <container>1</container>\r
-  </customwidget>\r
- </customwidgets>\r
- <resources>\r
-  <include location="../bitcoin.qrc"/>\r
- </resources>\r
- <connections/>\r
-</ui>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>SendCoinsEntry</class>
+ <widget class="QFrame" name="SendCoinsEntry">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>729</width>
+    <height>136</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Form</string>
+  </property>
+  <property name="frameShape">
+   <enum>QFrame::StyledPanel</enum>
+  </property>
+  <property name="frameShadow">
+   <enum>QFrame::Sunken</enum>
+  </property>
+  <layout class="QGridLayout" name="gridLayout">
+   <property name="spacing">
+    <number>12</number>
+   </property>
+   <item row="5" column="0">
+    <widget class="QLabel" name="label">
+     <property name="text">
+      <string>A&amp;mount:</string>
+     </property>
+     <property name="alignment">
+      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+     </property>
+     <property name="buddy">
+      <cstring>payAmount</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="3" column="0">
+    <widget class="QLabel" name="label_2">
+     <property name="text">
+      <string>Pay &amp;To:</string>
+     </property>
+     <property name="alignment">
+      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+     </property>
+     <property name="buddy">
+      <cstring>payTo</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="5" column="1">
+    <widget class="BitcoinAmountField" name="payAmount"/>
+   </item>
+   <item row="4" column="1">
+    <layout class="QHBoxLayout" name="horizontalLayout_2">
+     <property name="spacing">
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="QValidatedLineEdit" name="addAsLabel">
+       <property name="enabled">
+        <bool>true</bool>
+       </property>
+       <property name="toolTip">
+        <string>Enter a label for this address to add it to your address book</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item row="4" column="0">
+    <widget class="QLabel" name="label_4">
+     <property name="text">
+      <string>&amp;Label:</string>
+     </property>
+     <property name="alignment">
+      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+     </property>
+     <property name="buddy">
+      <cstring>addAsLabel</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="3" column="1">
+    <layout class="QHBoxLayout" name="payToLayout">
+     <property name="spacing">
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="QValidatedLineEdit" name="payTo">
+       <property name="toolTip">
+        <string>The address to send the payment to  (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</string>
+       </property>
+       <property name="maxLength">
+        <number>34</number>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QToolButton" name="addressBookButton">
+       <property name="toolTip">
+        <string>Choose address from address book</string>
+       </property>
+       <property name="text">
+        <string/>
+       </property>
+       <property name="icon">
+        <iconset resource="../bitcoin.qrc">
+         <normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>
+       </property>
+       <property name="shortcut">
+        <string>Alt+A</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QToolButton" name="pasteButton">
+       <property name="toolTip">
+        <string>Paste address from clipboard</string>
+       </property>
+       <property name="text">
+        <string/>
+       </property>
+       <property name="icon">
+        <iconset resource="../bitcoin.qrc">
+         <normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset>
+       </property>
+       <property name="shortcut">
+        <string>Alt+P</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QToolButton" name="deleteButton">
+       <property name="toolTip">
+        <string>Remove this recipient</string>
+       </property>
+       <property name="text">
+        <string/>
+       </property>
+       <property name="icon">
+        <iconset resource="../bitcoin.qrc">
+         <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>QValidatedLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header>qvalidatedlineedit.h</header>
+  </customwidget>
+  <customwidget>
+   <class>BitcoinAmountField</class>
+   <extends>QLineEdit</extends>
+   <header>bitcoinamountfield.h</header>
+   <container>1</container>
+  </customwidget>
+ </customwidgets>
+ <resources>
+  <include location="../bitcoin.qrc"/>
+ </resources>
+ <connections/>
+</ui>
index 648e200..7808547 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
-<ui version="4.0">\r
- <class>SignVerifyMessageDialog</class>\r
- <widget class="QDialog" name="SignVerifyMessageDialog">\r
-  <property name="geometry">\r
-   <rect>\r
-    <x>0</x>\r
-    <y>0</y>\r
-    <width>700</width>\r
-    <height>380</height>\r
-   </rect>\r
-  </property>\r
-  <property name="windowTitle">\r
-   <string>Signatures - Sign / Verify a Message</string>\r
-  </property>\r
-  <property name="modal">\r
-   <bool>true</bool>\r
-  </property>\r
-  <layout class="QVBoxLayout" name="verticalLayout">\r
-   <item>\r
-    <widget class="QTabWidget" name="tabWidget">\r
-     <property name="currentIndex">\r
-      <number>1</number>\r
-     </property>\r
-     <widget class="QWidget" name="tabSignMessage">\r
-      <attribute name="title">\r
-       <string>&amp;Sign Message</string>\r
-      </attribute>\r
-      <layout class="QVBoxLayout" name="verticalLayout_SM">\r
-       <item>\r
-        <widget class="QLabel" name="infoLabel_SM">\r
-         <property name="text">\r
-          <string>You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</string>\r
-         </property>\r
-         <property name="textFormat">\r
-          <enum>Qt::PlainText</enum>\r
-         </property>\r
-         <property name="wordWrap">\r
-          <bool>true</bool>\r
-         </property>\r
-        </widget>\r
-       </item>\r
-       <item>\r
-        <layout class="QHBoxLayout" name="horizontalLayout_1_SM">\r
-         <property name="spacing">\r
-          <number>0</number>\r
-         </property>\r
-         <item>\r
-          <widget class="QValidatedLineEdit" name="addressIn_SM">\r
-           <property name="toolTip">\r
-            <string>The address to sign the message with (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</string>\r
-           </property>\r
-           <property name="maxLength">\r
-            <number>34</number>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-         <item>\r
-          <widget class="QPushButton" name="addressBookButton_SM">\r
-           <property name="toolTip">\r
-            <string>Choose an address from the address book</string>\r
-           </property>\r
-           <property name="text">\r
-            <string/>\r
-           </property>\r
-           <property name="icon">\r
-            <iconset resource="../bitcoin.qrc">\r
-             <normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>\r
-           </property>\r
-           <property name="shortcut">\r
-            <string>Alt+A</string>\r
-           </property>\r
-           <property name="autoDefault">\r
-            <bool>false</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-         <item>\r
-          <widget class="QPushButton" name="pasteButton_SM">\r
-           <property name="toolTip">\r
-            <string>Paste address from clipboard</string>\r
-           </property>\r
-           <property name="text">\r
-            <string/>\r
-           </property>\r
-           <property name="icon">\r
-            <iconset resource="../bitcoin.qrc">\r
-             <normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset>\r
-           </property>\r
-           <property name="shortcut">\r
-            <string>Alt+P</string>\r
-           </property>\r
-           <property name="autoDefault">\r
-            <bool>false</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-        </layout>\r
-       </item>\r
-       <item>\r
-        <widget class="QPlainTextEdit" name="messageIn_SM">\r
-         <property name="toolTip">\r
-          <string>Enter the message you want to sign here</string>\r
-         </property>\r
-        </widget>\r
-       </item>\r
-       <item>\r
-        <layout class="QHBoxLayout" name="horizontalLayout_2_SM">\r
-         <property name="spacing">\r
-          <number>0</number>\r
-         </property>\r
-         <item>\r
-          <widget class="QLineEdit" name="signatureOut_SM">\r
-           <property name="font">\r
-            <font>\r
-             <italic>true</italic>\r
-            </font>\r
-           </property>\r
-           <property name="readOnly">\r
-            <bool>true</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-         <item>\r
-          <widget class="QPushButton" name="copySignatureButton_SM">\r
-           <property name="toolTip">\r
-            <string>Copy the current signature to the system clipboard</string>\r
-           </property>\r
-           <property name="text">\r
-            <string/>\r
-           </property>\r
-           <property name="icon">\r
-            <iconset resource="../bitcoin.qrc">\r
-             <normaloff>:/icons/editcopy</normaloff>:/icons/editcopy</iconset>\r
-           </property>\r
-           <property name="autoDefault">\r
-            <bool>false</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-        </layout>\r
-       </item>\r
-       <item>\r
-        <layout class="QHBoxLayout" name="horizontalLayout_3_SM">\r
-         <item>\r
-          <widget class="QPushButton" name="signMessageButton_SM">\r
-           <property name="toolTip">\r
-            <string>Sign the message to prove you own this NovaCoin address</string>\r
-           </property>\r
-           <property name="text">\r
-            <string>&amp;Sign Message</string>\r
-           </property>\r
-           <property name="icon">\r
-            <iconset resource="../bitcoin.qrc">\r
-             <normaloff>:/icons/edit</normaloff>:/icons/edit</iconset>\r
-           </property>\r
-           <property name="autoDefault">\r
-            <bool>false</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-         <item>\r
-          <widget class="QPushButton" name="clearButton_SM">\r
-           <property name="toolTip">\r
-            <string>Reset all sign message fields</string>\r
-           </property>\r
-           <property name="text">\r
-            <string>Clear &amp;All</string>\r
-           </property>\r
-           <property name="icon">\r
-            <iconset resource="../bitcoin.qrc">\r
-             <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>\r
-           </property>\r
-           <property name="autoDefault">\r
-            <bool>false</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-         <item>\r
-          <spacer name="horizontalSpacer_1_SM">\r
-           <property name="orientation">\r
-            <enum>Qt::Horizontal</enum>\r
-           </property>\r
-           <property name="sizeHint" stdset="0">\r
-            <size>\r
-             <width>40</width>\r
-             <height>48</height>\r
-            </size>\r
-           </property>\r
-          </spacer>\r
-         </item>\r
-         <item>\r
-          <widget class="QLabel" name="statusLabel_SM">\r
-           <property name="font">\r
-            <font>\r
-             <weight>75</weight>\r
-             <bold>true</bold>\r
-            </font>\r
-           </property>\r
-           <property name="text">\r
-            <string/>\r
-           </property>\r
-           <property name="wordWrap">\r
-            <bool>true</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-         <item>\r
-          <spacer name="horizontalSpacer_2_SM">\r
-           <property name="orientation">\r
-            <enum>Qt::Horizontal</enum>\r
-           </property>\r
-           <property name="sizeHint" stdset="0">\r
-            <size>\r
-             <width>40</width>\r
-             <height>48</height>\r
-            </size>\r
-           </property>\r
-          </spacer>\r
-         </item>\r
-        </layout>\r
-       </item>\r
-      </layout>\r
-     </widget>\r
-     <widget class="QWidget" name="tabVerifyMessage">\r
-      <attribute name="title">\r
-       <string>&amp;Verify Message</string>\r
-      </attribute>\r
-      <layout class="QVBoxLayout" name="verticalLayout_VM">\r
-       <item>\r
-        <widget class="QLabel" name="infoLabel_VM">\r
-         <property name="text">\r
-          <string>Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack.</string>\r
-         </property>\r
-         <property name="textFormat">\r
-          <enum>Qt::PlainText</enum>\r
-         </property>\r
-         <property name="alignment">\r
-          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>\r
-         </property>\r
-         <property name="wordWrap">\r
-          <bool>true</bool>\r
-         </property>\r
-        </widget>\r
-       </item>\r
-       <item>\r
-        <layout class="QHBoxLayout" name="horizontalLayout_1_VM">\r
-         <property name="spacing">\r
-          <number>0</number>\r
-         </property>\r
-         <item>\r
-          <widget class="QValidatedLineEdit" name="addressIn_VM">\r
-           <property name="toolTip">\r
-            <string>The address the message was signed with (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</string>\r
-           </property>\r
-           <property name="maxLength">\r
-            <number>34</number>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-         <item>\r
-          <widget class="QPushButton" name="addressBookButton_VM">\r
-           <property name="toolTip">\r
-            <string>Choose an address from the address book</string>\r
-           </property>\r
-           <property name="text">\r
-            <string/>\r
-           </property>\r
-           <property name="icon">\r
-            <iconset resource="../bitcoin.qrc">\r
-             <normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>\r
-           </property>\r
-           <property name="shortcut">\r
-            <string>Alt+A</string>\r
-           </property>\r
-           <property name="autoDefault">\r
-            <bool>false</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-        </layout>\r
-       </item>\r
-       <item>\r
-        <widget class="QPlainTextEdit" name="messageIn_VM"/>\r
-       </item>\r
-       <item>\r
-        <widget class="QValidatedLineEdit" name="signatureIn_VM"/>\r
-       </item>\r
-       <item>\r
-        <layout class="QHBoxLayout" name="horizontalLayout_2_VM">\r
-         <item>\r
-          <widget class="QPushButton" name="verifyMessageButton_VM">\r
-           <property name="toolTip">\r
-            <string>Verify the message to ensure it was signed with the specified NovaCoin address</string>\r
-           </property>\r
-           <property name="text">\r
-            <string>&amp;Verify Message</string>\r
-           </property>\r
-           <property name="icon">\r
-            <iconset resource="../bitcoin.qrc">\r
-             <normaloff>:/icons/transaction_0</normaloff>:/icons/transaction_0</iconset>\r
-           </property>\r
-           <property name="autoDefault">\r
-            <bool>false</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-         <item>\r
-          <widget class="QPushButton" name="clearButton_VM">\r
-           <property name="toolTip">\r
-            <string>Reset all verify message fields</string>\r
-           </property>\r
-           <property name="text">\r
-            <string>Clear &amp;All</string>\r
-           </property>\r
-           <property name="icon">\r
-            <iconset resource="../bitcoin.qrc">\r
-             <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>\r
-           </property>\r
-           <property name="autoDefault">\r
-            <bool>false</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-         <item>\r
-          <spacer name="horizontalSpacer_1_VM">\r
-           <property name="orientation">\r
-            <enum>Qt::Horizontal</enum>\r
-           </property>\r
-           <property name="sizeHint" stdset="0">\r
-            <size>\r
-             <width>40</width>\r
-             <height>48</height>\r
-            </size>\r
-           </property>\r
-          </spacer>\r
-         </item>\r
-         <item>\r
-          <widget class="QLabel" name="statusLabel_VM">\r
-           <property name="font">\r
-            <font>\r
-             <weight>75</weight>\r
-             <bold>true</bold>\r
-            </font>\r
-           </property>\r
-           <property name="text">\r
-            <string/>\r
-           </property>\r
-           <property name="wordWrap">\r
-            <bool>true</bool>\r
-           </property>\r
-          </widget>\r
-         </item>\r
-         <item>\r
-          <spacer name="horizontalSpacer_2_VM">\r
-           <property name="orientation">\r
-            <enum>Qt::Horizontal</enum>\r
-           </property>\r
-           <property name="sizeHint" stdset="0">\r
-            <size>\r
-             <width>40</width>\r
-             <height>48</height>\r
-            </size>\r
-           </property>\r
-          </spacer>\r
-         </item>\r
-        </layout>\r
-       </item>\r
-      </layout>\r
-     </widget>\r
-    </widget>\r
-   </item>\r
-  </layout>\r
- </widget>\r
- <customwidgets>\r
-  <customwidget>\r
-   <class>QValidatedLineEdit</class>\r
-   <extends>QLineEdit</extends>\r
-   <header>qvalidatedlineedit.h</header>\r
-  </customwidget>\r
- </customwidgets>\r
- <resources>\r
-  <include location="../bitcoin.qrc"/>\r
- </resources>\r
- <connections/>\r
-</ui>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>SignVerifyMessageDialog</class>
+ <widget class="QDialog" name="SignVerifyMessageDialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>700</width>
+    <height>380</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Signatures - Sign / Verify a Message</string>
+  </property>
+  <property name="modal">
+   <bool>true</bool>
+  </property>
+  <layout class="QVBoxLayout" name="verticalLayout">
+   <item>
+    <widget class="QTabWidget" name="tabWidget">
+     <property name="currentIndex">
+      <number>1</number>
+     </property>
+     <widget class="QWidget" name="tabSignMessage">
+      <attribute name="title">
+       <string>&amp;Sign Message</string>
+      </attribute>
+      <layout class="QVBoxLayout" name="verticalLayout_SM">
+       <item>
+        <widget class="QLabel" name="infoLabel_SM">
+         <property name="text">
+          <string>You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</string>
+         </property>
+         <property name="textFormat">
+          <enum>Qt::PlainText</enum>
+         </property>
+         <property name="wordWrap">
+          <bool>true</bool>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <layout class="QHBoxLayout" name="horizontalLayout_1_SM">
+         <property name="spacing">
+          <number>0</number>
+         </property>
+         <item>
+          <widget class="QValidatedLineEdit" name="addressIn_SM">
+           <property name="toolTip">
+            <string>The address to sign the message with (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</string>
+           </property>
+           <property name="maxLength">
+            <number>34</number>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QPushButton" name="addressBookButton_SM">
+           <property name="toolTip">
+            <string>Choose an address from the address book</string>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="icon">
+            <iconset resource="../bitcoin.qrc">
+             <normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>
+           </property>
+           <property name="shortcut">
+            <string>Alt+A</string>
+           </property>
+           <property name="autoDefault">
+            <bool>false</bool>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QPushButton" name="pasteButton_SM">
+           <property name="toolTip">
+            <string>Paste address from clipboard</string>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="icon">
+            <iconset resource="../bitcoin.qrc">
+             <normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset>
+           </property>
+           <property name="shortcut">
+            <string>Alt+P</string>
+           </property>
+           <property name="autoDefault">
+            <bool>false</bool>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </item>
+       <item>
+        <widget class="QPlainTextEdit" name="messageIn_SM">
+         <property name="toolTip">
+          <string>Enter the message you want to sign here</string>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <layout class="QHBoxLayout" name="horizontalLayout_2_SM">
+         <property name="spacing">
+          <number>0</number>
+         </property>
+         <item>
+          <widget class="QLineEdit" name="signatureOut_SM">
+           <property name="font">
+            <font>
+             <italic>true</italic>
+            </font>
+           </property>
+           <property name="readOnly">
+            <bool>true</bool>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QPushButton" name="copySignatureButton_SM">
+           <property name="toolTip">
+            <string>Copy the current signature to the system clipboard</string>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="icon">
+            <iconset resource="../bitcoin.qrc">
+             <normaloff>:/icons/editcopy</normaloff>:/icons/editcopy</iconset>
+           </property>
+           <property name="autoDefault">
+            <bool>false</bool>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </item>
+       <item>
+        <layout class="QHBoxLayout" name="horizontalLayout_3_SM">
+         <item>
+          <widget class="QPushButton" name="signMessageButton_SM">
+           <property name="toolTip">
+            <string>Sign the message to prove you own this NovaCoin address</string>
+           </property>
+           <property name="text">
+            <string>&amp;Sign Message</string>
+           </property>
+           <property name="icon">
+            <iconset resource="../bitcoin.qrc">
+             <normaloff>:/icons/edit</normaloff>:/icons/edit</iconset>
+           </property>
+           <property name="autoDefault">
+            <bool>false</bool>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QPushButton" name="clearButton_SM">
+           <property name="toolTip">
+            <string>Reset all sign message fields</string>
+           </property>
+           <property name="text">
+            <string>Clear &amp;All</string>
+           </property>
+           <property name="icon">
+            <iconset resource="../bitcoin.qrc">
+             <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
+           </property>
+           <property name="autoDefault">
+            <bool>false</bool>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <spacer name="horizontalSpacer_1_SM">
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>40</width>
+             <height>48</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item>
+          <widget class="QLabel" name="statusLabel_SM">
+           <property name="font">
+            <font>
+             <weight>75</weight>
+             <bold>true</bold>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="wordWrap">
+            <bool>true</bool>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <spacer name="horizontalSpacer_2_SM">
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>40</width>
+             <height>48</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="tabVerifyMessage">
+      <attribute name="title">
+       <string>&amp;Verify Message</string>
+      </attribute>
+      <layout class="QVBoxLayout" name="verticalLayout_VM">
+       <item>
+        <widget class="QLabel" name="infoLabel_VM">
+         <property name="text">
+          <string>Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack.</string>
+         </property>
+         <property name="textFormat">
+          <enum>Qt::PlainText</enum>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+         </property>
+         <property name="wordWrap">
+          <bool>true</bool>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <layout class="QHBoxLayout" name="horizontalLayout_1_VM">
+         <property name="spacing">
+          <number>0</number>
+         </property>
+         <item>
+          <widget class="QValidatedLineEdit" name="addressIn_VM">
+           <property name="toolTip">
+            <string>The address the message was signed with (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</string>
+           </property>
+           <property name="maxLength">
+            <number>34</number>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QPushButton" name="addressBookButton_VM">
+           <property name="toolTip">
+            <string>Choose an address from the address book</string>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="icon">
+            <iconset resource="../bitcoin.qrc">
+             <normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>
+           </property>
+           <property name="shortcut">
+            <string>Alt+A</string>
+           </property>
+           <property name="autoDefault">
+            <bool>false</bool>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </item>
+       <item>
+        <widget class="QPlainTextEdit" name="messageIn_VM"/>
+       </item>
+       <item>
+        <widget class="QValidatedLineEdit" name="signatureIn_VM"/>
+       </item>
+       <item>
+        <layout class="QHBoxLayout" name="horizontalLayout_2_VM">
+         <item>
+          <widget class="QPushButton" name="verifyMessageButton_VM">
+           <property name="toolTip">
+            <string>Verify the message to ensure it was signed with the specified NovaCoin address</string>
+           </property>
+           <property name="text">
+            <string>&amp;Verify Message</string>
+           </property>
+           <property name="icon">
+            <iconset resource="../bitcoin.qrc">
+             <normaloff>:/icons/transaction_0</normaloff>:/icons/transaction_0</iconset>
+           </property>
+           <property name="autoDefault">
+            <bool>false</bool>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QPushButton" name="clearButton_VM">
+           <property name="toolTip">
+            <string>Reset all verify message fields</string>
+           </property>
+           <property name="text">
+            <string>Clear &amp;All</string>
+           </property>
+           <property name="icon">
+            <iconset resource="../bitcoin.qrc">
+             <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
+           </property>
+           <property name="autoDefault">
+            <bool>false</bool>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <spacer name="horizontalSpacer_1_VM">
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>40</width>
+             <height>48</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item>
+          <widget class="QLabel" name="statusLabel_VM">
+           <property name="font">
+            <font>
+             <weight>75</weight>
+             <bold>true</bold>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="wordWrap">
+            <bool>true</bool>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <spacer name="horizontalSpacer_2_VM">
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>40</width>
+             <height>48</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </widget>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>QValidatedLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header>qvalidatedlineedit.h</header>
+  </customwidget>
+ </customwidgets>
+ <resources>
+  <include location="../bitcoin.qrc"/>
+ </resources>
+ <connections/>
+</ui>
index 35df0fd..7f7d8bf 100644 (file)
@@ -462,7 +462,7 @@ void SendCoinsDialog::coinControlChangeEdited(const QString & text)
         else if (!CBitcoinAddress(text.toStdString()).IsValid())
         {
             ui->labelCoinControlChangeLabel->setStyleSheet("QLabel{color:red;}");
-            ui->labelCoinControlChangeLabel->setText(tr("WARNING: Invalid Bitcoin address"));
+            ui->labelCoinControlChangeLabel->setText(tr("WARNING: Invalid NovaCoin address"));
         }
         else
         {