Browse Source
0.105c97aae
qt: Unify AboutDialog and HelpMessageDialog (Wladimir J. van der Laan)45615af
Add 'about' information to `-version` output (Wladimir J. van der Laan)97789d3
util: Add function FormatParagraph to format paragraph to fixed-width (Wladimir J. van der Laan)96b733e
Add `-version` option to get just the version (Wladimir J. van der Laan)
Wladimir J. van der Laan
11 years ago
14 changed files with 155 additions and 311 deletions
@ -1,192 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<ui version="4.0"> |
|
||||||
<class>AboutDialog</class> |
|
||||||
<widget class="QDialog" name="AboutDialog"> |
|
||||||
<property name="geometry"> |
|
||||||
<rect> |
|
||||||
<x>0</x> |
|
||||||
<y>0</y> |
|
||||||
<width>593</width> |
|
||||||
<height>319</height> |
|
||||||
</rect> |
|
||||||
</property> |
|
||||||
<property name="windowTitle"> |
|
||||||
<string>About Bitcoin Core</string> |
|
||||||
</property> |
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
||||||
<item> |
|
||||||
<widget class="QLabel" name="label_4"> |
|
||||||
<property name="sizePolicy"> |
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Ignored"> |
|
||||||
<horstretch>0</horstretch> |
|
||||||
<verstretch>0</verstretch> |
|
||||||
</sizepolicy> |
|
||||||
</property> |
|
||||||
<property name="pixmap"> |
|
||||||
<pixmap resource="../bitcoin.qrc">:/images/about</pixmap> |
|
||||||
</property> |
|
||||||
</widget> |
|
||||||
</item> |
|
||||||
<item> |
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2"> |
|
||||||
<item> |
|
||||||
<spacer name="verticalSpacer_2"> |
|
||||||
<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> |
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout"> |
|
||||||
<item> |
|
||||||
<widget class="QLabel" name="label"> |
|
||||||
<property name="cursor"> |
|
||||||
<cursorShape>IBeamCursor</cursorShape> |
|
||||||
</property> |
|
||||||
<property name="text"> |
|
||||||
<string><b>Bitcoin Core</b> version</string> |
|
||||||
</property> |
|
||||||
<property name="textInteractionFlags"> |
|
||||||
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> |
|
||||||
</property> |
|
||||||
</widget> |
|
||||||
</item> |
|
||||||
<item> |
|
||||||
<widget class="QLabel" name="versionLabel"> |
|
||||||
<property name="cursor"> |
|
||||||
<cursorShape>IBeamCursor</cursorShape> |
|
||||||
</property> |
|
||||||
<property name="text"> |
|
||||||
<string notr="true">0.3.666-beta</string> |
|
||||||
</property> |
|
||||||
<property name="textInteractionFlags"> |
|
||||||
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> |
|
||||||
</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> |
|
||||||
</layout> |
|
||||||
</item> |
|
||||||
<item> |
|
||||||
<widget class="QLabel" name="copyrightLabel"> |
|
||||||
<property name="cursor"> |
|
||||||
<cursorShape>IBeamCursor</cursorShape> |
|
||||||
</property> |
|
||||||
<property name="text"> |
|
||||||
<string notr="true">Copyright &copy; 2009-YYYY The Bitcoin Core developers</string> |
|
||||||
</property> |
|
||||||
<property name="textFormat"> |
|
||||||
<enum>Qt::RichText</enum> |
|
||||||
</property> |
|
||||||
<property name="textInteractionFlags"> |
|
||||||
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> |
|
||||||
</property> |
|
||||||
</widget> |
|
||||||
</item> |
|
||||||
<item> |
|
||||||
<widget class="QLabel" name="label_2"> |
|
||||||
<property name="cursor"> |
|
||||||
<cursorShape>IBeamCursor</cursorShape> |
|
||||||
</property> |
|
||||||
<property name="text"> |
|
||||||
<string> |
|
||||||
This is experimental software. |
|
||||||
|
|
||||||
Distributed under the MIT/X11 software license, see the accompanying file COPYING or <a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>. |
|
||||||
|
|
||||||
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (<a href="https://www.openssl.org/">https://www.openssl.org/</a>) and cryptographic software written by Eric Young (<a href="mailto:eay@cryptsoft.com">eay@cryptsoft.com</a>) and UPnP software written by Thomas Bernard.</string> |
|
||||||
</property> |
|
||||||
<property name="textFormat"> |
|
||||||
<enum>Qt::RichText</enum> |
|
||||||
</property> |
|
||||||
<property name="wordWrap"> |
|
||||||
<bool>true</bool> |
|
||||||
</property> |
|
||||||
<property name="textInteractionFlags"> |
|
||||||
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> |
|
||||||
</property> |
|
||||||
</widget> |
|
||||||
</item> |
|
||||||
<item> |
|
||||||
<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> |
|
||||||
<widget class="QDialogButtonBox" name="buttonBox"> |
|
||||||
<property name="orientation"> |
|
||||||
<enum>Qt::Horizontal</enum> |
|
||||||
</property> |
|
||||||
<property name="standardButtons"> |
|
||||||
<set>QDialogButtonBox::Ok</set> |
|
||||||
</property> |
|
||||||
</widget> |
|
||||||
</item> |
|
||||||
</layout> |
|
||||||
</item> |
|
||||||
</layout> |
|
||||||
</widget> |
|
||||||
<resources> |
|
||||||
<include location="../bitcoin.qrc"/> |
|
||||||
</resources> |
|
||||||
<connections> |
|
||||||
<connection> |
|
||||||
<sender>buttonBox</sender> |
|
||||||
<signal>accepted()</signal> |
|
||||||
<receiver>AboutDialog</receiver> |
|
||||||
<slot>accept()</slot> |
|
||||||
<hints> |
|
||||||
<hint type="sourcelabel"> |
|
||||||
<x>20</x> |
|
||||||
<y>20</y> |
|
||||||
</hint> |
|
||||||
<hint type="destinationlabel"> |
|
||||||
<x>20</x> |
|
||||||
<y>20</y> |
|
||||||
</hint> |
|
||||||
</hints> |
|
||||||
</connection> |
|
||||||
<connection> |
|
||||||
<sender>buttonBox</sender> |
|
||||||
<signal>rejected()</signal> |
|
||||||
<receiver>AboutDialog</receiver> |
|
||||||
<slot>reject()</slot> |
|
||||||
<hints> |
|
||||||
<hint type="sourcelabel"> |
|
||||||
<x>20</x> |
|
||||||
<y>20</y> |
|
||||||
</hint> |
|
||||||
<hint type="destinationlabel"> |
|
||||||
<x>20</x> |
|
||||||
<y>20</y> |
|
||||||
</hint> |
|
||||||
</hints> |
|
||||||
</connection> |
|
||||||
</connections> |
|
||||||
</ui> |
|
Loading…
Reference in new issue