diff --git a/main.py b/main.py old mode 100644 new mode 100755 index 5596b44..0bbb13e --- a/main.py +++ b/main.py @@ -1,16 +1,66 @@ -# This is a sample Python script. - -# Press Shift+F10 to execute it or replace it with your code. -# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. +# Form implementation generated from reading ui file 'main.ui' +# +# Created by: PyQt6 UI code generator 6.4.2 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. -def print_hi(name): - # Use a breakpoint in the code line below to debug your script. - print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint. +from PyQt6 import QtCore, QtGui, QtWidgets -# Press the green button in the gutter to run the script. -if __name__ == '__main__': - print_hi('PyCharm') +class Ui_Dialog(object): + def setupUi(self, Dialog): + Dialog.setObjectName("Dialog") + Dialog.resize(80, 450) + Dialog.setWindowFilePath("") + self.horizontalLayoutWidget = QtWidgets.QWidget(parent=Dialog) + self.horizontalLayoutWidget.setGeometry(QtCore.QRect(20, 180, 761, 80)) + self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget") + self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget) + self.horizontalLayout.setContentsMargins(0, 0, 0, 0) + self.horizontalLayout.setObjectName("horizontalLayout") + self.label_2 = QtWidgets.QLabel(parent=self.horizontalLayoutWidget) + self.label_2.setText("") + self.label_2.setObjectName("label_2") + self.horizontalLayout.addWidget(self.label_2) + self.label = QtWidgets.QLabel(parent=self.horizontalLayoutWidget) + font = QtGui.QFont() + font.setFamily("Hack NFM") + font.setPointSize(20) + font.setBold(True) + font.setWeight(75) + self.label.setFont(font) + self.label.setObjectName("label") + self.horizontalLayout.addWidget(self.label) + self.label_3 = QtWidgets.QLabel(parent=self.horizontalLayoutWidget) + self.label_3.setText("") + self.label_3.setObjectName("label_3") + self.horizontalLayout.addWidget(self.label_3) + self.horizontalLayoutWidget_2 = QtWidgets.QWidget(parent=Dialog) + self.horizontalLayoutWidget_2.setGeometry(QtCore.QRect(19, 40, 761, 131)) + self.horizontalLayoutWidget_2.setObjectName("horizontalLayoutWidget_2") + self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget_2) + self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0) + self.horizontalLayout_6.setObjectName("horizontalLayout_6") + self.label_4 = QtWidgets.QLabel(parent=self.horizontalLayoutWidget_2) + self.label_4.setMaximumSize(QtCore.QSize(120, 120)) + self.label_4.setBaseSize(QtCore.QSize(120, 120)) + self.label_4.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight) + self.label_4.setText("") + self.label_4.setPixmap(QtGui.QPixmap("Parch_LOGO.svg")) + self.label_4.setScaledContents(True) + self.label_4.setObjectName("label_4") + self.horizontalLayout_6.addWidget(self.label_4) + self.pushButton = QtWidgets.QPushButton(parent=Dialog) + self.pushButton.setGeometry(QtCore.QRect(770, 10, 30, 30)) + self.pushButton.setText("") + self.pushButton.setObjectName("pushButton") -# See PyCharm help at https://www.jetbrains.com/help/pycharm/ + self.retranslateUi(Dialog) + QtCore.QMetaObject.connectSlotsByName(Dialog) + + def retranslateUi(self, Dialog): + _translate = QtCore.QCoreApplication.translate + Dialog.setWindowTitle(_translate("Dialog", "Dialog")) + self.label.setText(_translate("Dialog", "Welcome To ParchLinux!")) diff --git a/main.ui b/main.ui new file mode 100644 index 0000000..720b6df --- /dev/null +++ b/main.ui @@ -0,0 +1,116 @@ + + + Dialog + + + + 0 + 0 + 809 + 450 + + + + Dialog + + + + + + + + 20 + 180 + 761 + 80 + + + + + + + + + + + + + + + Hack NFM + 20 + 75 + true + + + + Welcome To ParchLinux! + + + + + + + + + + + + + + + + 19 + 40 + 761 + 131 + + + + + + + + 120 + 120 + + + + + 120 + 120 + + + + Qt::LeftToRight + + + + + + Parch_LOGO.svg + + + true + + + + + + + + + 770 + 10 + 30 + 30 + + + + + + + + + +