3 #ifndef __zq_custom_scale_hpp
4 #define __zq_custom_scale_hpp
10 #include "zq_view.hpp"
11 #include "zq_scale.hpp"
12 #include "zd_coord_obj_stream.hpp"
81 virtual void redraw (QPainter& paint);
98 virtual double coord ();
102 void*
custom (
int ens_index=0, ZqbType* pRetType=NULL);
108 static int s_iNameCounter;
109 static const char *s_szOwnType;
134 static int s_iNameCounter;
virtual void attachStream(ZdCoordObjStream *pStream)
virtual QString prepareLabel(ZdCoordObjStream *ipStream)
virtual int ensembleLength()
ZdCoordObjStream * m_pStream
Definition: zq_custom_scale.hpp:117
int m_CustomCoordId
Definition: zq_custom_scale.hpp:123
virtual void adjustSizeLimits(QPainter &paint)
Definition: zqb_natgroup.hpp:35
Definition: zqb_placeholder.hpp:25
void draw_scale(QPainter &paint, ZdCoordObjStream *ipStream)
virtual double averageCoordStep()
Definition: zd_coord_obj_stream.hpp:15
virtual bool goFirstCoord()
ZqCustomScale(ZqbNatGroup &rNatAxis, const char *szName=NULL)
Definition: zq_custom_scale.hpp:22
void redefineCustomCoord(int coordId)
virtual int maxEnsembleLength()
virtual ZdCoordObjStream * stream()
virtual bool goNextCoord()
Definition: zd_document.hpp:16
virtual void redraw()
Definition: zqb_visible.hpp:82
Definition: zq_custom_scale.hpp:83
void setDefaultCustomCoord()
void * custom(int ens_index=0, ZqbType *pRetType=NULL)
bool m_bDefaultCustomCoord
Definition: zq_custom_scale.hpp:120
virtual bool compatibleDoc(const ZdDocument *pDoc) const
virtual bool getCoordRange(double c[2])
int getRedefinedCustomCoord()
Definition: zq_custom_scale.hpp:65
Definition: zq_scale.hpp:22