Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
3828d6b2
Commit
3828d6b2
authored
Apr 27, 2010
by
con
Browse files
Icon tweaks for line edits.
Reviewed-by: Jens Bache-Wiig
parent
0284abbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libs/utils/fancylineedit.cpp
View file @
3828d6b2
...
...
@@ -274,7 +274,7 @@ void IconButton::paintEvent(QPaintEvent *)
QPixmap
iconpixmap
=
icon
().
pixmap
(
QSize
(
ICONBUTTON_SIZE
,
ICONBUTTON_SIZE
),
state
,
QIcon
::
Off
);
QRect
pixmapRect
=
QRect
(
0
,
0
,
iconpixmap
.
width
(),
iconpixmap
.
height
());
pixmapRect
.
moveCenter
(
rect
().
translated
(
0
,
-
1
).
center
());
pixmapRect
.
moveCenter
(
rect
().
center
());
if
(
static_cast
<
FancyLineEdit
*>
(
parentWidget
())
->
autoHideIcon
())
painter
.
setOpacity
(
m_iconOpacity
);
...
...
src/plugins/coreplugin/images/editclear.png
View replaced file @
0284abbd
View file @
3828d6b2
748 Bytes
|
W:
|
H:
736 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Supports
Markdown
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