mozDefrag/mozDefragMainWindow.py

62 lines
3 KiB
Python
Raw Normal View History

2017-09-28 23:41:34 +00:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mozDefragMainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.9
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.setEnabled(True)
MainWindow.resize(395, 376)
MainWindow.setAutoFillBackground(False)
MainWindow.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.Belgium))
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.logo_header = QtWidgets.QLabel(self.centralwidget)
self.logo_header.setGeometry(QtCore.QRect(0, 0, 400, 115))
self.logo_header.setText("")
self.logo_header.setPixmap(QtGui.QPixmap("pic/logo_header.jpg"))
self.logo_header.setObjectName("logo_header")
self.aboutButton = QtWidgets.QPushButton(self.centralwidget)
self.aboutButton.setGeometry(QtCore.QRect(10, 330, 112, 31))
self.aboutButton.setObjectName("aboutButton")
self.defragAllButton = QtWidgets.QPushButton(self.centralwidget)
self.defragAllButton.setGeometry(QtCore.QRect(270, 330, 112, 31))
self.defragAllButton.setDefault(False)
self.defragAllButton.setObjectName("defragAllButton")
self.logTextEdit = QtWidgets.QTextEdit(self.centralwidget)
self.logTextEdit.setGeometry(QtCore.QRect(10, 210, 371, 111))
self.logTextEdit.setReadOnly(True)
self.logTextEdit.setObjectName("logTextEdit")
self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
self.layoutWidget.setGeometry(QtCore.QRect(20, 130, 141, 71))
self.layoutWidget.setObjectName("layoutWidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout")
self.checkBoxThunderbird = QtWidgets.QCheckBox(self.layoutWidget)
self.checkBoxThunderbird.setObjectName("checkBoxThunderbird")
self.verticalLayout.addWidget(self.checkBoxThunderbird)
self.checkBoxFirefox = QtWidgets.QCheckBox(self.layoutWidget)
self.checkBoxFirefox.setEnabled(True)
self.checkBoxFirefox.setObjectName("checkBoxFirefox")
self.verticalLayout.addWidget(self.checkBoxFirefox)
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "mozDefrag"))
self.aboutButton.setText(_translate("MainWindow", "About"))
self.defragAllButton.setText(_translate("MainWindow", "Defrag"))
self.checkBoxThunderbird.setText(_translate("MainWindow", "Thunderbird"))
self.checkBoxFirefox.setText(_translate("MainWindow", "Firefox"))