Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
defunctec
crown-core
Commits
fd1a899e
Commit
fd1a899e
authored
12 years ago
by
Wladimir J. van der Laan
Browse files
Options
Download
Email Patches
Plain Diff
Move back setPlaceholderText to code, from xml, as this broke building with Qt 4.6
parent
5c99317a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/qt/forms/messagepage.ui
+0
-3
src/qt/forms/messagepage.ui
src/qt/forms/sendcoinsentry.ui
+0
-6
src/qt/forms/sendcoinsentry.ui
src/qt/messagepage.cpp
+5
-0
src/qt/messagepage.cpp
src/qt/sendcoinsentry.cpp
+5
-1
src/qt/sendcoinsentry.cpp
with
10 additions
and
10 deletions
+10
-10
src/qt/forms/messagepage.ui
View file @
fd1a899e
...
...
@@ -104,9 +104,6 @@
<property
name=
"readOnly"
>
<bool>
true
</bool>
</property>
<property
name=
"placeholderText"
>
<string>
Click
"
Sign Message
"
to get signature
</string>
</property>
</widget>
</item>
<item>
...
...
This diff is collapsed.
Click to expand it.
src/qt/forms/sendcoinsentry.ui
View file @
fd1a899e
...
...
@@ -65,9 +65,6 @@
<property
name=
"toolTip"
>
<string>
Enter a label for this address to add it to your address book
</string>
</property>
<property
name=
"placeholderText"
>
<string>
Enter a label for this address to add it to your address book
</string>
</property>
</widget>
</item>
</layout>
...
...
@@ -98,9 +95,6 @@
<property
name=
"maxLength"
>
<number>
34
</number>
</property>
<property
name=
"placeholderText"
>
<string>
Enter a Bitcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)
</string>
</property>
</widget>
</item>
<item>
...
...
This diff is collapsed.
Click to expand it.
src/qt/messagepage.cpp
View file @
fd1a899e
...
...
@@ -24,6 +24,11 @@ MessagePage::MessagePage(QWidget *parent) :
ui
(
new
Ui
::
MessagePage
)
{
ui
->
setupUi
(
this
);
#if (QT_VERSION >= 0x040700)
/* Do not move this to the XML file, Qt before 4.7 will choke on it */
ui
->
signature
->
setPlaceholderText
(
tr
(
"Click
\"
Sign Message
\"
to get signature"
));
#endif
GUIUtil
::
setupAddressWidget
(
ui
->
signFrom
,
this
);
}
...
...
This diff is collapsed.
Click to expand it.
src/qt/sendcoinsentry.cpp
View file @
fd1a899e
...
...
@@ -20,7 +20,11 @@ SendCoinsEntry::SendCoinsEntry(QWidget *parent) :
#ifdef Q_WS_MAC
ui
->
payToLayout
->
setSpacing
(
4
);
#endif
#if QT_VERSION >= 0x040700
/* Do not move this to the XML file, Qt before 4.7 will choke on it */
ui
->
addAsLabel
->
setPlaceholderText
(
tr
(
"Enter a label for this address to add it to your address book"
));
ui
->
payTo
->
setPlaceholderText
(
tr
(
"Enter a Bitcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)"
));
#endif
setFocusPolicy
(
Qt
::
TabFocus
);
setFocusProxy
(
ui
->
payTo
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment