Commit 7339761c authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Bookmarks: New Bookmark icon



Using Theme::Bookmarks_TextMarkColor so that it is consistent with the
scrollbar markers.

Change-Id: I2cd6b787a61c2a5bf3a7f684c026006ca0417591
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent b7fabb29
......@@ -37,6 +37,7 @@
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>
#include <texteditor/texteditor.h>
#include <utils/icon.h>
#include <utils/tooltip/tooltip.h>
#include <utils/qtcassert.h>
#include <utils/checkablemessagebox.h>
......@@ -318,7 +319,8 @@ void BookmarkView::gotoBookmark(const QModelIndex &index)
////
BookmarkManager::BookmarkManager() :
m_bookmarkIcon(QLatin1String(":/bookmarks/images/bookmark.png")),
m_bookmarkIcon(Utils::Icon({{QLatin1String(":/bookmarks/images/bookmark.png"),
Theme::Bookmarks_TextMarkColor}}, Icon::Tint).pixmap()),
m_selectionModel(new QItemSelectionModel(this, this))
{
connect(ICore::instance(), &ICore::contextChanged,
......
<RCC>
<qresource prefix="/bookmarks" >
<file>images/bookmark.png</file>
<file>images/bookmark@2x.png</file>
</qresource>
</RCC>
src/plugins/bookmarks/images/bookmark.png

913 Bytes | W: | H:

src/plugins/bookmarks/images/bookmark.png

131 Bytes | W: | H:

src/plugins/bookmarks/images/bookmark.png
src/plugins/bookmarks/images/bookmark.png
src/plugins/bookmarks/images/bookmark.png
src/plugins/bookmarks/images/bookmark.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -3106,7 +3106,7 @@
style="fill:#ffffff;fill-opacity:1" />
<polygon
transform="translate(402,208)"
id="polygon6780-6"
id="bookmarkribbon"
points="555,374 555,362 561,362 561,374 558,370 "
style="fill:#000000;fill-opacity:1" />
</g>
......@@ -3146,6 +3146,25 @@
cy="576"
r="6" />
</g>
<g
id="src/plugins/bookmarks/images/bookmark">
<rect
style="display:inline;fill:#ffffff;fill-opacity:1"
x="1016"
y="568"
width="16"
height="16"
id="rect6782-96-0" />
<use
transform="translate(61,0)"
height="100%"
width="100%"
id="use4979"
xlink:href="#bookmarkribbon"
y="0"
x="0"
style="display:inline" />
</g>
</g>
<g
inkscape:groupmode="layer"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment