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
Marco Bubke
flatpak-qt-creator
Commits
0c7312e0
Commit
0c7312e0
authored
Apr 09, 2010
by
mae
Browse files
if a tooltip, do as tooltip do
The fake tooltip duplication is not nice.
parent
d49f1e34
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppcodecompletion.cpp
View file @
0c7312e0
...
@@ -300,7 +300,8 @@ FunctionArgumentWidget::FunctionArgumentWidget():
...
@@ -300,7 +300,8 @@ FunctionArgumentWidget::FunctionArgumentWidget():
connect
(
downArrow
,
SIGNAL
(
clicked
()),
SLOT
(
nextPage
()));
connect
(
downArrow
,
SIGNAL
(
clicked
()),
SLOT
(
nextPage
()));
setTextFormat
(
Qt
::
RichText
);
setTextFormat
(
Qt
::
RichText
);
setMargin
(
1
);
setMargin
(
1
+
style
()
->
pixelMetric
(
QStyle
::
PM_ToolTipLabelFrameWidth
,
0
,
this
));
setIndent
(
1
);
qApp
->
installEventFilter
(
this
);
qApp
->
installEventFilter
(
this
);
}
}
...
...
src/plugins/qmljseditor/qmljscodecompletion.cpp
View file @
0c7312e0
...
@@ -364,7 +364,8 @@ FunctionArgumentWidget::FunctionArgumentWidget():
...
@@ -364,7 +364,8 @@ FunctionArgumentWidget::FunctionArgumentWidget():
m_popupFrame
->
setLayout
(
layout
);
m_popupFrame
->
setLayout
(
layout
);
setTextFormat
(
Qt
::
RichText
);
setTextFormat
(
Qt
::
RichText
);
setMargin
(
1
);
setMargin
(
1
+
style
()
->
pixelMetric
(
QStyle
::
PM_ToolTipLabelFrameWidth
,
0
,
this
));
setIndent
(
1
);
qApp
->
installEventFilter
(
this
);
qApp
->
installEventFilter
(
this
);
}
}
...
...
src/plugins/texteditor/completionwidget.cpp
View file @
0c7312e0
...
@@ -83,7 +83,6 @@ public:
...
@@ -83,7 +83,6 @@ public:
setForegroundRole
(
QPalette
::
ToolTipText
);
setForegroundRole
(
QPalette
::
ToolTipText
);
setBackgroundRole
(
QPalette
::
ToolTipBase
);
setBackgroundRole
(
QPalette
::
ToolTipBase
);
setMargin
(
1
+
style
()
->
pixelMetric
(
QStyle
::
PM_ToolTipLabelFrameWidth
,
0
,
this
));
setMargin
(
1
+
style
()
->
pixelMetric
(
QStyle
::
PM_ToolTipLabelFrameWidth
,
0
,
this
));
setIndent
(
1
);
setIndent
(
1
);
}
}
...
...
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