Qt - What is a QWidget?

In the book C++ GUI Programming with Qt 4, the example in the first chapter mentions what QWidgetserves as the main application window.

And on Qt Reference Documentation: http://doc.qt.io/qt-4.8/qwidget.html there is a lot of information about QWidget.

But what is the baseline? What does QWidget basically do? When should I think about it?

+5
source share
4 answers

One way to think about it - any object that knows how to display itself on the screen is a QWidget (in particular, some subclass of QWidget).

, QPicture, , QPicture , . QLabel (, QWidget).

+7

. / , Qt, QWidget.

, , .

+4

- X11 - , . , , ..

, , Window Gadget.

+1

, X11, . "", ( , ). , ( ), .

+1
source

All Articles