Commit 0b7f6f5a authored by Daalen, Tim van's avatar Daalen, Tim van
Browse files

icons are now loaded in exe and debugger

parent 100359e9
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\MainMenu.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\MainMenu.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\__pycache__'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\__pycache__'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\createCollection.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\createCollection.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\dataTransferState.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\dataTransferState.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\icons'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\irodsIndexPopup.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\irodsIndexPopup.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\irodsLogin.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\irodsLogin.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\searchDialog.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\searchDialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\tabBrowser.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\tabBrowser.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......@@ -8,6 +8,8 @@
# run again. Do not edit this file unless you know what you are doing.
from os.path import dirname, realpath
from sys import argv
from PyQt5 import QtCore, QtGui, QtWidgets
......@@ -76,7 +78,7 @@ class Ui_tabBrowser(object):
self.homeButton = QtWidgets.QPushButton(tabBrowser)
self.homeButton.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("D:\\irods-clients\\gui\\ui_files\\../icons/home.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
icon.addPixmap(QtGui.QPixmap(dirname(realpath(argv[0])) + "/icons/home.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.homeButton.setIcon(icon)
self.homeButton.setObjectName("homeButton")
self.gridLayout.addWidget(self.homeButton, 0, 2, 1, 1)
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\tabDataCompression.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\tabDataCompression.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\tabELNData.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\tabELNData.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\tabFederations.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\tabFederations.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\tabInfo.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\tabInfo.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\tabPage.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\tabPage.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\tabTicketAccess.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\tabTicketAccess.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......@@ -8,6 +8,8 @@
# run again. Do not edit this file unless you know what you are doing.
from os.path import dirname, realpath
from sys import argv
from PyQt5 import QtCore, QtGui, QtWidgets
......@@ -92,7 +94,7 @@ class Ui_tabTicketAccess(object):
self.homeButton = QtWidgets.QPushButton(tabTicketAccess)
self.homeButton.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("D:\\irods-clients\\gui\\ui_files\\../icons/home.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
icon.addPixmap(QtGui.QPixmap(dirname(realpath(argv[0])) + "/icons/home.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.homeButton.setIcon(icon)
self.homeButton.setObjectName("homeButton")
self.horizontalLayout_5.addWidget(self.homeButton)
......@@ -129,7 +131,7 @@ class Ui_tabTicketAccess(object):
self.downloadButton = QtWidgets.QPushButton(tabTicketAccess)
self.downloadButton.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap("D:\\irods-clients\\gui\\ui_files\\../icons/arrow-right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
icon1.addPixmap(QtGui.QPixmap(dirname(realpath(argv[0])) + "/icons/arrow-right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.downloadButton.setIcon(icon1)
self.downloadButton.setIconSize(QtCore.QSize(30, 30))
self.downloadButton.setObjectName("downloadButton")
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\tabTicketCreate.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\tabTicketCreate.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clients\gui\ui_files\tabUpDownload.ui'
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\tabUpDownload.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
......@@ -8,6 +8,8 @@
# run again. Do not edit this file unless you know what you are doing.
from os.path import dirname, realpath
from sys import argv
from PyQt5 import QtCore, QtGui, QtWidgets
......@@ -131,7 +133,8 @@ class Ui_tabUpDownload(object):
self.UploadButton.setMinimumSize(QtCore.QSize(100, 0))
self.UploadButton.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("D:\\irods-clients\\gui\\ui_files\\../icons/arrow-right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
print(dirname(realpath(argv[0])) + "/icons/arrow-right.png")
icon.addPixmap(QtGui.QPixmap(dirname(realpath(argv[0])) + "/icons/arrow-right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.UploadButton.setIcon(icon)
self.UploadButton.setIconSize(QtCore.QSize(50, 50))
self.UploadButton.setObjectName("UploadButton")
......@@ -145,7 +148,7 @@ class Ui_tabUpDownload(object):
self.DownloadButton.setMinimumSize(QtCore.QSize(100, 0))
self.DownloadButton.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap("D:\\irods-clients\\gui\\ui_files\\../icons/arrow-left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
icon1.addPixmap(QtGui.QPixmap(dirname(realpath(argv[0])) + "/icons/arrow-left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.DownloadButton.setIcon(icon1)
self.DownloadButton.setIconSize(QtCore.QSize(50, 50))
self.DownloadButton.setObjectName("DownloadButton")
......
Supports Markdown
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