Skip to content

Tag Archives: Python-PyQt

When we create a window, by default the window size is resizable, although we can use setMaximumSize() method to set the maximum size of the… Read More
When we create border of a label, it is of same color i.e all the edges are of same color. In this article, we will… Read More
While designing a GUI (Graphical User Interface) application we tend to make lot of labels, but sometimes some labels overlaps each other and only label… Read More
In this article, we will see how we can add different padding size at different edges. Below is a image of label with normal padding… Read More
In this article, we will see how to add background image to a label, By default, when we create a label there is no background… Read More
The main window in PyQt5 is like graph it has x-axis and y-axis, all the widgets are positioned according to their x, y co-ordinates. When… Read More
While creating a Label in PyQt5, we can see that there is no background color. In this article we will see how to add background… Read More
In this article, we will see how to create dashed border of label in PyQt5 application. Generally, when we create a label with a border,… Read More
In this article, we will see how to add padding to our Label. Padding is just the space between the border and the content. Below… Read More
windowOpacity() method allows us to see the opacity level of the main window. Opacity is the measure of impenetrability to electromagnetic or other kinds of… Read More
In PyQt5, there are lots of widgets and while making an application we end up putting lots of widget. Sometimes, we can remember why this… Read More
In this article, we will see how to use close() method which belongs to the QWidget class, this method is used to close the window… Read More
In this article, we will see how to display only circular/round image from any image with any width and height i.e In order to do… Read More
In this article, we will see how to display only cropped square image from any rectangular image with any width and height i.e In order… Read More
While designing a Gui (Graphical User Interface) application, we mostly end up making lots of labels. For back-end coders, it become tough to distinguish between… Read More