#include <NotifierWindowBorder.h>
NotifierWindowBorder::~NotifierWindowBorder |
( |
| ) |
|
|
default |
int NotifierWindowBorder::baseLine |
( |
| ) |
const |
|
inline |
QRect NotifierWindowBorder::bodyRect |
( |
| ) |
const |
|
inline |
QRect NotifierWindowBorder::captionRect |
( |
| ) |
const |
|
inline |
QRect NotifierWindowBorder::closeRect |
( |
| ) |
const |
|
inline |
void NotifierWindowBorder::draw |
( |
QPainter * |
p, |
|
|
bool |
b = false |
|
) |
| |
References m_bodyRect, m_captionRect, m_closeIconRect, m_eIconState, m_pixCaptionBKG, m_pixCaptionDX, m_pixCaptionSX, m_pixDWN, m_pixDWNDX, m_pixDWNSX, m_pixDX, m_pixIconClose, m_pixSX, setCloseIcon(), and setPics().
Referenced by NotifierWindow::paintEvent().
int NotifierWindowBorder::height |
( |
| ) |
const |
|
inline |
void NotifierWindowBorder::loadImages |
( |
| ) |
|
|
private |
References g_pIconManager, KviIconManager::getPixmap(), m_captionRect, m_pixCaptionBKG, m_pixCaptionBKG_HL, m_pixCaptionBKG_N, m_pixCaptionDX, m_pixCaptionDX_HL, m_pixCaptionDX_N, m_pixCaptionSX, m_pixCaptionSX_HL, m_pixCaptionSX_N, m_pixDWN_HL, m_pixDWN_N, m_pixDWNDX_HL, m_pixDWNDX_N, m_pixDWNSX_HL, m_pixDWNSX_N, m_pixDX_HL, m_pixDX_N, m_pixIconClose_clicked_HL, m_pixIconClose_clicked_N, m_pixIconClose_out_HL, m_pixIconClose_out_N, m_pixIconClose_over_HL, m_pixIconClose_over_N, m_pixSX_HL, m_pixSX_N, p, setCloseIcon(), setPics(), and WDG_ICON_OUT.
Referenced by NotifierWindowBorder().
void NotifierWindowBorder::recalculatePositions |
( |
| ) |
|
|
private |
References m_bodyRect, m_captionRect, m_closeIconRect, m_iRctHeight, m_iRctWidth, m_pixCaptionDX, m_pixCaptionSX, m_pixDWN, m_pixIconClose, m_rct, and m_titleRect.
Referenced by setHeight(), and setWidth().
QRect NotifierWindowBorder::rect |
( |
| ) |
const |
|
inline |
void NotifierWindowBorder::resetIcons |
( |
| ) |
|
void NotifierWindowBorder::resize |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
|
inline |
void NotifierWindowBorder::resize |
( |
QSize |
r | ) |
|
|
inline |
void NotifierWindowBorder::setCloseIcon |
( |
int |
state | ) |
|
References m_eIconState, m_pixIconClose, m_pixIconClose_clicked, m_pixIconClose_out, m_pixIconClose_over, WDG_ICON_CLICKED, WDG_ICON_OUT, and WDG_ICON_OVER.
Referenced by draw(), loadImages(), NotifierWindow::mouseMoveEvent(), NotifierWindow::mousePressEvent(), and resetIcons().
void NotifierWindowBorder::setGeometry |
( |
QRect |
r | ) |
|
|
inline |
void NotifierWindowBorder::setGeometry |
( |
QPoint |
p, |
|
|
QSize |
s |
|
) |
| |
|
inline |
void NotifierWindowBorder::setHeight |
( |
int |
h | ) |
|
void NotifierWindowBorder::setPics |
( |
bool |
b = false | ) |
|
References m_pixCaptionBKG, m_pixCaptionBKG_HL, m_pixCaptionBKG_N, m_pixCaptionDX, m_pixCaptionDX_HL, m_pixCaptionDX_N, m_pixCaptionSX, m_pixCaptionSX_HL, m_pixCaptionSX_N, m_pixDWN, m_pixDWN_HL, m_pixDWN_N, m_pixDWNDX, m_pixDWNDX_HL, m_pixDWNDX_N, m_pixDWNSX, m_pixDWNSX_HL, m_pixDWNSX_N, m_pixDX, m_pixDX_HL, m_pixDX_N, m_pixIconClose_clicked, m_pixIconClose_clicked_HL, m_pixIconClose_clicked_N, m_pixIconClose_out, m_pixIconClose_out_HL, m_pixIconClose_out_N, m_pixIconClose_over, m_pixIconClose_over_HL, m_pixIconClose_over_N, m_pixSX, m_pixSX_HL, and m_pixSX_N.
Referenced by draw(), and loadImages().
void NotifierWindowBorder::setPoint |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
void NotifierWindowBorder::setWidth |
( |
int |
w | ) |
|
QRect NotifierWindowBorder::titleRect |
( |
| ) |
const |
|
inline |
int NotifierWindowBorder::width |
( |
| ) |
const |
|
inline |
int NotifierWindowBorder::x |
( |
| ) |
const |
|
inline |
int NotifierWindowBorder::y |
( |
| ) |
const |
|
inline |
QRect NotifierWindowBorder::m_bodyRect |
|
private |
QRect NotifierWindowBorder::m_captionRect |
|
private |
QRect NotifierWindowBorder::m_closeIconRect |
|
private |
int NotifierWindowBorder::m_eIconState |
|
private |
int NotifierWindowBorder::m_iRctHeight |
|
private |
int NotifierWindowBorder::m_iRctWidth |
|
private |
QPixmap* NotifierWindowBorder::m_pixCaptionBKG |
|
private |
QPixmap NotifierWindowBorder::m_pixCaptionBKG_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixCaptionBKG_N |
|
private |
QPixmap* NotifierWindowBorder::m_pixCaptionDX |
|
private |
QPixmap NotifierWindowBorder::m_pixCaptionDX_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixCaptionDX_N |
|
private |
QPixmap* NotifierWindowBorder::m_pixCaptionSX |
|
private |
QPixmap NotifierWindowBorder::m_pixCaptionSX_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixCaptionSX_N |
|
private |
QPixmap* NotifierWindowBorder::m_pixDWN |
|
private |
QPixmap NotifierWindowBorder::m_pixDWN_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixDWN_N |
|
private |
QPixmap* NotifierWindowBorder::m_pixDWNDX |
|
private |
QPixmap NotifierWindowBorder::m_pixDWNDX_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixDWNDX_N |
|
private |
QPixmap* NotifierWindowBorder::m_pixDWNSX |
|
private |
QPixmap NotifierWindowBorder::m_pixDWNSX_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixDWNSX_N |
|
private |
QPixmap* NotifierWindowBorder::m_pixDX |
|
private |
QPixmap NotifierWindowBorder::m_pixDX_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixDX_N |
|
private |
QPixmap* NotifierWindowBorder::m_pixIconClose |
|
private |
QPixmap* NotifierWindowBorder::m_pixIconClose_clicked |
|
private |
QPixmap NotifierWindowBorder::m_pixIconClose_clicked_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixIconClose_clicked_N |
|
private |
QPixmap* NotifierWindowBorder::m_pixIconClose_out |
|
private |
QPixmap NotifierWindowBorder::m_pixIconClose_out_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixIconClose_out_N |
|
private |
QPixmap* NotifierWindowBorder::m_pixIconClose_over |
|
private |
QPixmap NotifierWindowBorder::m_pixIconClose_over_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixIconClose_over_N |
|
private |
QPixmap* NotifierWindowBorder::m_pixSX |
|
private |
QPixmap NotifierWindowBorder::m_pixSX_HL |
|
private |
QPixmap NotifierWindowBorder::m_pixSX_N |
|
private |
QPoint NotifierWindowBorder::m_pnt |
|
private |
QRect NotifierWindowBorder::m_rct |
|
private |
QRect NotifierWindowBorder::m_titleRect |
|
private |
The documentation for this class was generated from the following files: