#include <kpopupmenu.h>
Public Slots | |
| void | setText (const QString &text) |
| |
| void | setIcon (const QPixmap &pix) |
| |
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 () const |
| QPixmap | icon () const |
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.
Definition at line 37 of file kpopupmenu.h.
|
||||||||||||
|
Constructs a title widget with the user specified gradient, pixmap, and colors. |
|
||||||||||||||||||||||||
|
Constructs a title widget with the specified gradient and colors. |
|
||||||||||||||||||||||||
|
Constructs a title widget with the specified pixmap and colors. |
|
|
Returns the current icon. Definition at line 72 of file kpopupmenu.h. |
|
||||||||||||
|
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. Definition at line 68 of file kpopupmenu.h. |
1.2.18