Top "Qmainwindow" questions

QMainWindow is a class in Qt library that implements the main window of an application.

MenuBar Not Showing for Simple QMainWindow Code, Qt Creator Mac OS

I have been having problems adding a menu item to the built in menu bar in a Qt desktop application. …

c++ macos qt qmainwindow qmenubar
QMainWindow - wait until 'show' function is done

Is there a signal that tells when 'show' function finishes? I have a problem in my code: If I write: …

qt qmainwindow
Set background of QMainWindow central widget

Using Qt 4.8.4 on Windows 7 (MSVC 2010) I have a standard QMainWindow in my app with a toolbar. I want the toolbar …

qt background-color qmainwindow
Make a QMainWindow only horizontally-resizable - that is, width is resizable, but height is fixed

Can I make a QMainWindow with a grid layout resize only horizontally but not vertically? I want its vertical size …

c++ qt layout resize qmainwindow
PyQt5 draggable frameless window

I found an example to set borders on a frameless window, however it's not draggable. How can I make a …

python windows python-3.4 pyqt5 qmainwindow
I try to use QFileDialog for choose a file on PyQt but it don't run

I'm new on stackoverflow. I have a MainWindow on PyQt, I want click a button and open a QFileDialog for …

python pyqt qmainwindow filechooser qfiledialog
Python: How Close (or exit) Python Process After QMainWindow Dialog is closed

There are two .py files placed in a same folder: dialog_01.py and dialog_02.py Both files are copy of …

python pyqt pyqt4 qmainwindow
Show QMainwindow in the middle of the screen

I want show my project main window in the middle of the screen . when i call "self.show()" then the …

pyqt4 qmainwindow
Qt4: Placing QMainWindow instance inside other QWidget/QMainWindow

I'd like to place QMainWindow instance inside another QWidget (for example centralWidget of another QMainWindow). I'm wondering why it doesn't …

qt qt4 qt-creator qwidget qmainwindow
PyQt having a status bar & menu bar QWidget

I am trying to create a PyQt application that has both status bar and a menu bar with other Widgets …

python qt pyqt qwidget qmainwindow