Menubar - PyQt with Python GUI Programming tutorial 5

preview_player
Показать описание
In this PyQT4 GUI application development tutorial, we cover how to add a menu-bar to our application.

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

This is a great example of good youtube tutorials (or tuts) - 5 minutes, talk FAST (we are not stupid), and pack all of the main points without sweating the small details.
You sir, rock.

jorgeluis
Автор

For people who are using Ubuntu, the menuBar doesn't appear because it's a feature of Ubuntu's Unity shell called global menu bar.
So, if you want your menu to take its place on top of a window regardless of graphical shell preferences, you should use Qt menu bar instead of native one:

mainMenu = QtGui.QMenuBar()

self.setMenuBar(mainMenu)

fileMenu = mainMenu.addMenu('File')

shashankns
Автор

Loving your Qt series. I needed to learn Qt basics quickly for a project and you are teaching it the best way. The ~6 min per topic format really does wonders as the viewer doesn't feel overwhelmed. Keep it up.

PratikAnand
Автор

Thanks for these tutorials also perfect timing 4 days ago I was looking into PyQt so first thing I did was look at your channel for tutorial and coincidentally you posted your first PyQt video that same day.

ihswap
Автор

6:38 that evil laugh Lol...
This guy is awesome

winecheese
Автор

You saved my life man, I almost started screaming here trying to figure out PySide. Thanks!

lukab
Автор

Hi! What is the "&" for? Am I missing out on something?

needmorebrain
Автор

your laugh at the Q shortcut was amazing

shayne
Автор

This series has been really useful. Just wondering what you recommend for the best way for a menu option to load a new page/screen (i.e. a new set of widgets displayed within the same window). Obviously quite a common design feature of any application but I can’t find much info on how to do it with PyQt. Stacked widgets maybe?

kjfinnegan
Автор

Great tut's thanks. Do you recommend an IDE that for newbies has intellisense drop down prompting for the methods that are available..etc?

veganath
Автор

Hi Harrison! Loving this series. Need to ask one question. While setting the shortcut, if I place spaces between Ctrl and Q, the shortcut is neither displayed in the menu, nor does it work. Why is that?

NitinChauhan-vhyk
Автор

great narration / teaching style. This is great.

hedgehogurchin
Автор

if anyone is using Mac OS, you may need to add: in order to display the menu bar. I found that this fixed the issue that arose for me when the menu bar was not displaying properly.

chriiisle
Автор

Hey, I have a quick question.
I am designing an application for the touch screen. While designing for that I ran into the issue that the "File" menuItem was too small to click and every time I had to take out stylus or something to click on it. Is there any way to scale it up?

prithvirajkadiyala
Автор

I have the same codes. but when i run it using "python filename.py" in the terminal it say syntax error in i am pretty sure i am running the same code.

shabdarana
Автор

Hey Harrison, my goal for the past couple months has been converting your tkinter bitcoin program to PYQT, is that where you are heading with this?

eddwinnas
Автор

thanks a lot
i want to ask what's the difference between (trigger and triggered).
cause i found that i can't use (trigger.connect)
thx

aysershuhaib
Автор

Why are some of the strings written as "&string"? I ran this code (I am using Spyder) and it prints the '&' symbol along with the word to the output. For example, my output is "$File" whereas in the video the output is just "File".

Dangerops
Автор

I was laughing so hard! You crack me up! Chat app that exits on a vowel key! LOL!!!

RuneOsnes
Автор

how would you use while loops in PyQt? They seem to make the window disappear

geremachek
visit shbcf.ru