Top "Qwidget" questions

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

Dragging a QWidget in QT 5

I have to make something like the iOS interface, 3x3 field of icons that can be dragged to change their …

qt drag-and-drop qwidget
How to get widget background QColor

I am trying to find out the background color of a QWidget or QGLWidget so that I can use it …

qt qwidget
QScrollArea not working as expected with QWidget and QVBoxLayout

So I have this QFrame which is the parent widget (represented by this in the code). In this widget, I …

c++ qt qwidget qscrollarea qframe
Get objectname (as seen from Qt Designer) from QWidget?

I want to disable all but a selected set of widgets in my Qt application. What I am trying to …

c++ qt qwidget qtgui qobject
How can I know if the mouse is over the widget?

I am fairly new to Qt (PyQt - PySide). I am trying to build a custom widget which is a …

c++ qt pyqt pyside qwidget
How to remove QWidgets from QSplitter

In my app have a window splitted by a QSplitter, and I need to remove an widget. How can I …

qt parent qwidget qsplitter
Render QWidget in paint() method of QWidgetDelegate for a QListView

i'm having difficulties implementing custom widget rendering in a QListView. I currently have a QListView displaying my custom model called …

qt qwidget qpainter qlistview qstyleditemdelegate
Qt - change QWidget layout

Let's consider we have a QWidget and a QLayout named general_layout that contains other widgets and layouts. general_layout …

qt layout qt4 qwidget
QT How to embed an application into QT widget

In our project we have three independent applications, and we have to develop a QT control application that controls these …

c++ qt qwidget qx11embedcontainer
How does one fill a QGridLayout from top-left to right?

I would like to fill a QGridLayout with QWidgets. The QWidgets need to appear in a top-left to top-right fashion …

qt user-interface qwidget grid-layout qgridlayout