Updated icon and font for session timer, and added language info for status bar

This commit is contained in:
Veronica K. B. Olsen
2019-11-08 19:56:38 +01:00
parent 7fcd0731bf
commit f01c2f9dee
4 changed files with 31 additions and 8 deletions
+7 -1
View File
@@ -17,7 +17,7 @@ from os import path
from PyQt5.QtCore import QSize
from PyQt5.QtSvg import QSvgWidget
from PyQt5.QtGui import QIcon
from PyQt5.QtGui import QIcon, QPixmap
logger = logging.getLogger(__name__)
@@ -41,6 +41,7 @@ class GuiIcons:
"search" : "edit-find",
"replace" : "edit-find-replace",
"time" : None,
"globe" : None,
}
DECO_MAP = {
@@ -96,6 +97,11 @@ class GuiIcons:
return self.qIcons[iconKey]
return QIcon()
def getPixmap(self, iconKey, iconSize):
if iconKey in self.qIcons:
return self.qIcons[iconKey].pixmap(iconSize[0], iconSize[1], QIcon.Normal)
return QPixmap()
##
# Internal Functions
##