Das KDevelop-Programmierhandbuch: Leitfaden zur C++-Anwendungsentwicklung für das K Desktop Environment (KDE) mit Hilfe der KDevelop-IDE in der Version 1.2
Zurück | Kapitel 6. The Dialogeditor: Where your Dialogs are Build | Vor

# 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

Zurück | Anfang | Vor
Constructing a new Dialog | Hoch | Integrating the Dialog