forked from domob1812/namecoin-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(WIP) Namecoin: Add Qt GUI for name_list
Based on namecoin#187 by Brandon Roberts. TODO: Untested.
- Loading branch information
1 parent
4f11049
commit 8dcbd49
Showing
17 changed files
with
1,052 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,253 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>ManageNamesPage</class> | ||
<widget class="QWidget" name="ManageNamesPage"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>776</width> | ||
<height>364</height> | ||
</rect> | ||
</property> | ||
<layout class="QHBoxLayout" name="horizontalLayout"> | ||
<item> | ||
<widget class="QFrame" name="frame2"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="frameShape"> | ||
<enum>QFrame::StyledPanel</enum> | ||
</property> | ||
<property name="frameShadow"> | ||
<enum>QFrame::Sunken</enum> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<!-- | ||
<item> | ||
<widget class="QLabel" name="label_4"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="text"> | ||
<string>&New name:</string> | ||
</property> | ||
<property name="alignment"> | ||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||
</property> | ||
<property name="buddy"> | ||
<cstring>registerName</cstring> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QValidatedLineEdit" name="registerName"> | ||
<property name="toolTip"> | ||
<string>Enter a name or domain name (prefixed with d/) to be registered via Namecoin.</string> | ||
</property> | ||
<property name="text"> | ||
<string>d/</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="label"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="text"> | ||
<string><html><head/><body><p>Use <span style=" font-weight:600;">d/</span> prefix for domain names. E.g. <span style=" font-weight:600;">d/mysite</span> will register <span style=" font-weight:600;">mysite.bit</span></p><p>See <a href="https://wiki.namecoin.info/index.php?title=Domain_Name_Specification"><span style=" text-decoration: underline; color:#0000ff;">Domain names</span></a> in Namecoin wiki for reference. Other prefixes can be used for miscellaneous purposes (not domain names).</p></body></html></string> | ||
</property> | ||
<property name="textFormat"> | ||
<enum>Qt::RichText</enum> | ||
</property> | ||
<property name="wordWrap"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="openExternalLinks"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="submitNameButton"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>150</width> | ||
<height>0</height> | ||
</size> | ||
</property> | ||
<property name="toolTip"> | ||
<string>Confirm the new name action. Sends name_new transaction | ||
to the network and creates a pending name_firstupdate transaction.</string> | ||
</property> | ||
<property name="text"> | ||
<string>&Submit</string> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../bitcoin.qrc"> | ||
<normaloff>:/icons/send</normaloff>:/icons/send</iconset> | ||
</property> | ||
<property name="default"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<spacer name="verticalSpacer"> | ||
<property name="orientation"> | ||
<enum>Qt::Vertical</enum> | ||
</property> | ||
<property name="sizeType"> | ||
<enum>QSizePolicy::Maximum</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>20</width> | ||
<height>12</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
--> | ||
<item> | ||
<widget class="QLabel" name="label_5"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="text"> | ||
<string>Your registered names (pending and unconfirmed names have blank expiration):</string> | ||
</property> | ||
<property name="alignment"> | ||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||
</property> | ||
<!-- | ||
<property name="buddy"> | ||
<cstring>registerName</cstring> | ||
</property> | ||
--> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QTableView" name="tableView"> | ||
<property name="contextMenuPolicy"> | ||
<enum>Qt::CustomContextMenu</enum> | ||
</property> | ||
<property name="toolTip"> | ||
<string>Double-click name to configure</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_3"> | ||
<item> | ||
<widget class="QPushButton" name="configureNameButton"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>150</width> | ||
<height>0</height> | ||
</size> | ||
</property> | ||
<property name="toolTip"> | ||
<string>Configure name and submit update operation</string> | ||
</property> | ||
<property name="text"> | ||
<string>&Configure Name...</string> | ||
</property> | ||
<property name="default"> | ||
<bool>false</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="renewNameButton"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>150</width> | ||
<height>0</height> | ||
</size> | ||
</property> | ||
<property name="toolTip"> | ||
<string>Renew the name with its current value</string> | ||
</property> | ||
<property name="text"> | ||
<string>&Renew Name</string> | ||
</property> | ||
<property name="default"> | ||
<bool>false</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
--> | ||
</layout> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<customwidgets> | ||
<!-- | ||
<customwidget> | ||
<class>QValidatedLineEdit</class> | ||
<extends>QLineEdit</extends> | ||
<header>../../src/qt/qvalidatedlineedit.h</header> | ||
</customwidget> | ||
--> | ||
</customwidgets> | ||
<resources> | ||
<!-- | ||
<include location="../bitcoin.qrc"/> | ||
--> | ||
</resources> | ||
<connections/> | ||
</ui> |
Oops, something went wrong.