-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathui_gpuchooser.py
66 lines (60 loc) · 3.19 KB
/
ui_gpuchooser.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'gpuchooser.ui'
#
# Created by: PyQt5 UI code generator 5.4.1
#
# 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.resize(882, 341)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.scrollArea = QtWidgets.QScrollArea(self.centralwidget)
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName("scrollArea")
self.scrollarea = QtWidgets.QWidget()
self.scrollarea.setGeometry(QtCore.QRect(0, 0, 866, 239))
self.scrollarea.setObjectName("scrollarea")
self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollarea)
self.verticalLayout.setObjectName("verticalLayout")
self.mainvertlayout = QtWidgets.QVBoxLayout()
self.mainvertlayout.setObjectName("mainvertlayout")
self.verticalLayout.addLayout(self.mainvertlayout)
self.scrollArea.setWidget(self.scrollarea)
self.verticalLayout_2.addWidget(self.scrollArea)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.addentrybtn = QtWidgets.QPushButton(self.centralwidget)
self.addentrybtn.setObjectName("addentrybtn")
self.horizontalLayout.addWidget(self.addentrybtn)
self.removebtn = QtWidgets.QPushButton(self.centralwidget)
self.removebtn.setObjectName("removebtn")
self.horizontalLayout.addWidget(self.removebtn)
self.savebtn = QtWidgets.QPushButton(self.centralwidget)
self.savebtn.setObjectName("savebtn")
self.horizontalLayout.addWidget(self.savebtn)
self.cancelbtn = QtWidgets.QPushButton(self.centralwidget)
self.cancelbtn.setObjectName("cancelbtn")
self.horizontalLayout.addWidget(self.cancelbtn)
self.verticalLayout_2.addLayout(self.horizontalLayout)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 882, 27))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "PRIME GPU Chooser"))
self.addentrybtn.setText(_translate("MainWindow", "Add New Entry"))
self.removebtn.setText(_translate("MainWindow", "Remove Selected Entries"))
self.savebtn.setText(_translate("MainWindow", "Save"))
self.cancelbtn.setText(_translate("MainWindow", "Exit (don\'t forget to save)"))