|
ACF $AcfVersion:0$
|
#include <CColorSchemaBase.h>
Public Types | |
| enum | { TICKER_SIZE = 4 , SMALL_TICKER_SIZE = 2 , LOGICAL_LINE_WIDTH = 4 } |
Public Types inherited from iview::IColorSchema | |
| 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) override |
| virtual void | DrawTicker (QPainter &drawContext, istd::CIndex2d point, IColorSchema::TickerType tickerType) const override |
| Draw a ticker. | |
| virtual const i2d::CRect & | GetTickerBox (IColorSchema::TickerType tickerType) const override |
| Get bounding box of ticker in position (0, 0). | |
| virtual int | GetLogicalLineWidth () const override |
| Return width of line. | |
Public Member Functions inherited from iview::IColorSchema | |
| 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 |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Static Protected Attributes | |
| static i2d::CRect | s_tickerDrawBoxes [(int) TT_LAST+(int) 1] |
| static i2d::CRect | s_tickerBoundingBoxes [(int) TT_LAST+(int) 1] |
Definition at line 17 of file CColorSchemaBase.h.
| anonymous enum |
| Enumerator | |
|---|---|
| TICKER_SIZE | |
| SMALL_TICKER_SIZE | |
| LOGICAL_LINE_WIDTH | |
Definition at line 20 of file CColorSchemaBase.h.
|
overridevirtual |
Implements iview::IColorSchema.
|
overridevirtual |
Draw a ticker.
Implements iview::IColorSchema.
|
inlineoverridevirtual |
Return width of line.
This value is used to check, if user touched a line. It doesn't depend on screen transform.
Implements iview::IColorSchema.
Definition at line 44 of file CColorSchemaBase.h.
References LOGICAL_LINE_WIDTH.
|
overridevirtual |
Get bounding box of ticker in position (0, 0).
Implements iview::IColorSchema.
|
staticprotected |
Definition at line 36 of file CColorSchemaBase.h.
|
staticprotected |
Definition at line 35 of file CColorSchemaBase.h.