mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove unused icon
This commit is contained in:
parent
226a920b6b
commit
4b20477697
4339
imgsrc/console.svg
4339
imgsrc/console.svg
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 113 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.8 KiB |
@ -55,7 +55,7 @@ def full(p, xmax, ymax):
|
|||||||
|
|
||||||
b = QBrush(Qt.HorPattern)
|
b = QBrush(Qt.HorPattern)
|
||||||
b.setColor(QColor(Qt.blue))
|
b.setColor(QColor(Qt.blue))
|
||||||
pix = QPixmap(I('console.png'))
|
pix = QPixmap(I('lt.png'))
|
||||||
w = xmax/4
|
w = xmax/4
|
||||||
p.fillRect(0, ymax/3, w, w, b)
|
p.fillRect(0, ymax/3, w, w, b)
|
||||||
p.fillRect(xmax/3, ymax/3, w, w, QBrush(pix))
|
p.fillRect(xmax/3, ymax/3, w, w, QBrush(pix))
|
||||||
@ -95,7 +95,7 @@ def brush(p, xmax, ymax):
|
|||||||
p.drawRect(x, y, w, w)
|
p.drawRect(x, y, w, w)
|
||||||
|
|
||||||
def pen(p, xmax, ymax):
|
def pen(p, xmax, ymax):
|
||||||
pix = QPixmap(I('console.png'))
|
pix = QPixmap(I('lt.png'))
|
||||||
pen = QPen(QBrush(pix), 60)
|
pen = QPen(QBrush(pix), 60)
|
||||||
p.setPen(pen)
|
p.setPen(pen)
|
||||||
p.drawRect(0, xmax/3, xmax/3, xmax/2)
|
p.drawRect(0, xmax/3, xmax/3, xmax/2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user