1
1
# Form implementation generated from reading ui file 'c:\Users\MD. SHAMIM\Documents\GitHub\Python-GUI-PyQt6\TestDemo-2\input_widget.ui'
2
2
#
3
- # Created by: PyQt6 UI code generator 6.4 .2
3
+ # Created by: PyQt6 UI code generator 6.5 .2
4
4
#
5
5
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
6
6
# run again. Do not edit this file unless you know what you are doing.
12
12
class Ui_Form (object ):
13
13
def setupUi (self , Form ):
14
14
Form .setObjectName ("Form" )
15
- Form .resize (784 , 222 )
15
+ Form .resize (898 , 199 )
16
16
Form .setStyleSheet ("#Form{\n "
17
17
"padding-top:5px;\n "
18
18
"padding-bottom: 5px;\n "
19
19
"}" )
20
- self .gridLayout_2 = QtWidgets .QGridLayout (Form )
21
- self .gridLayout_2 .setContentsMargins (0 , 0 , 0 , 0 )
22
- self .gridLayout_2 . setVerticalSpacing ( 6 )
23
- self .gridLayout_2 .setObjectName ("gridLayout_2 " )
20
+ self .gridLayout_4 = QtWidgets .QGridLayout (Form )
21
+ self .gridLayout_4 .setContentsMargins (0 , 0 , 0 , 0 )
22
+ self .gridLayout_4 . setSpacing ( 0 )
23
+ self .gridLayout_4 .setObjectName ("gridLayout_4 " )
24
24
self .frame = QtWidgets .QFrame (parent = Form )
25
- self .frame .setStyleSheet ("background: #fff; \n "
25
+ self .frame .setStyleSheet ("\n "
26
26
"" )
27
27
self .frame .setFrameShape (QtWidgets .QFrame .Shape .StyledPanel )
28
28
self .frame .setFrameShadow (QtWidgets .QFrame .Shadow .Raised )
29
29
self .frame .setObjectName ("frame" )
30
- self .gridLayout = QtWidgets .QGridLayout (self .frame )
31
- self .gridLayout .setContentsMargins (0 , 0 , 0 , 0 )
32
- self .gridLayout .setSpacing (6 )
33
- self .gridLayout .setObjectName ("gridLayout" )
34
- spacerItem = QtWidgets .QSpacerItem (40 , 20 , QtWidgets .QSizePolicy .Policy .MinimumExpanding , QtWidgets .QSizePolicy .Policy .Minimum )
35
- self .gridLayout .addItem (spacerItem , 0 , 0 , 1 , 1 )
36
- self .frame_2 = QtWidgets .QFrame (parent = self .frame )
30
+ self .gridLayout_5 = QtWidgets .QGridLayout (self .frame )
31
+ self .gridLayout_5 .setObjectName ("gridLayout_5" )
32
+ self .frame_4 = QtWidgets .QFrame (parent = self .frame )
33
+ self .frame_4 .setStyleSheet ("background: #fff;\n "
34
+ "border-radius: 10px;\n "
35
+ "border: none;\n "
36
+ "" )
37
+ self .frame_4 .setFrameShape (QtWidgets .QFrame .Shape .StyledPanel )
38
+ self .frame_4 .setFrameShadow (QtWidgets .QFrame .Shadow .Raised )
39
+ self .frame_4 .setObjectName ("frame_4" )
40
+ self .gridLayout_2 = QtWidgets .QGridLayout (self .frame_4 )
41
+ self .gridLayout_2 .setObjectName ("gridLayout_2" )
42
+ self .frame_2 = QtWidgets .QFrame (parent = self .frame_4 )
37
43
self .frame_2 .setFrameShape (QtWidgets .QFrame .Shape .StyledPanel )
38
44
self .frame_2 .setFrameShadow (QtWidgets .QFrame .Shadow .Raised )
39
45
self .frame_2 .setObjectName ("frame_2" )
40
46
self .gridLayout_3 = QtWidgets .QGridLayout (self .frame_2 )
41
- self .gridLayout_3 .setContentsMargins (0 , 0 , 0 , 0 )
42
47
self .gridLayout_3 .setObjectName ("gridLayout_3" )
43
48
self .label = QtWidgets .QLabel (parent = self .frame_2 )
44
49
self .label .setMinimumSize (QtCore .QSize (40 , 40 ))
@@ -48,10 +53,16 @@ def setupUi(self, Form):
48
53
self .label .setScaledContents (True )
49
54
self .label .setObjectName ("label" )
50
55
self .gridLayout_3 .addWidget (self .label , 0 , 0 , 1 , 1 )
51
- spacerItem1 = QtWidgets .QSpacerItem (20 , 0 , QtWidgets .QSizePolicy .Policy .Minimum , QtWidgets .QSizePolicy .Policy .Expanding )
52
- self .gridLayout_3 .addItem (spacerItem1 , 1 , 0 , 1 , 1 )
53
- self .gridLayout .addWidget (self .frame_2 , 0 , 1 , 1 , 1 )
54
- self .label_2 = QtWidgets .QLabel (parent = self .frame )
56
+ spacerItem = QtWidgets .QSpacerItem (20 , 0 , QtWidgets .QSizePolicy .Policy .Minimum , QtWidgets .QSizePolicy .Policy .Expanding )
57
+ self .gridLayout_3 .addItem (spacerItem , 1 , 0 , 1 , 1 )
58
+ self .gridLayout_2 .addWidget (self .frame_2 , 0 , 0 , 1 , 1 )
59
+ self .frame_3 = QtWidgets .QFrame (parent = self .frame_4 )
60
+ self .frame_3 .setFrameShape (QtWidgets .QFrame .Shape .StyledPanel )
61
+ self .frame_3 .setFrameShadow (QtWidgets .QFrame .Shadow .Raised )
62
+ self .frame_3 .setObjectName ("frame_3" )
63
+ self .gridLayout = QtWidgets .QGridLayout (self .frame_3 )
64
+ self .gridLayout .setObjectName ("gridLayout" )
65
+ self .label_2 = QtWidgets .QLabel (parent = self .frame_3 )
55
66
sizePolicy = QtWidgets .QSizePolicy (QtWidgets .QSizePolicy .Policy .Preferred , QtWidgets .QSizePolicy .Policy .Preferred )
56
67
sizePolicy .setHorizontalStretch (0 )
57
68
sizePolicy .setVerticalStretch (0 )
@@ -62,19 +73,25 @@ def setupUi(self, Form):
62
73
font .setPointSize (11 )
63
74
self .label_2 .setFont (font )
64
75
self .label_2 .setCursor (QtGui .QCursor (QtCore .Qt .CursorShape .IBeamCursor ))
76
+ self .label_2 .setText ("" )
65
77
self .label_2 .setAlignment (QtCore .Qt .AlignmentFlag .AlignLeading | QtCore .Qt .AlignmentFlag .AlignLeft | QtCore .Qt .AlignmentFlag .AlignTop )
66
78
self .label_2 .setWordWrap (True )
67
79
self .label_2 .setTextInteractionFlags (QtCore .Qt .TextInteractionFlag .LinksAccessibleByKeyboard | QtCore .Qt .TextInteractionFlag .LinksAccessibleByMouse | QtCore .Qt .TextInteractionFlag .TextBrowserInteraction | QtCore .Qt .TextInteractionFlag .TextSelectableByKeyboard | QtCore .Qt .TextInteractionFlag .TextSelectableByMouse )
68
80
self .label_2 .setObjectName ("label_2" )
69
- self .gridLayout .addWidget (self .label_2 , 0 , 2 , 1 , 1 )
70
- spacerItem2 = QtWidgets .QSpacerItem (40 , 20 , QtWidgets .QSizePolicy .Policy .MinimumExpanding , QtWidgets .QSizePolicy .Policy .Minimum )
71
- self .gridLayout .addItem (spacerItem2 , 0 , 3 , 1 , 1 )
72
- self .gridLayout_2 .addWidget (self .frame , 0 , 0 , 1 , 1 )
81
+ self .gridLayout .addWidget (self .label_2 , 0 , 0 , 1 , 1 )
82
+ self .gridLayout_2 .addWidget (self .frame_3 , 0 , 1 , 1 , 1 )
83
+ self .gridLayout_5 .addWidget (self .frame_4 , 0 , 1 , 1 , 1 )
84
+ spacerItem1 = QtWidgets .QSpacerItem (80 , 20 , QtWidgets .QSizePolicy .Policy .Expanding , QtWidgets .QSizePolicy .Policy .Minimum )
85
+ self .gridLayout_5 .addItem (spacerItem1 , 0 , 2 , 1 , 1 )
86
+ spacerItem2 = QtWidgets .QSpacerItem (80 , 20 , QtWidgets .QSizePolicy .Policy .Expanding , QtWidgets .QSizePolicy .Policy .Minimum )
87
+ self .gridLayout_5 .addItem (spacerItem2 , 0 , 0 , 1 , 1 )
88
+ spacerItem3 = QtWidgets .QSpacerItem (20 , 40 , QtWidgets .QSizePolicy .Policy .Minimum , QtWidgets .QSizePolicy .Policy .Expanding )
89
+ self .gridLayout_5 .addItem (spacerItem3 , 1 , 1 , 1 , 1 )
90
+ self .gridLayout_4 .addWidget (self .frame , 0 , 0 , 1 , 1 )
73
91
74
92
self .retranslateUi (Form )
75
93
QtCore .QMetaObject .connectSlotsByName (Form )
76
94
77
95
def retranslateUi (self , Form ):
78
96
_translate = QtCore .QCoreApplication .translate
79
97
Form .setWindowTitle (_translate ("Form" , "Form" ))
80
- self .label_2 .setText (_translate ("Form" , "Bangladesh is a country located in southern Asia. The country is bordered by India to the west, north, and east, and by Burma to the southeast. Bangladesh has a population of over 162 million people and an area of 147,570 square kilometers. The capital and largest city is Dhaka.Bangladesh is a country located in South Asia. It is bordered by India to the east, west, and north, and by the Bay of Bengal to the south. It has a population of around 166 million people, making it the 8th most populous country in the world. Bangladesh is a developing country and has an economy that is reliant on agriculture, with rice being its major export. The capital city is Dhaka, where many of the country’s airports, universities, and government offices are located. Bangladesh is home to a variety of cultures, religions, and languages, with the official language being Bengali. Bangladesh is a member of the Commonwealth of Nations and the United Nations. The country has experienced significant progress in recent years, with a decrease in poverty levels and an increase in primary school enrollment. The Bangladeshi economy is growing at an estimated 6% per year." ))
0 commit comments