diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-01-23 10:00:10 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-01-26 15:34:36 +0100 |
commit | 43abb02aa20bd32795478236b20b45d3b4087138 (patch) | |
tree | d6f31d15a0177f00798d490c19326eb7e1a82718 | |
parent | 56c9e66a6d7c798394478660f6088b943fe4e96d (diff) | |
download | bitcoin-43abb02aa20bd32795478236b20b45d3b4087138.tar.xz |
[Qt] Add a new chevron/arrow icon for the console prompt line
-rw-r--r-- | contrib/debian/copyright | 3 | ||||
-rw-r--r-- | src/Makefile.qt.include | 1 | ||||
-rw-r--r-- | src/qt/bitcoin.qrc | 1 | ||||
-rw-r--r-- | src/qt/forms/debugwindow.ui | 41 | ||||
-rw-r--r-- | src/qt/res/icons/chevron.png | bin | 0 -> 1923 bytes |
5 files changed, 42 insertions, 4 deletions
diff --git a/contrib/debian/copyright b/contrib/debian/copyright index bbaa5b1636..c039a7bae5 100644 --- a/contrib/debian/copyright +++ b/contrib/debian/copyright @@ -21,6 +21,7 @@ License: GPL-3+ Files: src/qt/res/icons/add.png src/qt/res/icons/address-book.png + src/qt/res/icons/chevron.png src/qt/res/icons/configure.png src/qt/res/icons/debugwindow.png src/qt/res/icons/edit.png @@ -56,6 +57,8 @@ Comment: Inspired by Stephan Hutchings Typicons Files: src/qt/res/icons/tx_mined.png src/qt/res/src/mine.svg + src/qt/res/icons/fontbigger.png + src/qt/res/icons/fontsmaller.png Copyright: Jonas Schnelli License: Expat Comment: diff --git a/src/Makefile.qt.include b/src/Makefile.qt.include index 82e95abcf9..96b7adcbf9 100644 --- a/src/Makefile.qt.include +++ b/src/Makefile.qt.include @@ -225,6 +225,7 @@ RES_ICONS = \ qt/res/icons/about_qt.png \ qt/res/icons/bitcoin.ico \ qt/res/icons/bitcoin.png \ + qt/res/icons/chevron.png \ qt/res/icons/clock1.png \ qt/res/icons/clock2.png \ qt/res/icons/clock3.png \ diff --git a/src/qt/bitcoin.qrc b/src/qt/bitcoin.qrc index 3c9b9d283c..dcd3b4ae2c 100644 --- a/src/qt/bitcoin.qrc +++ b/src/qt/bitcoin.qrc @@ -48,6 +48,7 @@ <file alias="warning">res/icons/warning.png</file> <file alias="fontbigger">res/icons/fontbigger.png</file> <file alias="fontsmaller">res/icons/fontsmaller.png</file> + <file alias="prompticon">res/icons/chevron.png</file> </qresource> <qresource prefix="/movies"> <file alias="spinner-000">res/movies/spinner-000.png</file> diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui index 2f46130990..7631286119 100644 --- a/src/qt/forms/debugwindow.ui +++ b/src/qt/forms/debugwindow.ui @@ -479,12 +479,12 @@ <height>24</height> </size> </property> - <property name="toolTip"> - <string>Decrease font size</string> - </property> <property name="text"> <string/> </property> + <property name="toolTip"> + <string>Decrease font size</string> + </property> <property name="icon"> <iconset resource="../bitcoin.qrc"> <normaloff>:/icons/fontsmaller</normaloff>:/icons/fontsmaller</iconset> @@ -594,9 +594,42 @@ <number>3</number> </property> <item> + <widget class="QPushButton" name="promptIcon"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maximumSize"> + <size> + <width>16</width> + <height>24</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="../bitcoin.qrc"> + <normaloff>:/icons/prompticon</normaloff> + <disabledoff>:/icons/prompticon</disabledoff>:/icons/prompticon</iconset> + </property> + <property name="iconSize"> + <size> + <width>14</width> + <height>14</height> + </size> + </property> + <property name="autoDefault"> + <bool>false</bool> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + <item> <widget class="QLineEdit" name="lineEdit"> <property name="placeholderText"> - <string>></string> + <string/> </property> </widget> </item> diff --git a/src/qt/res/icons/chevron.png b/src/qt/res/icons/chevron.png Binary files differnew file mode 100644 index 0000000000..ac985052c1 --- /dev/null +++ b/src/qt/res/icons/chevron.png |