PyQt5 Tutorial | How to create dependent combo box with QComboBox widgets

preview_player
Показать описание
In this tutorial, we will learn how to create dependent combo box with PyQt5 in Python.

A combo box (some people called it drop-down) is a graphical control allowing a user to pick an item from a list. Often time, there will be scenario where you want to specify a combo box list depending on a parent value. So in this tutorial, I will walk you through the steps to create a dependent combo box using PyQt5.

Buy Me a Coffee? Your support is much appreciated!
-------------------------------------------------------------------------------------
🔑Venmo: @Jie-Jenn

Check out Kite (free AI Coding Assistant) →

Support my channel so I can continue making free contents
---------------------------------------------------------------------------------------------------------------

#PyQt5 #PythonGUI
Рекомендации по теме
Комментарии
Автор

Thanks for making this video! I've been away from (Py)Qt for awhile, and your example really helped me remember again how models work in Qt—and how important/necessary they are for 'real' applications.

evadeflow
Автор

Thank you for your videos. I have a question, if we have a database in closed excelworkbook, how can we populate the data to dependent combobox in python (without opening the workbook)? Could you give a guidence, i'll appreciate. best regards.

tuonglainguyen
Автор

Hi. I am really new to python. The video above is really helping, I just want to show the second Combobox when I select an item form the first one. By default, it will not show. Can I do that? It will be really helpful if you guide me.

rishavchatterjee
visit shbcf.ru