Remove old welcome

This commit is contained in:
manijamali2003 2023-07-28 13:12:34 +04:30
parent 6490336262
commit 9ab4625504
9 changed files with 0 additions and 406 deletions

BIN
PWB.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 KiB

BIN
PWI.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 KiB

View file

@ -1,187 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="1024.0px"
height="1024.0px"
viewBox="0 0 1024.0 1024.0"
version="1.1"
id="SVGRoot"
sodipodi:docname="Parch_LOGO_N1.svg"
inkscape:export-filename="Parch_LOGO_N1.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview433"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="0.46769781"
inkscape:cx="215.95141"
inkscape:cy="489.6324"
inkscape:window-width="1366"
inkscape:window-height="705"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="layer1">
<inkscape:grid
type="xygrid"
id="grid556" />
</sodipodi:namedview>
<defs
id="defs428">
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7364"
id="linearGradient7366"
x1="881.64832"
y1="1399.6702"
x2="1086.3264"
y2="1551.4346"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(2.00014,-2.000019)" />
<linearGradient
inkscape:collect="always"
id="linearGradient7364">
<stop
style="stop-color:#25d8a3;stop-opacity:1;"
offset="0"
id="stop7360" />
<stop
style="stop-color:#189c76;stop-opacity:1;"
offset="1"
id="stop7362" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6175"
id="linearGradient6177"
x1="764.72528"
y1="1331.642"
x2="1072.3627"
y2="1186.5356"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-2,2)" />
<linearGradient
inkscape:collect="always"
id="linearGradient6175">
<stop
style="stop-color:#15b7ba;stop-opacity:1;"
offset="0"
id="stop6171" />
<stop
style="stop-color:#017fd1;stop-opacity:1;"
offset="1"
id="stop6173" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6183"
id="linearGradient6185"
x1="692.88007"
y1="1434.4056"
x2="959.86017"
y2="1344.1935"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
id="linearGradient6183">
<stop
style="stop-color:#003baf;stop-opacity:1;"
offset="0"
id="stop6179" />
<stop
style="stop-color:#1d47d1;stop-opacity:1;"
offset="1"
id="stop6181" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6157"
id="linearGradient6159"
x1="822.84015"
y1="1035.7853"
x2="1085.449"
y2="807.15295"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-2,4)" />
<linearGradient
inkscape:collect="always"
id="linearGradient6157">
<stop
style="stop-color:#189974;stop-opacity:1;"
offset="0"
id="stop6153" />
<stop
style="stop-color:#26dda7;stop-opacity:1;"
offset="1"
id="stop6155" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6165"
id="linearGradient6167"
x1="646.99298"
y1="1169.6515"
x2="963.47876"
y2="1103.2811"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.948016,2.425276)" />
<linearGradient
inkscape:collect="always"
id="linearGradient6165">
<stop
style="stop-color:#1b66bd;stop-opacity:1;"
offset="0"
id="stop6163" />
<stop
style="stop-color:#34aee1;stop-opacity:1;"
offset="1"
id="stop6161" />
</linearGradient>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g351"
transform="matrix(1.2617269,0,0,1.2617269,-615.56887,-1016.6823)">
<path
style="fill:url(#linearGradient7366);fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="m 907.42424,1616.2488 c -24.0017,-2.3297 -52.02635,-12.6231 -78.85555,-28.9638 -19.1068,-11.6372 -38.2733,-27.4597 -58.392,-48.2042 -18.2162,-18.7831 -32.4842,-36.7342 -49.1463,-61.8328 -11.964,-18.022 256.84077,-146.9291 265.90907,-151.2971 5.559,-2.6776 9.7948,3.391 77.01334,-7.6092 23.5832,-3.8593 47.0328,-7.1016 52.1103,-7.2049 11.0834,-0.2258 10.575,-0.8697 14.9478,18.9334 9.5134,43.0829 11.2104,105.2552 3.6828,134.9296 -12.2746,48.3882 -47.2143,95.0359 -92.2301,123.1357 -17.1131,10.6824 -40.2247,20.473 -58.20424,24.6566 -18.5624,4.3192 -52.3089,5.8373 -76.83512,3.4567 z"
id="path3231"
sodipodi:nodetypes="ssssssssssss" />
<path
style="fill:url(#linearGradient6177);fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 753.09235,1327.4446 c 14.69201,-16.956 20.24712,-23.1265 35.64256,-39.5902 37.37125,-39.9644 101.19042,-100.893 193.48705,-184.7236 L 1005.4868,1082 l 14.6318,23.0603 c 17.5013,27.5828 38.2795,62.1034 50.2441,83.4753 10.9347,19.5324 30.0316,55.7258 29.9881,56.8352 -0.04,1.0309 -4.4647,4.2189 -58.0939,41.86 -52.19334,36.6331 -63.14394,41.9779 -64.54684,43.9445 -1.009,1.4143 -4.1223,0.4021 -97.93319,1.3997 -56.13568,0.5971 -108.8089,1.0771 -117.05159,1.067 l -14.98672,-0.019 z"
id="path3769"
sodipodi:nodetypes="ssscsscsssccs" />
<path
style="fill:url(#linearGradient6185);fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 731.8397,1496.163 c -10.00346,-13.6029 -27.81008,-41.8293 -38.95966,-61.7574 l -5.23231,-9.3519 1.98771,-3.9211 c 4.31553,-8.5131 25.20717,-42.5347 32.62288,-53.1258 4.31725,-6.1658 11.96362,-16.4625 16.99192,-22.8816 l 9.1424,-11.671 13.37122,-0.046 c 7.35417,-0.026 58.8885,-0.5917 114.52072,-1.2585 55.63223,-0.6665 101.27368,-1.105 101.42548,-0.9744 0.1517,0.1304 -7.8807,5.9889 -17.8499,13.0182 -43.89257,30.9492 -223.75444,156.7755 -224.10191,156.7755 -0.21145,0 -1.97479,-2.1625 -3.91855,-4.8057 z"
id="path4642" />
<path
style="fill:url(#linearGradient6159);fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 964.42676,1105.7064 c -12.05629,-5.5736 -124.78074,-56.6746 -136.07706,-61.6875 -4.37064,-1.9395 -7.74994,-3.8447 -7.50956,-4.2336 1.12494,-1.8202 -7.65234,-12.5683 -33.49963,-41.0217 -9.37559,-10.3209 -24.39764,-26.9662 -33.38233,-36.98955 l -16.3358,-18.22421 26.91016,-26.68073 c 27.07406,-26.84323 40.7116,-38.647 60.14764,-52.05987 33.95218,-23.43049 70.95902,-40.2681 111.85024,-50.89034 20.20284,-5.24805 33.85524,-7.37717 51.26124,-7.9943 22.99314,-0.81522 76.51254,2.11 95.65734,5.22837 7.8718,1.28218 21.5114,4.76773 21.5114,5.49716 0,0.34064 -4.8401,0.90754 -10.7557,1.25978 -44.3554,2.64115 -69.1623,12.18788 -93.9112,36.14093 -18.96854,18.35864 -30.68274,35.92495 -37.14614,55.70373 -8.82302,26.99962 -9.13016,54.30253 -0.9571,85.08983 6.7109,25.2799 16.1428,44.8072 40.21074,83.2507 l 2.9601,4.7282 -3.947,3.5103 c -2.1709,1.9307 -8.28954,7.4236 -13.59714,12.2063 -5.3075,4.7829 -10.4811,9.397 -11.4969,10.2535 -1.7655,1.4886 -2.2897,1.3525 -11.8933,-3.087 z"
id="path5325" />
<path
style="fill:url(#linearGradient6167);fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 663.61648,1352.5852 c -2.64202,-5.1359 -7.955,-25.2502 -11.90803,-45.0825 -2.68093,-13.4502 -3.75606,-35.3932 -3.7674,-76.8919 -0.0172,-60.5435 3.60619,-91.424 15.64669,-133.3734 9.22105,-32.1264 29.67888,-79.8984 43.31308,-101.14242 l 4.52066,-7.0438 24.55009,10.99112 c 68.96751,30.8767 239.61449,108.0897 240.34849,108.7511 0.3763,0.339 -15.6886,15.6752 -35.6998,34.0803 -46.54744,42.8119 -66.77489,61.8478 -99.2361,93.3898 -14.50185,14.0911 -26.40796,24.9807 -26.6193,24.3468 -0.475,-1.4249 -11.42936,5.427 -68.4316,42.8033 -51.3851,33.6933 -79.53897,51.6888 -80.86682,51.6888 -0.30525,0 -1.13772,-1.1328 -1.84996,-2.5172 z"
id="path5116" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 8.8 KiB

View file

@ -1,11 +0,0 @@
#main {
background: #191919;
border-radius: 20px;
opacity: 100;
border: 2px solid #0052ff;
}
#pushButton{
background: #ff0000;
border-radius: 10px;
border-image:url(:x-lg.svg) ;
}

23
main.py
View file

@ -1,23 +0,0 @@
from PyQt6 import QtWidgets, uic,QtGui,QtCore
import sys, os
class MyWindow(QtWidgets.QDialog):
def __init__(self, *args, **kwargs):
super(MyWindow, self).__init__(*args, **kwargs)
uic.loadUi("./main.ui", self)
if __name__ == '__main__':
app = QtWidgets.QApplication(sys.argv)
main = MyWindow()
main.setObjectName("main")
cssFile = "main.css"
with open(cssFile, "r") as fh:
main.setStyleSheet(fh.read())
main.setWindowIcon(QtGui.QIcon())
main.show()
sys.exit(app.exec())

116
main.ui
View file

@ -1,116 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>809</width>
<height>450</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<property name="windowFilePath">
<string/>
</property>
<widget class="QWidget" name="horizontalLayoutWidget">
<property name="geometry">
<rect>
<x>20</x>
<y>180</y>
<width>761</width>
<height>80</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="font">
<font>
<family>Hack NFM</family>
<pointsize>20</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Welcome To ParchLinux!</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget_2">
<property name="geometry">
<rect>
<x>19</x>
<y>40</y>
<width>761</width>
<height>131</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_4">
<property name="maximumSize">
<size>
<width>120</width>
<height>120</height>
</size>
</property>
<property name="baseSize">
<size>
<width>120</width>
<height>120</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>Parch_LOGO.svg</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>770</x>
<y>10</y>
<width>30</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>

View file

@ -1,66 +0,0 @@
# 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.
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(809, 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")
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!"))

View file

@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">
<path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 320 B