Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Unknown macro: {alias}

Name

qsetcentralwidget — set central widget in a QMainWindow

Syntax

qsetcentralwidget mainwindow [widget]

Description

The qsetcentralwidget command assigns a widget to be the central widget in a qmainwindow. Occupying the main central area of the mainwindow, the central widget is usually placed below a menubar and toolbar, while also being surrounded by dock areas. There may be only one central widget.

The central widget is typically a qtextedit or a container widget like qtabwidget. No layout management should be performed for the central widget.

Arguments

Unknown macro: {indent}

Examples

See the qmainwindow command for examples on how to use the qsetcentralwidget command.

Unknown macro: {pagebreak}
  • No labels