Top "Qwidget" questions

QWidget is key part of the Qt C++ classes.

Using any c++ function as a Qt slot

Is there a way to use any C++ function as a Qt slot, without having its class inheriting from QWidget?

c++ qt signals-slots qwidget
Qt Show/Hide widget animation

I'm trying to implement a show/hide widget animation. The widget is a QDockWidget and therefore is inside the QMainWindowLayout. …

qt animation qwidget
pyqt4 window resize event

I'm using python3 and pyqt4 and I want some code to run every time my QMainWindow is resized.I would …

python python-3.x pyqt pyqt4 qwidget
Replace a widget in Qt

I have a base class which has some gui items that i have set positions of using the designer in …

c++ qt user-interface inheritance qwidget
QLineEdit with custom button

I need to implement LineEdit widget with possibility to add tool buttons at the right end of text area. I …

c++ qt qwidget qlineedit qframe
how to change the visibility of overlapped widgets in pyqt based on signals

I have multiple TextBrowser boxes of same size overlapped and i need to display different TextBrowsers on different button clicks. …

pyqt4 qwidget
Multiple windows in a single project

I have a requirement for my project to display two QML Windows each on one of the screen (one sender, …

qt qml qwidget qtquick2 qquickview
Is there a way to add a QWidget to a QMenu in QtCreator

I'm creating a text editor and I'd like to put the QComboBox in the QMenu. I didn't find any method …

c++ qt qwidget qmenu
How do I make a QVector of widgets?

How do I make a QVector (or some other container class) of a dynamic number of widgets, such as QPushButton …

qt qt4 qwidget qvector
PyQT LineEdit Border Color

To bring the user's attention to the text field with an error (or if it is not filled) I colorize …

python pyqt qwidget qlineedit