Aditya Kulkarni
5 years ago
12 changed files with 97 additions and 722 deletions
@ -1,192 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<ui version="4.0"> |
|
||||
<class>TurnstileProgress</class> |
|
||||
<widget class="QDialog" name="TurnstileProgress"> |
|
||||
<property name="geometry"> |
|
||||
<rect> |
|
||||
<x>0</x> |
|
||||
<y>0</y> |
|
||||
<width>400</width> |
|
||||
<height>300</height> |
|
||||
</rect> |
|
||||
</property> |
|
||||
<property name="windowTitle"> |
|
||||
<string>Turnstile Migration Progress</string> |
|
||||
</property> |
|
||||
<layout class="QGridLayout" name="gridLayout"> |
|
||||
<item row="0" column="0"> |
|
||||
<widget class="QLabel" name="label"> |
|
||||
<property name="text"> |
|
||||
<string>From</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="2" column="0"> |
|
||||
<widget class="QLabel" name="label_3"> |
|
||||
<property name="text"> |
|
||||
<string>To</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="1" column="0" colspan="3"> |
|
||||
<widget class="QLabel" name="fromAddr"> |
|
||||
<property name="text"> |
|
||||
<string notr="true">From Address</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="6" column="2"> |
|
||||
<widget class="QLabel" name="progressTxt"> |
|
||||
<property name="text"> |
|
||||
<string notr="true">4 / 12</string> |
|
||||
</property> |
|
||||
<property name="alignment"> |
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="12" column="1" colspan="2"> |
|
||||
<widget class="QLabel" name="label_4"> |
|
||||
<property name="sizePolicy"> |
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
||||
<horstretch>0</horstretch> |
|
||||
<verstretch>0</verstretch> |
|
||||
</sizepolicy> |
|
||||
</property> |
|
||||
<property name="text"> |
|
||||
<string>Please ensure you have your wallet.dat backed up!</string> |
|
||||
</property> |
|
||||
<property name="wordWrap"> |
|
||||
<bool>true</bool> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="9" column="0" colspan="3"> |
|
||||
<widget class="QLabel" name="nextTx"> |
|
||||
<property name="text"> |
|
||||
<string>Next Transaction in 4 hours</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="7" column="0" colspan="3"> |
|
||||
<widget class="QProgressBar" name="progressBar"> |
|
||||
<property name="value"> |
|
||||
<number>33</number> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="13" column="0" colspan="3"> |
|
||||
<widget class="Line" name="line_2"> |
|
||||
<property name="orientation"> |
|
||||
<enum>Qt::Horizontal</enum> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="6" column="0" colspan="2"> |
|
||||
<widget class="QLabel" name="label_2"> |
|
||||
<property name="text"> |
|
||||
<string>Migration Progress</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="14" column="0" colspan="3"> |
|
||||
<widget class="QDialogButtonBox" name="buttonBox"> |
|
||||
<property name="orientation"> |
|
||||
<enum>Qt::Horizontal</enum> |
|
||||
</property> |
|
||||
<property name="standardButtons"> |
|
||||
<set>QDialogButtonBox::Close|QDialogButtonBox::Discard</set> |
|
||||
</property> |
|
||||
<property name="centerButtons"> |
|
||||
<bool>false</bool> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="12" column="0"> |
|
||||
<widget class="QLabel" name="msgIcon"> |
|
||||
<property name="sizePolicy"> |
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
|
||||
<horstretch>0</horstretch> |
|
||||
<verstretch>0</verstretch> |
|
||||
</sizepolicy> |
|
||||
</property> |
|
||||
<property name="text"> |
|
||||
<string notr="true">TextLabel</string> |
|
||||
</property> |
|
||||
<property name="alignment"> |
|
||||
<set>Qt::AlignCenter</set> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="11" column="0" colspan="3"> |
|
||||
<spacer name="verticalSpacer"> |
|
||||
<property name="orientation"> |
|
||||
<enum>Qt::Vertical</enum> |
|
||||
</property> |
|
||||
<property name="sizeHint" stdset="0"> |
|
||||
<size> |
|
||||
<width>20</width> |
|
||||
<height>40</height> |
|
||||
</size> |
|
||||
</property> |
|
||||
</spacer> |
|
||||
</item> |
|
||||
<item row="5" column="0" colspan="3"> |
|
||||
<widget class="Line" name="line_3"> |
|
||||
<property name="orientation"> |
|
||||
<enum>Qt::Horizontal</enum> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="3" column="0" colspan="3"> |
|
||||
<widget class="QLabel" name="toAddr"> |
|
||||
<property name="text"> |
|
||||
<string notr="true">To Address</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="10" column="0" colspan="3"> |
|
||||
<widget class="Line" name="line"> |
|
||||
<property name="orientation"> |
|
||||
<enum>Qt::Horizontal</enum> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
</layout> |
|
||||
</widget> |
|
||||
<resources/> |
|
||||
<connections> |
|
||||
<connection> |
|
||||
<sender>buttonBox</sender> |
|
||||
<signal>accepted()</signal> |
|
||||
<receiver>TurnstileProgress</receiver> |
|
||||
<slot>accept()</slot> |
|
||||
<hints> |
|
||||
<hint type="sourcelabel"> |
|
||||
<x>248</x> |
|
||||
<y>254</y> |
|
||||
</hint> |
|
||||
<hint type="destinationlabel"> |
|
||||
<x>157</x> |
|
||||
<y>274</y> |
|
||||
</hint> |
|
||||
</hints> |
|
||||
</connection> |
|
||||
<connection> |
|
||||
<sender>buttonBox</sender> |
|
||||
<signal>rejected()</signal> |
|
||||
<receiver>TurnstileProgress</receiver> |
|
||||
<slot>reject()</slot> |
|
||||
<hints> |
|
||||
<hint type="sourcelabel"> |
|
||||
<x>316</x> |
|
||||
<y>260</y> |
|
||||
</hint> |
|
||||
<hint type="destinationlabel"> |
|
||||
<x>286</x> |
|
||||
<y>274</y> |
|
||||
</hint> |
|
||||
</hints> |
|
||||
</connection> |
|
||||
</connections> |
|
||||
</ui> |
|
@ -1,37 +0,0 @@ |
|||||
#include "validateaddress.h" |
|
||||
|
|
||||
|
|
||||
ValidateAddressesModel::ValidateAddressesModel(QTableView *parent, QList<QPair<QString, QString>> props) |
|
||||
: QAbstractTableModel(parent) { |
|
||||
headers << tr("Property") << tr("Value"); |
|
||||
this->props = props; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
int ValidateAddressesModel::rowCount(const QModelIndex&) const { |
|
||||
return props.size(); |
|
||||
} |
|
||||
|
|
||||
int ValidateAddressesModel::columnCount(const QModelIndex&) const { |
|
||||
return headers.size(); |
|
||||
} |
|
||||
|
|
||||
QVariant ValidateAddressesModel::data(const QModelIndex &index, int role) const { |
|
||||
QPair<QString, QString> p = props.at(index.row()); |
|
||||
if (role == Qt::DisplayRole) { |
|
||||
switch(index.column()) { |
|
||||
case 0: return p.first; |
|
||||
case 1: return p.second; |
|
||||
} |
|
||||
} |
|
||||
return QVariant(); |
|
||||
} |
|
||||
|
|
||||
|
|
||||
QVariant ValidateAddressesModel::headerData(int section, Qt::Orientation orientation, int role) const { |
|
||||
if (role == Qt::DisplayRole && orientation == Qt::Horizontal) { |
|
||||
return headers.at(section); |
|
||||
} |
|
||||
|
|
||||
return QVariant(); |
|
||||
} |
|
@ -1,23 +0,0 @@ |
|||||
#ifndef VALIDATEADDRESS_H |
|
||||
#define VALIDATEADDRESS_H |
|
||||
|
|
||||
#include "precompiled.h" |
|
||||
|
|
||||
class ValidateAddressesModel : public QAbstractTableModel { |
|
||||
|
|
||||
public: |
|
||||
ValidateAddressesModel(QTableView* parent, QList<QPair<QString, QString>> props); |
|
||||
~ValidateAddressesModel() = default; |
|
||||
|
|
||||
int rowCount(const QModelIndex &parent) const; |
|
||||
int columnCount(const QModelIndex &parent) const; |
|
||||
QVariant data(const QModelIndex &index, int role) const; |
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role) const; |
|
||||
|
|
||||
private: |
|
||||
QList<QPair<QString, QString>> props; |
|
||||
QStringList headers; |
|
||||
}; |
|
||||
|
|
||||
|
|
||||
#endif // VALIDATEADDRESS_H
|
|
@ -1,85 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<ui version="4.0"> |
|
||||
<class>ValidateAddress</class> |
|
||||
<widget class="QDialog" name="ValidateAddress"> |
|
||||
<property name="geometry"> |
|
||||
<rect> |
|
||||
<x>0</x> |
|
||||
<y>0</y> |
|
||||
<width>400</width> |
|
||||
<height>300</height> |
|
||||
</rect> |
|
||||
</property> |
|
||||
<property name="windowTitle"> |
|
||||
<string>Validate Address</string> |
|
||||
</property> |
|
||||
<layout class="QGridLayout" name="gridLayout"> |
|
||||
<item row="0" column="1"> |
|
||||
<widget class="QLabel" name="lblAddress"> |
|
||||
<property name="text"> |
|
||||
<string>TextLabel</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="0" column="0"> |
|
||||
<widget class="QLabel" name="label"> |
|
||||
<property name="text"> |
|
||||
<string>Address:</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="1" column="0" colspan="2"> |
|
||||
<widget class="QTableView" name="tblProps"> |
|
||||
<attribute name="horizontalHeaderStretchLastSection"> |
|
||||
<bool>true</bool> |
|
||||
</attribute> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="2" column="0" colspan="2"> |
|
||||
<widget class="QDialogButtonBox" name="buttonBox"> |
|
||||
<property name="orientation"> |
|
||||
<enum>Qt::Horizontal</enum> |
|
||||
</property> |
|
||||
<property name="standardButtons"> |
|
||||
<set>QDialogButtonBox::Close</set> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
</layout> |
|
||||
</widget> |
|
||||
<resources/> |
|
||||
<connections> |
|
||||
<connection> |
|
||||
<sender>buttonBox</sender> |
|
||||
<signal>accepted()</signal> |
|
||||
<receiver>ValidateAddress</receiver> |
|
||||
<slot>accept()</slot> |
|
||||
<hints> |
|
||||
<hint type="sourcelabel"> |
|
||||
<x>248</x> |
|
||||
<y>254</y> |
|
||||
</hint> |
|
||||
<hint type="destinationlabel"> |
|
||||
<x>157</x> |
|
||||
<y>274</y> |
|
||||
</hint> |
|
||||
</hints> |
|
||||
</connection> |
|
||||
<connection> |
|
||||
<sender>buttonBox</sender> |
|
||||
<signal>rejected()</signal> |
|
||||
<receiver>ValidateAddress</receiver> |
|
||||
<slot>reject()</slot> |
|
||||
<hints> |
|
||||
<hint type="sourcelabel"> |
|
||||
<x>316</x> |
|
||||
<y>260</y> |
|
||||
</hint> |
|
||||
<hint type="destinationlabel"> |
|
||||
<x>286</x> |
|
||||
<y>274</y> |
|
||||
</hint> |
|
||||
</hints> |
|
||||
</connection> |
|
||||
</connections> |
|
||||
</ui> |
|
@ -1,170 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<ui version="4.0"> |
|
||||
<class>zboard</class> |
|
||||
<widget class="QDialog" name="zboard"> |
|
||||
<property name="geometry"> |
|
||||
<rect> |
|
||||
<x>0</x> |
|
||||
<y>0</y> |
|
||||
<width>588</width> |
|
||||
<height>431</height> |
|
||||
</rect> |
|
||||
</property> |
|
||||
<property name="windowTitle"> |
|
||||
<string>Post to z-board.net</string> |
|
||||
</property> |
|
||||
<layout class="QGridLayout" name="gridLayout"> |
|
||||
<item row="14" column="0"> |
|
||||
<widget class="QLabel" name="label_4"> |
|
||||
<property name="text"> |
|
||||
<string>Total Fee</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="14" column="1"> |
|
||||
<widget class="QLabel" name="feeAmount"> |
|
||||
<property name="text"> |
|
||||
<string notr="true">feeamount</string> |
|
||||
</property> |
|
||||
<property name="alignment"> |
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="12" column="1"> |
|
||||
<widget class="QLabel" name="memoSize"> |
|
||||
<property name="text"> |
|
||||
<string notr="true">0 / 512</string> |
|
||||
</property> |
|
||||
<property name="alignment"> |
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="16" column="0" colspan="2"> |
|
||||
<widget class="QDialogButtonBox" name="buttonBox"> |
|
||||
<property name="orientation"> |
|
||||
<enum>Qt::Horizontal</enum> |
|
||||
</property> |
|
||||
<property name="standardButtons"> |
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="12" column="0"> |
|
||||
<widget class="QLabel" name="label"> |
|
||||
<property name="text"> |
|
||||
<string>Memo</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="11" column="0" colspan="2"> |
|
||||
<widget class="QLineEdit" name="postAs"> |
|
||||
<property name="placeholderText"> |
|
||||
<string>(optional)</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="5" column="0"> |
|
||||
<widget class="QLabel" name="label_5"> |
|
||||
<property name="text"> |
|
||||
<string>Send From</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="10" column="0"> |
|
||||
<widget class="QLabel" name="label_3"> |
|
||||
<property name="text"> |
|
||||
<string>Post As:</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="0" column="0" colspan="2"> |
|
||||
<widget class="QLabel" name="label_2"> |
|
||||
<property name="text"> |
|
||||
<string><html><head/><body><p>ZBoard: Fully anonymous and untraceable chat messages based on the ZCash blockchain. <a href="http://www.z-board.net/"><span style=" text-decoration: underline; color:#0000ff;">http://www.z-board.net/</span></a></p></body></html></string> |
|
||||
</property> |
|
||||
<property name="wordWrap"> |
|
||||
<bool>true</bool> |
|
||||
</property> |
|
||||
<property name="openExternalLinks"> |
|
||||
<bool>true</bool> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="13" column="0" colspan="2"> |
|
||||
<widget class="QPlainTextEdit" name="memoTxt"/> |
|
||||
</item> |
|
||||
<item row="6" column="0" colspan="2"> |
|
||||
<widget class="QComboBox" name="fromAddr"/> |
|
||||
</item> |
|
||||
<item row="15" column="0"> |
|
||||
<widget class="QLabel" name="testnetWarning"> |
|
||||
<property name="styleSheet"> |
|
||||
<string notr="true">color:red;</string> |
|
||||
</property> |
|
||||
<property name="text"> |
|
||||
<string>Warning</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="4" column="0" colspan="2"> |
|
||||
<widget class="Line" name="line_2"> |
|
||||
<property name="orientation"> |
|
||||
<enum>Qt::Horizontal</enum> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
<item row="1" column="1"> |
|
||||
<widget class="QComboBox" name="topicsList"/> |
|
||||
</item> |
|
||||
<item row="1" column="0"> |
|
||||
<widget class="QLabel" name="label_6"> |
|
||||
<property name="text"> |
|
||||
<string>Posting to Board</string> |
|
||||
</property> |
|
||||
</widget> |
|
||||
</item> |
|
||||
</layout> |
|
||||
</widget> |
|
||||
<tabstops> |
|
||||
<tabstop>fromAddr</tabstop> |
|
||||
<tabstop>postAs</tabstop> |
|
||||
<tabstop>memoTxt</tabstop> |
|
||||
</tabstops> |
|
||||
<resources/> |
|
||||
<connections> |
|
||||
<connection> |
|
||||
<sender>buttonBox</sender> |
|
||||
<signal>accepted()</signal> |
|
||||
<receiver>zboard</receiver> |
|
||||
<slot>accept()</slot> |
|
||||
<hints> |
|
||||
<hint type="sourcelabel"> |
|
||||
<x>248</x> |
|
||||
<y>254</y> |
|
||||
</hint> |
|
||||
<hint type="destinationlabel"> |
|
||||
<x>157</x> |
|
||||
<y>274</y> |
|
||||
</hint> |
|
||||
</hints> |
|
||||
</connection> |
|
||||
<connection> |
|
||||
<sender>buttonBox</sender> |
|
||||
<signal>rejected()</signal> |
|
||||
<receiver>zboard</receiver> |
|
||||
<slot>reject()</slot> |
|
||||
<hints> |
|
||||
<hint type="sourcelabel"> |
|
||||
<x>316</x> |
|
||||
<y>260</y> |
|
||||
</hint> |
|
||||
<hint type="destinationlabel"> |
|
||||
<x>286</x> |
|
||||
<y>274</y> |
|
||||
</hint> |
|
||||
</hints> |
|
||||
</connection> |
|
||||
</connections> |
|
||||
</ui> |
|
Loading…
Reference in new issue