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
Utilities
Kate
Commits
4c0f490e
Commit
4c0f490e
authored
Feb 12, 2021
by
Waqar Ahmed
Committed by
Christoph Cullmann
Feb 12, 2021
Browse files
Use QFrame::Box with Raised
parent
ee815f49
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/lspclient/lsptooltip.cpp
View file @
4c0f490e
...
...
@@ -201,7 +201,7 @@ public:
{
setWindowFlags
(
Qt
::
FramelessWindowHint
|
Qt
::
BypassGraphicsProxyWidget
|
Qt
::
ToolTip
);
document
()
->
setDocumentMargin
(
5
);
setFrameStyle
(
QFrame
::
Box
);
setFrameStyle
(
QFrame
::
Box
|
QFrame
::
Raised
);
connect
(
&
m_hideTimer
,
&
QTimer
::
timeout
,
this
,
&
Tooltip
::
hideTooltip
);
setHorizontalScrollBarPolicy
(
Qt
::
ScrollBarAsNeeded
);
...
...
@@ -218,13 +218,6 @@ public:
pal
.
setColor
(
QPalette
::
Text
,
normal
);
setPalette
(
pal
);
this
->
setStyleSheet
(
QStringLiteral
(
"Tooltip{"
"border-left: 1px solid %1;"
"border-top: 1px solid %1;"
"border-bottom: 1px solid %1;"
"}"
)
.
arg
(
normal
.
name
()));
updateFont
();
};
updateColors
(
KTextEditor
::
Editor
::
instance
());
...
...
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