A QLCDNumber is a class from the Qt Toolkit which provides a widget that displays a number with LCD-like digits.
Questions tagged [qlcdnumber]
29 questions
0
votes
1 answer
QLCDNumber display double
I'm learning visual programing in Qt by trying to create a simple calculator. I'm having trouble with the QLCDNumber because I am not able to display double numbers, it doesn't show the coma nor the decimals.
The code is pretty simple but it should…

Pedro Estévez
- 121
- 1
- 4
0
votes
1 answer
How to update value of QLCDNumber on PyQT5?
I am trying to update my QLCDNumber, but I failed several times. In my code, you can see that I want to take the input numbers from the double spin boxes and show them as a total sum of the previous land use values in my LCD widget. I have created a…
0
votes
1 answer
Reset Output on QLCD Number when Timer Resets
I currently have a code, which starts a countdown timer via a pushbutton, What i would like is whenever the user presses the button, the timer to re start from 120, currently it just continues to run and doesn't reset.
relevant section of My code…

Almaas Shah
- 125
- 2
- 14
0
votes
1 answer
Change Background of QLCDNumber with PyQt5 to an image
I currently have a program which changes the color of the background of the QLCDumber widget when a certain value is displayed on the lcd number, is it possible for instead of a color being the background when a certain value is reached an image…

Almaas Shah
- 125
- 2
- 14
0
votes
2 answers
Displaying numbers with QLCDNumber.display() with PyQt
I am bit new to Qt and python. I have created a simple GUI which consist of a simple calculator. I used the QT Designer to design the GUI and now I want to link my buttons to the QLCDNumber display.
I created a *.clicked.connect(self.my_func) to…

Maett Lindner
- 1
- 1
- 2
0
votes
0 answers
Can't reach newly made QLCDNumber
I was doing some testing with QTimer, within a bigger project, using Qt. I wanted to increment a value every 10 milliseconds and show that on the GUI.
void MainWindow::on_timeout(){
tmpValue++;
ui->testValue->display(tmpValue);
}
I…

Otto de Visser
- 9
- 4
0
votes
1 answer
Detect change in a global variable
I'm making a GUI with pyqt5 and have qlcdnumber to display a variable which I retrieve from an Android app through a socket server.
The problem is I can't find any method to display the variable that I have in the qlcdnumber.
Here is the UI code, I…

medyas
- 1,166
- 13
- 21
0
votes
1 answer
How to increment QLCDNumber in python
I am trying to update the value of a QLCDNumber. What I want to be able to do is run a function in a separate thread that outputs a value (in this case just counting upwards) and have this value displayed to the screen.
Here is the python script…

Tin-r0bot
- 11
- 2
0
votes
1 answer
Adding unit to a QLCDNumber
I want to extend QLCDNumber to show unit (like Deg/Rad/Grad selector in old calculator) along with the number. As I see it in high-level, to be style-independent, one should extend drawing area but restrict QLCDNumber to draw on the extended region.…

fAX
- 1,451
- 1
- 10
- 11
0
votes
2 answers
Python: Connect QlineEdit with QlcdNumber via button
Why doesn't the content of the edit box get transferred into the lcdNumber field?
class MainDialog (QDialog, MultiTool_widget_ui.Ui_Form):
def __init__(self):
#super(MainDialog, self).__init__() OR
…

Creatronik
- 189
- 3
- 18
0
votes
2 answers
QLcdNumber set fixed format
I was wondering either there is a way to set the QLcdNumber widget to have a fixed format width. For example, I would like to set the widget to always display 3 numbers before coma and 2 after:
000.00
001.00
120.50
100.25
etc.
Is there a way to do…

Łukasz Przeniosło
- 2,725
- 5
- 38
- 74
-1
votes
1 answer
QLCDNumber and unsigned int
As far as I see, QLCDNumber can only display signed integers. I want to display content of processor registers, which are typically unsigned. Is there any hacking to display unsigned integers?

katang
- 2,474
- 5
- 24
- 48
-1
votes
1 answer
Updating a QLCDNumber in PyQt via Background Thread
I need to continuously update a QLCDNumber based on data measurements that I'm pulling from a bench-top instrument. I realize that I will have to put this on some sort of daemon thread to run in the background independently.
I have read a bit about…

jonnyd42
- 490
- 1
- 9
- 23
-2
votes
1 answer
PYQT GUI Updating und showing a float signal via Qthread on a QLCD display in a second window doesnt work
I'm trying to display a float signal from an ADC via QThread in a secondary window. So first I defined all my signals in a workerThread and emit them. Then I used a slot_method to "catch" the needed signal and send this parameter to a LCD…

VvV
- 1
- 2