#include </home/clem/local/src/opie/libopie2/opieui/opopupmenu.h>
Collaboration diagram for Opie::Ui::OPopupTitle:

Public Slots | |
| void | setText (const QString &text) |
| void | setIcon (const QPixmap &pix) |
Public Member Functions | |
| OPopupTitle (QWidget *parent=0, const char *name=0) | |
| OPopupTitle (OPixmapEffect::GradientType gradient, const QColor &color, const QColor &textColor, QWidget *parent=0, const char *name=0) | |
| OPopupTitle (const OPixmap &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 |
| QSize | sizeHint () const |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *ev) |
| virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
| QString | titleStr |
| QPixmap | miniicon |
| OPixmapEffect::GradientType | grType |
| QPixmap | fill |
| QColor | fgColor |
| QColor | bgColor |
| QColor | grHigh |
| QColor | grLow |
| bool | useGradient |
Private Attributes | |
| OPopupTitlePrivate * | d |
Title widget for use in OPopupMenu.
You usually don't have to create this manually since OPopupMenu::insertTitle will do it for you, but it is allowed if you wish to customize it's look.
Definition at line 46 of file opopupmenu.h.
|
||||||||||||
|
Constructs a title widget with the user specified gradient, pixmap, and colors. Definition at line 33 of file opopupmenu.cpp. References height. |
|
||||||||||||||||||||||||
|
Definition at line 39 of file opopupmenu.cpp. References height. |
|
||||||||||||||||||||||||
|
Definition at line 47 of file opopupmenu.cpp. References height. |
|
|
Returns the current icon. Definition at line 83 of file opopupmenu.h. References miniicon. |
|
|
Definition at line 84 of file opopupmenu.cpp. References active, f, height, QString::isNull(), miniicon, p, qApp, text, titleStr, and width. |
|
|
Definition at line 76 of file opopupmenu.cpp. |
|
|
Definition at line 68 of file opopupmenu.cpp. |
|
||||||||||||
|
Sets the title string and optional icon for the title widget. You will want to call this before inserting into a menu. Definition at line 55 of file opopupmenu.cpp. References height, miniicon, and titleStr. Referenced by OPopupMenu::insertTitle(), and OPopupMenu::setTitle(). |
|
|
Definition at line 120 of file opopupmenu.cpp. |
|
|
Returns the current title. Definition at line 79 of file opopupmenu.h. References titleStr. |
|
||||||||||||
|
Definition at line 595 of file opopupmenu.cpp. |
|
|
Definition at line 102 of file opopupmenu.h. |
|
|
Definition at line 108 of file opopupmenu.h. |
|
|
Definition at line 102 of file opopupmenu.h. |
|
|
Definition at line 101 of file opopupmenu.h. |
|
|
Definition at line 102 of file opopupmenu.h. |
|
|
Definition at line 102 of file opopupmenu.h. |
|
|
Definition at line 100 of file opopupmenu.h. |
|
|
Definition at line 97 of file opopupmenu.h. Referenced by icon(), paintEvent(), setIcon(), setText(), and setTitle(). |
|
|
Definition at line 96 of file opopupmenu.h. Referenced by paintEvent(), setIcon(), setText(), setTitle(), and title(). |
|
|
Definition at line 103 of file opopupmenu.h. |
1.4.2