class KPopupTitle
|
KPopupMenu title widget.
More... |
|
|
Public Methods
- KPopupTitle (QWidget *parent=0, const char *name=0)
- KPopupTitle (KPixmapEffect::GradientType gradient, const QColor &color, const QColor &textColor, QWidget *parent=0, const char *name=0)
- KPopupTitle (const KPixmap &background, const QColor &color, const QColor &textColor, QWidget *parent=0, const char *name=0)
- void setTitle (const QString &text, const QPixmap *icon=NULL)
- QString title ()
- QPixmap icon ()
- QSize sizeHint () const
- KPopupTitle (QWidget *parent=0, const char *name=0)
- KPopupTitle (KPixmapEffect::GradientType gradient, const QColor &color, const QColor &textColor, QWidget *parent=0, const char *name=0)
- KPopupTitle (const KPixmap &background, const QColor &color, const QColor &textColor, QWidget *parent=0, const char *name=0)
- void setTitle (const QString &text, const QPixmap *icon=NULL)
- QString title ()
- QPixmap icon ()
- QSize sizeHint () const
Protected Methods
Protected Members
Detailed Description
Title widget for use in KPopupMenu.
You usually don't have to create this manually since
KPopupMenu::insertTitle will do it for you, but it is allowed if
you wish to customize it's look.
KPopupTitle (QWidget *parent=0, const char *name=0)
|
Creates a title widget with the user specified gradient, pixmap,
and colors.
KPopupTitle (KPixmapEffect::GradientType gradient, const QColor &color, const QColor &textColor, QWidget *parent=0, const char *name=0)
|
Creates a title widget with the specified gradient and colors.
Creates a title widget with the specified pixmap and colors.
Sets the title string and optional icon for the title widget. You will
want to call this before inserting into a menu.
Returns the current title.
Returns the current icon.
[const]
void paintEvent (QPaintEvent *ev)
|
[protected]
KPixmapEffect::GradientType grType
|
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
KPopupTitle (QWidget *parent=0, const char *name=0)
|
Create a title widget with the user specified gradient, pixmap,
and colors.
KPopupTitle (KPixmapEffect::GradientType gradient, const QColor &color, const QColor &textColor, QWidget *parent=0, const char *name=0)
|
Create a title widget with the specified gradient and colors.
Create a title widget with the specified pixmap and colors.
Set the title string and optional icon for the title widget.
You will
want to call this before inserting into a menu.
Retrieve the current title.
Retrieve the current icon.
[const]
void paintEvent (QPaintEvent *ev)
|
[protected]
KPixmapEffect::GradientType grType
|
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
- Author: Daniel M. Duley <mosfet@kde.org>
- Generated: baudens@ke.mandrakesoft.com on Thu Oct 26 17:36:26 2000, using kdoc 2.0a40.