UIBarType Class Reference
#include <uitypes.h>
List of all members.
Detailed Description
Definition at line 161 of file uitypes.h.
|
Public Member Functions |
| | UIBarType (const QString &name, QString, int, QRect) |
| | ~UIBarType () |
| void | SetIcon (int, QPixmap) |
| void | SetText (int, QString) |
| void | SetIcon (int, QString) |
| void | Draw (QPainter *, int, int) |
| void | SetJustification (int jst) |
| void | SetSize (int size) |
| int | GetNums (void) |
| void | SetScreen (double w, double h) |
| void | SetFont (fontProp *font) |
| void | SetOrientation (int ori) |
| void | SetTextOffset (QPoint to) |
| void | SetIconOffset (QPoint ic) |
| void | SetIconSize (QPoint is) |
| void | ResetImage (int loc) |
| int | GetSize () |
Private Member Functions |
| void | LoadImage (int loc=-1, QString dat="") |
Private Attributes |
| QRect | m_displaysize |
| QPoint | m_iconsize |
| QPoint | m_textoffset |
| QPoint | m_iconoffset |
| int | m_justification |
| int | m_orientation |
| int | m_size |
| fontProp * | m_font |
| QString | m_filename |
| QPixmap | m_image |
| QMap< int, QString > | textData |
| QMap< int, QPixmap > | iconData |
Constructor & Destructor Documentation
| UIBarType::UIBarType |
( |
const QString & |
name, |
|
|
QString |
imgfile, |
|
|
int |
dorder, |
|
|
QRect |
displayrect | |
|
) |
| | |
| UIBarType::~UIBarType |
( |
|
) |
|
Member Function Documentation
| void UIBarType::SetIcon |
( |
int |
num, |
|
|
QPixmap |
myIcon | |
|
) |
| | |
| void UIBarType::SetText |
( |
int |
num, |
|
|
QString |
myText | |
|
) |
| | |
| void UIBarType::SetIcon |
( |
int |
num, |
|
|
QString |
myIcon | |
|
) |
| | |
| void UIBarType::Draw |
( |
QPainter * |
dr, |
|
|
int |
drawlayer, |
|
|
int |
context | |
|
) |
| | [virtual] |
| void UIBarType::SetJustification |
( |
int |
jst |
) |
[inline] |
| void UIBarType::SetSize |
( |
int |
size |
) |
[inline] |
| int UIBarType::GetNums |
( |
void |
|
) |
[inline] |
| void UIBarType::SetScreen |
( |
double |
w, |
|
|
double |
h | |
|
) |
| | [inline] |
| void UIBarType::SetFont |
( |
fontProp * |
font |
) |
[inline] |
| void UIBarType::SetOrientation |
( |
int |
ori |
) |
[inline] |
| void UIBarType::SetTextOffset |
( |
QPoint |
to |
) |
[inline] |
| void UIBarType::SetIconOffset |
( |
QPoint |
ic |
) |
[inline] |
| void UIBarType::SetIconSize |
( |
QPoint |
is |
) |
[inline] |
| void UIBarType::ResetImage |
( |
int |
loc |
) |
[inline] |
| int UIBarType::GetSize |
( |
|
) |
[inline] |
| void UIBarType::LoadImage |
( |
int |
loc = -1, |
|
|
QString |
dat = "" | |
|
) |
| | [private] |
Member Data Documentation
The documentation for this class was generated from the following files: