How To Create Spin Boxes - PyQt5 GUI Thursdays #3

preview_player
Показать описание
In this video I'll show you how to create spin boxes for PyQT5 and Python using the QSpinBox widget.

Spin boxes allow you to spin thru a list of numbers. They have a minimum value and a maximum value, as well as a singleStep value.

You can add a prefix and a suffix to your spin box values to that there are words listed.

QSpinBox uses integers. If you want to use decimals or floats in your spin box, you need to use the QDoubleSpinBox widget instead. But everything else stays the same with your code.

Timecodes
0:00 - Intro
1:26 - Create PyQT5 Spinbox Widget
2:07 - Set PyQT5 QSpinBox Attributes
4:00 - Change Font Size of Spinbox
5:43 - Add Prefix And Suffix to Spinbox
6:40 - Pass Prefix and Suffix To A Function
7:20 - Use Decimals with QDoubleSpinBox
9:02 - Using a Prefix Without A Suffix
9:33 - Using Only a Suffix Without A Prefix
10:42 - Conclusion
Рекомендации по теме
Комментарии
Автор

Sir, I want to say you're course is just amazing. You do a tremendous job in the content and the form that makes your videos my favorite. Keep it up. It's a pleasure. (and what a humor sense !)

jacinthompeteye
Автор

Great job, great python tutorials, great lessons
FEED that algorithm if you want more like this guys. Theres not any other ppl on youtube doing this so well

RyanDanielG
Автор

These videos still hold up to it's name, dude. I love it!

structivealpha
Автор

I loved your teaching energy !
Wonderful tutorial.

seferideveloper
Автор

▶️ Watch Entire PyQt5 GUI Thursdays Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
▶️ Get The Code:

Codemycom
Автор

Hello sir, i have a question about oop in pyqt5. I have 2 form. I send data from first form to second form. I want to send respons back to 1 ci form after I'm done. But system gives me error when i import first form as a module in second form. Could you please help me for that

BehbudRamazanov
Автор

Making a request for handling multiple threads in pyqt!

abhijitdixit
Автор

why running the app in visual studio closes right away, i had to add an input at the end for it to stay open

Redwane-Music
Автор

Don't look at this. It's just a support.

rufus