#include <QLookAndFeel.h>
Collaboration diagram for QLookAndFeel:

Public Methods | |
| void | drawBevel (float x, float y, float w, float h, QBevelState state) |
| draws bevel from x,y-x+w,y+h. State : up,down,disabled | |
| void | drawRect (float x, float y, float w, float h) |
| draws bevel from x,y-x+w,y+h. State : up,down,disabled | |
| void | drawTexture (unsigned int texID, int width, int height) |
| draws given texture with given size | |
| void | drawCheckBox (bool checked) |
| draws checkbox texture | |
| void | drawRadioButton (bool checked) |
| draws radio button texture | |
| void | drawCloseButton (bool down, int width, int height) |
| draws close button texture | |
| void | drawMaximizeButton (bool down, int width, int height) |
| draws maximize button texture | |
| virtual void | Init () |
| initialization code | |
| virtual void | CleanUp () |
| clean up code | |
| QColor * | getBackGroundColor () |
| getter method for BackGroundColor | |
| QColor * | getDisabledColor () |
| getter method for DisabledColor | |
| QColor * | getBevelRaisedColor () |
| getter method for BevelRaisedColor | |
| QColor * | getBevelLoweredColor () |
| getter method for BevelLoweredColor | |
| QColor * | getBevelDisabledColor () |
| getter method for BevelDisabledColor | |
| QColor * | getHighlightColor () |
| getter method for HighlightColor | |
| QFont * | getFont () |
| getter method for Font | |
| void | print () |
| prints itself to the cout | |
| QLookAndFeel () | |
| Constructor. | |
| virtual | ~QLookAndFeel () |
| Destructor. | |
| void | drawBevel (float x, float y, float w, float h, QBevelState state) |
| draws bevel from x,y-x+w,y+h. State : up,down,disabled | |
| void | drawRect (float x, float y, float w, float h) |
| draws bevel from x,y-x+w,y+h. State : up,down,disabled | |
| void | drawTexture (unsigned int texID, int width, int height) |
| draws given texture with given size | |
| void | drawCheckBox (bool checked) |
| draws checkbox texture | |
| void | drawRadioButton (bool checked) |
| draws radio button texture | |
| void | drawCloseButton (bool down, int width, int height) |
| draws close button texture | |
| void | drawMaximizeButton (bool down, int width, int height) |
| draws maximize button texture | |
| virtual void | Init () |
| initialization code | |
| virtual void | CleanUp () |
| clean up code | |
| QColor * | getBackGroundColor () |
| getter method for BackGroundColor | |
| QColor * | getDisabledColor () |
| getter method for DisabledColor | |
| QColor * | getBevelRaisedColor () |
| getter method for BevelRaisedColor | |
| QColor * | getBevelLoweredColor () |
| getter method for BevelLoweredColor | |
| QColor * | getBevelDisabledColor () |
| getter method for BevelDisabledColor | |
| QColor * | getHighlightColor () |
| getter method for HighlightColor | |
| QFont * | getFont () |
| getter method for Font | |
| void | print () |
| prints itself to the cout | |
| QLookAndFeel () | |
| Constructor. | |
| virtual | ~QLookAndFeel () |
| Destructor. | |
Protected Attributes | |
| QColor * | BackGroundColor |
| back ground color | |
| QColor * | DisabledColor |
| color of control if it is disabled | |
| QColor * | BevelRaisedColor |
| color of the raised side of a bevel | |
| QColor * | BevelLoweredColor |
| color of the lowered side of a bevel | |
| QColor * | BevelDisabledColor |
| color of the side of a disabled bevel | |
| QColor * | HighlightColor |
| highlighted color | |
| QFont * | Font |
| reference font | |
| QColor * | BackGroundColor |
| back ground color | |
| QColor * | DisabledColor |
| color of control if it is disabled | |
| QColor * | BevelRaisedColor |
| color of the raised side of a bevel | |
| QColor * | BevelLoweredColor |
| color of the lowered side of a bevel | |
| QColor * | BevelDisabledColor |
| color of the side of a disabled bevel | |
| QColor * | HighlightColor |
| highlighted color | |
| QFont * | Font |
| reference font | |
Private Attributes | |
| unsigned int | CheckBoxTexID |
| id for checkbox texture | |
| unsigned int | CheckBoxCheckedTexID |
| id for checkbox texture | |
| unsigned int | RadioButtonCheckedTexID |
| id for radio button checked texture | |
| unsigned int | RadioButtonTexID |
| id for radio button texture | |
| unsigned int | CloseButtonTexID |
| id for close button texture | |
| unsigned int | CloseButtonDownTexID |
| id for close button down texture | |
| unsigned int | MaximizeButtonTexID |
| id for maximize button texture | |
| unsigned int | MaximizeButtonDownTexID |
| id for maximize button down texture | |
| unsigned int | RestoreButtonTexID |
| id for restore button texture | |
| unsigned int | RestoreButtonDownTexID |
| id for restore button down texture | |
| unsigned int | MinimizeButtonTexID |
| id for miniimize button texture | |
| unsigned int | MinimizeButtonDownTexID |
| id for minimize button down texture | |
Definition at line 20 of file QLookAndFeel.h.
|
|
Constructor.
Definition at line 215 of file QLookAndFeel.cpp. |
|
|
Destructor.
Definition at line 242 of file QLookAndFeel.cpp. |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
clean up code
|
|
|
clean up code
Definition at line 149 of file QLookAndFeel.cpp. References CheckBoxCheckedTexID, CheckBoxTexID, CloseButtonDownTexID, CloseButtonTexID, MaximizeButtonDownTexID, MaximizeButtonTexID, RadioButtonCheckedTexID, and RadioButtonTexID. |
|
||||||||||||||||||||||||
|
draws bevel from x,y-x+w,y+h. State : up,down,disabled
|
|
||||||||||||||||||||||||
|
draws bevel from x,y-x+w,y+h. State : up,down,disabled
Definition at line 16 of file QLookAndFeel.cpp. References BevelDisabledColor, BevelLoweredColor, BevelRaisedColor, and QColor::setAsCurrent(). Referenced by QToolBar::draw(), QTextEdit::draw(), QCaptionButton::draw(), and QWindow::drawFrame(). |
|
|
draws checkbox texture
|
|
|
draws checkbox texture
Definition at line 84 of file QLookAndFeel.cpp. References BackGroundColor, CheckBoxCheckedTexID, CheckBoxTexID, drawTexture(), and QColor::setAsCurrent(). Referenced by QCheckBox::draw(). |
|
||||||||||||||||
|
draws close button texture
|
|
||||||||||||||||
|
draws close button texture
Definition at line 108 of file QLookAndFeel.cpp. References CloseButtonDownTexID, CloseButtonTexID, and drawTexture(). Referenced by QWindow::drawCloseButton(). |
|
||||||||||||||||
|
draws maximize button texture
|
|
||||||||||||||||
|
draws maximize button texture
Definition at line 117 of file QLookAndFeel.cpp. References drawTexture(), MaximizeButtonDownTexID, and MaximizeButtonTexID. Referenced by QWindow::drawMaximizeButton(). |
|
|
draws radio button texture
|
|
|
draws radio button texture
Definition at line 94 of file QLookAndFeel.cpp. References BackGroundColor, drawTexture(), RadioButtonCheckedTexID, RadioButtonTexID, and QColor::setAsCurrent(). Referenced by QRadioButton::draw(). |
|
||||||||||||||||||||
|
draws bevel from x,y-x+w,y+h. State : up,down,disabled
|
|
||||||||||||||||||||
|
draws bevel from x,y-x+w,y+h. State : up,down,disabled
Definition at line 56 of file QLookAndFeel.cpp. Referenced by QToolBar::draw(), QTextEdit::draw(), QScreen::draw(), QCaptionButton::draw(), QWindow::drawCoordInfos(), and QWindow::drawFrame(). |
|
||||||||||||||||
|
draws given texture with given size
|
|
||||||||||||||||
|
draws given texture with given size
Definition at line 65 of file QLookAndFeel.cpp. Referenced by drawCheckBox(), drawCloseButton(), drawMaximizeButton(), and drawRadioButton(). |
|
|
getter method for BackGroundColor
|
|
|
getter method for BackGroundColor
Definition at line 163 of file QLookAndFeel.cpp. References BackGroundColor. Referenced by QToolBar::draw(), QTextEdit::draw(), QCaptionButton::draw(), and QWindow::drawFrame(). |
|
|
getter method for BevelDisabledColor
|
|
|
getter method for BevelDisabledColor
Definition at line 187 of file QLookAndFeel.cpp. References BevelDisabledColor. |
|
|
getter method for BevelLoweredColor
|
|
|
getter method for BevelLoweredColor
Definition at line 181 of file QLookAndFeel.cpp. References BevelLoweredColor. |
|
|
getter method for BevelRaisedColor
|
|
|
getter method for BevelRaisedColor
Definition at line 175 of file QLookAndFeel.cpp. References BevelRaisedColor. |
|
|
getter method for DisabledColor
|
|
|
getter method for DisabledColor
Definition at line 169 of file QLookAndFeel.cpp. References DisabledColor. |
|
|
getter method for Font
|
|
|
getter method for Font
Definition at line 199 of file QLookAndFeel.cpp. References Font. Referenced by QTextEdit::Init(), QCheckBox::Init(), and QCaptionButton::Init(). |
|
|
getter method for HighlightColor
|
|
|
getter method for HighlightColor
Definition at line 193 of file QLookAndFeel.cpp. References HighlightColor. Referenced by QTextEdit::draw(), and QCaptionButton::draw(). |
|
|
initialization code
|
|
|
initialization code
Definition at line 126 of file QLookAndFeel.cpp. References BackGroundColor, BevelDisabledColor, BevelLoweredColor, BevelRaisedColor, CheckBoxCheckedTexID, CheckBoxTexID, CloseButtonDownTexID, CloseButtonTexID, createTexture(), DisabledColor, Font, QFont::getColor(), HighlightColor, MaximizeButtonDownTexID, MaximizeButtonTexID, RadioButtonCheckedTexID, RadioButtonTexID, QColor::set(), and QFont::setSize(). |
|
|
prints itself to the cout
|
|
|
prints itself to the cout
Definition at line 207 of file QLookAndFeel.cpp. |
|
|
back ground color
Definition at line 62 of file QLookAndFeel.h. |
|
|
back ground color
Definition at line 61 of file QLookAndFeel.h. Referenced by drawCheckBox(), drawRadioButton(), getBackGroundColor(), and Init(). |
|
|
color of the side of a disabled bevel
Definition at line 74 of file QLookAndFeel.h. |
|
|
color of the side of a disabled bevel
Definition at line 73 of file QLookAndFeel.h. Referenced by drawBevel(), getBevelDisabledColor(), and Init(). |
|
|
color of the lowered side of a bevel
Definition at line 71 of file QLookAndFeel.h. |
|
|
color of the lowered side of a bevel
Definition at line 70 of file QLookAndFeel.h. Referenced by drawBevel(), getBevelLoweredColor(), and Init(). |
|
|
color of the raised side of a bevel
Definition at line 68 of file QLookAndFeel.h. |
|
|
color of the raised side of a bevel
Definition at line 67 of file QLookAndFeel.h. Referenced by drawBevel(), getBevelRaisedColor(), and Init(). |
|
|
id for checkbox texture
Definition at line 28 of file QLookAndFeel.h. Referenced by CleanUp(), drawCheckBox(), and Init(). |
|
|
id for checkbox texture
Definition at line 25 of file QLookAndFeel.h. Referenced by CleanUp(), drawCheckBox(), and Init(). |
|
|
id for close button down texture
Definition at line 40 of file QLookAndFeel.h. Referenced by CleanUp(), drawCloseButton(), and Init(). |
|
|
id for close button texture
Definition at line 37 of file QLookAndFeel.h. Referenced by CleanUp(), drawCloseButton(), and Init(). |
|
|
color of control if it is disabled
Definition at line 65 of file QLookAndFeel.h. |
|
|
color of control if it is disabled
Definition at line 64 of file QLookAndFeel.h. Referenced by getDisabledColor(), and Init(). |
|
|
reference font
Definition at line 80 of file QLookAndFeel.h. |
|
|
reference font
Definition at line 79 of file QLookAndFeel.h. |
|
|
highlighted color
Definition at line 77 of file QLookAndFeel.h. |
|
|
highlighted color
Definition at line 76 of file QLookAndFeel.h. Referenced by getHighlightColor(), and Init(). |
|
|
id for maximize button down texture
Definition at line 46 of file QLookAndFeel.h. Referenced by CleanUp(), drawMaximizeButton(), and Init(). |
|
|
id for maximize button texture
Definition at line 43 of file QLookAndFeel.h. Referenced by CleanUp(), drawMaximizeButton(), and Init(). |
|
|
id for minimize button down texture
Definition at line 58 of file QLookAndFeel.h. |
|
|
id for miniimize button texture
Definition at line 55 of file QLookAndFeel.h. |
|
|
id for radio button checked texture
Definition at line 31 of file QLookAndFeel.h. Referenced by CleanUp(), drawRadioButton(), and Init(). |
|
|
id for radio button texture
Definition at line 34 of file QLookAndFeel.h. Referenced by CleanUp(), drawRadioButton(), and Init(). |
|
|
id for restore button down texture
Definition at line 52 of file QLookAndFeel.h. |
|
|
id for restore button texture
Definition at line 49 of file QLookAndFeel.h. |
1.2.18