class KTitleWidget |
|
|
Standard title widget with a white background and round border. This class provides a widget often used for dialog titles. Usage KTitleWidget is very simple to use. You can either use its default text (and pixmap) properties or display your own widgets in the title widget. A title text with a left aligned pixmap: titleWidget = new KTitleWidget(this); titleWidget->setText(i18n("Title")); titleWidget->setPixmap(KIcon("screen").pixmap(22, 22), KTitleWidget.ImageLeft); Use it with a own widget: checkboxTitleWidget = new KTitleWidget(this);
See also KPageView
Author Urs Wolfer \ |
|
Constructs a progress bar with the given parent. - |
|
|
Get the current timeout value in milliseconds Returns timeout value in msecs |
|
Returns the text displayed in the comment below the title, if any See also setComment() |
|
|
Returns the pixmap displayed in the title See also setPixmap() |
|
Set the autohide timeout of the label Set value to 0 to disable autohide, which is the default. msecs - timeout value in milliseconds |
|
Sets this label's buddy to buddy. When the user presses the shortcut key indicated by the label in this title widget, the keyboard focus is transferred to the label's buddy widget. buddy - the widget to activate when the shortcut key is activated |
|
comment - Text displayed beneath the main title as a comment. It can either be plain text or rich text. type - The sort of message it is. See also MessageType See also comment() |
|
pixmap - Pixmap displayed in the header. The pixmap is by default right, but alignment - can be used to display it also left. See also pixmap() |
|
icon - name of the icon to display in the header. The pixmap is by default right, but alignment - can be used to display it also left. See also pixmap() |
|
pixmap - the icon to display in the header. The pixmap is by default right, but alignment - can be used to display it also left. See also pixmap() |
|
pixmap - the icon to display in the header. The pixmap is by default right, but alignment - can be used to display it also left. See also pixmap() |
|
text - Text displayed on the label. It can either be plain text or rich text. If it is plain text, the text is displayed as a bold title text. alignment - Alignment of the text. Default is left and vertical centered. See also text() |
|
text - Text displayed on the label. It can either be plain text or rich text. If it is plain text, the text is displayed as a bold title text. type - The sort of message it is; will also set the icon accordingly See also MessageType See also text() |
|
widget - Widget displayed on the title widget. |
|
|
Returns the text displayed in the title See also setText() |
ImageLeft | - | ImageLeft, < Display the pixmap on the left | |
ImageRight | - | ImageRight < Display the pixmap on the right |
PlainMessage | - | PlainMessage, < Normal comment | |
InfoMessage | - | InfoMessage, < Information the user should be alerted to | |
WarningMessage | - | WarningMessage, < A warning the user should be alerted to | |
ErrorMessage | - | ErrorMessage < An error message |