aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-01-23 10:00:10 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2016-01-26 15:34:36 +0100
commit43abb02aa20bd32795478236b20b45d3b4087138 (patch)
treed6f31d15a0177f00798d490c19326eb7e1a82718 /src/qt
parent56c9e66a6d7c798394478660f6088b943fe4e96d (diff)
[Qt] Add a new chevron/arrow icon for the console prompt line
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoin.qrc1
-rw-r--r--src/qt/forms/debugwindow.ui41
-rw-r--r--src/qt/res/icons/chevron.pngbin0 -> 1923 bytes
3 files changed, 38 insertions, 4 deletions
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>&gt;</string>
+ <string/>
</property>
</widget>
</item>
diff --git a/src/qt/res/icons/chevron.png b/src/qt/res/icons/chevron.png
new file mode 100644
index 0000000000..ac985052c1
--- /dev/null
+++ b/src/qt/res/icons/chevron.png
Binary files differ