|
ACF $AcfVersion:0$
|
Defines set of standard pens, brushes and simple management of unions. More...
#include <IColorSchema.h>
Public Types | |
| enum | StandardPen { SP_NORMAL , SP_SELECTED , SP_SELECTED_TICKER , SP_TICKER , SP_IMPORTANT , SP_ORIENT_DARK , SP_ORIENT_BRIGHT , SP_NORMAL_DASH , SP_SELECTED_DASH , SP_GUIDELINE1 , SP_GUIDELINE2 , SP_GUIDELINE3 , SP_BLACK , SP_WHITE , SP_RED , SP_GREEN , SP_BLUE , SP_CYAN , SP_YELLOW , SP_MAGENTA , SP_CORALL , SP_ORANGE , SP_PINK , SP_LAST = SP_PINK } |
| enum | StandardBrush { SB_NORMAL , SB_SELECTED , SB_TICKER , SB_SELECTED_TICKER , SB_IMPORTANT , SB_BACKGROUND , SB_TRANSPARENT , SB_LAST = SB_TRANSPARENT } |
| enum | StandardFont { SF_NORMAL = 0 , SF_LAST = SF_NORMAL } |
| enum | TickerType { TT_SMALL , TT_INACTIVE_SMALL , TT_SELECTED_INACTIVE_SMALL , TT_NORMAL , TT_INACTIVE , TT_SELECTED_INACTIVE , TT_MOVE , TT_MOVE_CENTER , TT_INSERT , TT_DELETE , TT_ROTATE , TT_SKEW , TT_CHECKBOX_ON , TT_CHECKBOX_OFF , TT_LAST = TT_CHECKBOX_OFF } |
| Defines a type of ticker. More... | |
Public Member Functions | |
| virtual void | Assign (const IColorSchema &colorSchema)=0 |
| virtual const QPen & | GetPen (StandardPen penType) const =0 |
| virtual void | SetPen (StandardPen penType, const QPen &pen)=0 |
| virtual const QBrush & | GetBrush (StandardBrush brushType) const =0 |
| virtual void | SetBrush (StandardBrush brushType, const QBrush &brush)=0 |
| virtual const QFont & | GetFont (StandardFont fontType) const =0 |
| virtual void | SetFont (StandardFont fontType, const QFont &font)=0 |
| virtual void | DrawTicker (QPainter &drawContext, istd::CIndex2d point, TickerType tickerType) const =0 |
| Draw a ticker. | |
| virtual const i2d::CRect & | GetTickerBox (TickerType tickerType) const =0 |
| Get bounding box of ticker in position (0, 0). | |
| virtual int | GetLogicalLineWidth () const =0 |
| Return width of line. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Defines set of standard pens, brushes and simple management of unions.
Definition at line 28 of file IColorSchema.h.
| Enumerator | |
|---|---|
| SB_NORMAL | |
| SB_SELECTED | |
| SB_TICKER | |
| SB_SELECTED_TICKER | |
| SB_IMPORTANT | |
| SB_BACKGROUND | |
| SB_TRANSPARENT | |
| SB_LAST | |
Definition at line 59 of file IColorSchema.h.
| Enumerator | |
|---|---|
| SF_NORMAL | |
| SF_LAST | |
Definition at line 71 of file IColorSchema.h.
Definition at line 31 of file IColorSchema.h.
Defines a type of ticker.
Definition at line 79 of file IColorSchema.h.
|
pure virtual |
Implemented in iview::CColorSchemaBase.
|
pure virtual |
Draw a ticker.
Implemented in iview::CColorSchemaBase.
|
pure virtual |
Implemented in iview::CColorSchema.
|
pure virtual |
Implemented in iview::CColorSchema.
|
pure virtual |
Return width of line.
This value is used to check, if user touched a line. It doesn't depend on screen transform.
Implemented in iview::CColorSchemaBase.
|
pure virtual |
Implemented in iview::CColorSchema.
|
pure virtual |
Get bounding box of ticker in position (0, 0).
Implemented in iview::CColorSchemaBase.
|
pure virtual |
Implemented in iview::CColorSchema.
|
pure virtual |
Implemented in iview::CColorSchema.
|
pure virtual |
Implemented in iview::CColorSchema.