PyQt5 Tutorial - ComboBoxes with Examples

preview_player
Показать описание
This pyqt5 tutorial will show you how to use combo boxes! Comboboxes allow for the user to see a drop down list of options and select one. This tutorial will illustrate their use with a short example:

Text-Based Tutorial: Coming Soon...

Enroll in The Fundamentals of Programming w/ Python (NOW 35% OFF)
Use the code: 50K
to get 35% off!

Please leave a LIKE and SUBSCRIBE for more content!

Tags:
- Tech With Tim
- Python Tutorials
- PyQt5 ComboBox
- ComboBoxes PyQt5
- PyQt5 Tutorial

#python #pyqt5 #qtdesigner
Рекомендации по теме
Комментарии
Автор

Enroll in my new course and get 50% off with the code: EARLYACCESS

TechWithTim
Автор

Great tutorial, and the text-based version is of great help. Thank you very much.

anabelsa
Автор

A tutoriel on QTabWidgets would be really cool !
Daily uploads are really appreciated Tim ;)

xgriff
Автор

I love your tutorial, it's very cool!

yisanhuang
Автор

In case anyone was wondering, 11:11
if xor == True: #turn everything into an int
xor = 1
else:
xor = 0
can be replaced with(for the same result as above):
xor = bool(xor)
Also, thanks for these videos Tim.

tundeo
Автор

def XOR(self, X, Y): return int(X != Y)

Sklyvan
Автор

Excellent videos, very helpful. I will be using this in a course I am currently taking i Norway. Could You possibly also cover inputText boxes and especially validating input? Also: Is there a way to separate the actual coding from the QtDesigner code, so that the over-writing could be eliminated? I must say I am in awe for Your knowledge and ability to present and explain all the nits and grits of this topic. I went from being a total nerd on gui programming in python to starting to master it in just half a day. Thank You very much, and keep up the good work. Kudos!

naturfagstoff
Автор

Thank you very much for the video, you helped me a lot

yuryak
Автор

Thanks man you just saved me a headache

briangicharu
Автор

you can just do
xor = x ^ y
python (like all programming languages) has xor operator built in

sayanghosh
Автор

this is very great video, it pretty clear explanation , do u plan to have any python with QML ? really looking forward and million thx

preedapayattakool
Автор

Can we use the current value of the COMBO Box to change the value in the string?
for eg. i have a string"A, 1, 1, XY" this XY are the values that need to be inserted after selecting from combo box and this must be done every time the value is changed from the box.

KirtiSoni
Автор

Tim, how can i accomplish the same but without Submit button? I want to give me result once either of comboboxes is changed

Thanks in advance.

ainpe
Автор

please make tutorial on Layouts in detail
i love your videos

romanthchowan
Автор

I'm trying to do something similar but when I press my button it closes my main window, do you know what could be causing this?

Guitarluke
Автор

Hello can you help me?
I inserted data from a database table into my comboBox
Now I need to get the ID of this Table when I select the item in the ComboBox to insert in the foreign key of my second table. Can you do that?

Daniel-nnoy
Автор

Is there a way to change the style to fusion in qt5

cunninghamb
Автор

When I pass the " 1 " or " 0 " in the findText() function i am getting -1 as return value. Is there any other format for numbers?

pavanmacherla
Автор

Hey Tim! I love your videos. Can you make a C++ tutorial if you are interested in C++. I'd like to learn it from you.

bekirkagankaraahmetoglu
Автор

I am writing command inside the qt designer so how can I make rounded drop list view. I tried and it worked but the main problem is that the background behind that rounded area is also visible.

mohitarora