qlabel Questions
4
Solved
4
2
Solved
I am working on a PyQt5 project, but would be happy to read C++/Qt answer as well, because C++ solutions may work on Python too.
I have a MainWindow with a horizontal layout, and a QLabel in it.
...
4
Solved
I have got a QLabel element in a widget which can be resized. The text can overflow boundaries, so I need, for the application to look more elegant, some way to make the text generate an ellipsis (...
Implosive asked 11/9, 2011 at 20:40
3
I want to display a standard warning icon along with some description text in QLabel in pyqt. Qlabel doesn't have setIcon function. So how could I do that?
Any help would be appreciated.
10
Solved
I use a QLabel to display the content of a bigger, dynamically changing QPixmap to the user. It would be nice to make this label smaller/larger depending on the space available. The screen size is ...
3
Solved
For example, we have a QLabel with MaximumWidth set to 400.
When we try to display some text with pixel width more than 400, it's shown cut off.
Is there any way to make QLabel display this string ...
4
I'm new in Qt and have a question.
I have QLabel and QLineEdit objects, and when QLabel text is clicked on, I want to set this text in QLineEdit.
Also I have read that QLabel has not clicked sign...
Holmgren asked 14/8, 2015 at 21:31
1
I am learning QT and I am puzzled by the difference in performance of QLabel and QGraphics view while panning.
I read a huge 36Mpixels (D800) jpeg file into either QLabel or QGraphics objects and ...
Flooded asked 21/9, 2012 at 0:27
4
Solved
We are making a GUI using PyQt and Qt Designer. Now we need that an image(pixmap) placed in a QLabel rescales nicely keeping ratio when the window is resized.
I've been reading other questions/an...
Regnal asked 10/1, 2014 at 10:30
2
Solved
3
I want that if I move my mouse over the label with text stop on it then it should change the value of a variable Stop to True so that I may pause/stop my program.
I have looked the code at
Mouseove...
1
I am trying to make a multi line QLabel with a text without space but delimited by comma.
ex : 'Cat,Dog,Rabbit,Train,Car,Plane,Cheese,Meat,Door,Window'
I have found that multiline is possible with...
2
Solved
I need to display text with a QLabel with following requirements:
Word wrapping
Expand from small width to full width according to the length of the text while the label takes a single line
Always...
4
Solved
I had written a gui using PyQt5 and recently I wanted to increase the font size of all my QLabels to a particular size. I could go through the entire code and individually and change the qfont. But...
4
Solved
I have a QLabel with a Qt stylesheet that sets a dark background:
QLabel {
background: black;
color: white;
}
This works fine until I add text with an embedded URL and set the Qt::TextFormat to...
Metsky asked 31/3, 2011 at 9:33
3
Solved
How can use different font & size for the child Widgets in the GroupBox and the tittle for the GroupBox in python
def panel(self):
groupBox = QtGui.QGroupBox("voltage Monitor")
groupBox.set...
Lola asked 22/9, 2015 at 18:24
2
Solved
I have a QLabel that i fill in red with the stylesheet, but the QLabel is rectangular, and I want a circle. I try to add border-radius, but it doesn't work, maybe because i put my QLabel in a formL...
Ulyssesumayyad asked 21/5, 2014 at 14:46
2
Solved
I'm currently trying to fade a specific QLabel in and out. My first try was to use the setAlphaChannel, however this just didn't work.
My current approach is to use a for-loop and set the styleshee...
3
I've added QLabel widgets to my QTreeWidget to work around the word wrapping issue in QTreeWidget. (see how to word wrap a QTreeWidgetItem). The QLabel widgets appear to have spacing around the tex...
Girl asked 8/1, 2014 at 21:48
2
Solved
I am using QPixmap for displaying images of different sizes on a label. I have used the following code to display the image(s):
myPixmap = QtGui.QPixmap(os.path.join("data", "images", image_name))...
2
Solved
I am beginner in Qt, now I want to make my label clickable, I have searched so much online, but no one gives my a real example of how they made it. So can someone teach me step by step? Now my basi...
Gameness asked 6/7, 2017 at 10:11
1
Solved
I have a very small Qt application that uses labels to display a jpeg image without first putting it in a window. (I got a lot of help from Display QImage with QtGui)
Now I would like to change th...
3
Solved
I work on Win7 x64 with OpenCV and Qt Libraries and VS 2010.
I would like to open my camera with OpenCV and then to show captured frames with Qt, for example using QLabel, after converting from Ma...
Flavine asked 6/2, 2013 at 12:45
1 Next >
© 2022 - 2024 — McMap. All rights reserved.