O Manual de Programação do KDevelop: O Guia do Utilizador para Desenvolvimento de Aplicações C++ para o Ambiente de Trabalho K (KDE) com o ambiente de trabalho KDevelop, Versão 2.1
Prev | Capítulo 6. The Dialogeditor: Where your Dialogs are Build | Next

# 6.6. Setting Widget Properties

Widget properties can be set easily with the properties window entries. When a widget gets selected, the properties window automatically updates to the properties of the current widget. As all widgets are derived from `QWidget`, you can set the `QWidget` properties plus an amount of properties that are specific to the selected widget. Properties can be:

- Integer values, such as the geometry of a widget or the font size

- Boolean values to enable/disable certain parameters of the widget. Set with combos containing true and false

- enumerable values of a widget, e.g. the palette. Set with combos containing all possible values

- Color values for e.g. the displayed color. Set with the KDE Color Dialog

- Font values for e.g. labels. Be careful to set Font values other than the default because this may prevent KDE from updating the font. Set with the KDE Font Dialog

- File names for e.g. background pixmaps. Do not use gif images here as these may get unsupported by further Qt versions > 1.42

Prev | Home | Next
Constructing a new Dialog | Up | Integrating the Dialog