libkonq
#include <konq_statusbarmessagelabel.h>

Public Types | |
| enum | Type { Default, OperationCompleted, Information, Error } |
Public Member Functions | |
| KonqStatusBarMessageLabel (QWidget *parent) | |
| virtual | ~KonqStatusBarMessageLabel () |
| QString | defaultText () const |
| virtual QSize | minimumSizeHint () const |
| int | minimumTextHeight () const |
| void | setDefaultText (const QString &text) |
| void | setMessage (const QString &text, Type type) |
| void | setMinimumTextHeight (int min) |
| virtual QSize | sizeHint () const |
| QString | text () const |
| Type | type () const |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *event) |
| virtual void | resizeEvent (QResizeEvent *event) |
Detailed Description
Represents a message text label as part of the status bar.
Dependent from the given type automatically a corresponding icon is shown in front of the text. For message texts having the type KonqStatusBarMessageLabel::Error a dynamic color blending is done to get the attention from the user.
Definition at line 38 of file konq_statusbarmessagelabel.h.
Member Enumeration Documentation
Describes the type of the message text.
Dependent from the type a corresponding icon and color is used for the message text.
| Enumerator | |
|---|---|
| Default | |
| OperationCompleted | |
| Information | |
| Error | |
Definition at line 51 of file konq_statusbarmessagelabel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 68 of file konq_statusbarmessagelabel.cpp.
|
virtual |
Definition at line 87 of file konq_statusbarmessagelabel.cpp.
Member Function Documentation
| QString KonqStatusBarMessageLabel::defaultText | ( | ) | const |
Definition at line 183 of file konq_statusbarmessagelabel.cpp.
|
virtual |
- See also
- QWidget::minimumSizeHint
Definition at line 395 of file konq_statusbarmessagelabel.cpp.
| int KonqStatusBarMessageLabel::minimumTextHeight | ( | ) | const |
Definition at line 199 of file konq_statusbarmessagelabel.cpp.
|
protectedvirtual |
- See also
- QWidget::paintEvent()
Definition at line 204 of file konq_statusbarmessagelabel.cpp.
|
protectedvirtual |
- See also
- QWidget::resizeEvent()
Definition at line 256 of file konq_statusbarmessagelabel.cpp.
| void KonqStatusBarMessageLabel::setDefaultText | ( | const QString & | text | ) |
Definition at line 178 of file konq_statusbarmessagelabel.cpp.
| void KonqStatusBarMessageLabel::setMessage | ( | const QString & | text, |
| Type | type | ||
| ) |
Definition at line 92 of file konq_statusbarmessagelabel.cpp.
| void KonqStatusBarMessageLabel::setMinimumTextHeight | ( | int | min | ) |
Definition at line 188 of file konq_statusbarmessagelabel.cpp.
|
virtual |
- See also
- QWidget::sizeHint
Definition at line 390 of file konq_statusbarmessagelabel.cpp.
| QString KonqStatusBarMessageLabel::text | ( | ) | const |
Definition at line 173 of file konq_statusbarmessagelabel.cpp.
| KonqStatusBarMessageLabel::Type KonqStatusBarMessageLabel::type | ( | ) | const |
Definition at line 168 of file konq_statusbarmessagelabel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference