forked from qt-creator/qt-creator
TextEditor: Highpi-able and themable refactor marker
Change-Id: I1866e4c5eba7b1afd60e2c461644cbfd6b7efd75 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
#include "textdocumentlayout.h"
|
||||
#include "texteditor.h"
|
||||
|
||||
#include <utils/icon.h>
|
||||
|
||||
#include <QPainter>
|
||||
|
||||
#include <QDebug>
|
||||
@@ -37,7 +39,9 @@ RefactorOverlay::RefactorOverlay(TextEditor::TextEditorWidget *editor) :
|
||||
QObject(editor),
|
||||
m_editor(editor),
|
||||
m_maxWidth(0),
|
||||
m_icon(QLatin1String(":/texteditor/images/refactormarker.png"))
|
||||
m_icon(Utils::Icon({
|
||||
{QLatin1String(":/texteditor/images/lightbulbcap.png"), Utils::Theme::PanelTextColorMid},
|
||||
{QLatin1String(":/texteditor/images/lightbulb.png"), Utils::Theme::IconsWarningColor}}, Utils::Icon::Tint).icon())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user