1 #ifndef uigraphicsscalebar_h 2 #define uigraphicsscalebar_h 15 #include "uitoolsmod.h" 34 inline float getLength()
const {
return worldwidth_; }
37 inline void setLength(
float len) { worldwidth_ = len; }
39 preferablepxwidth_ = pxw; }
63 void initDefaultScale();
65 void setPolygons(
int,
int);
Class to provide coordinate conversion between a cartesian coordinate system (or any other transforme...
Definition: uiworld2ui.h:55
#define mExpClass(module)
Definition: commondefs.h:160
int preferablepxwidth_
Definition: uigraphicsscalebar.h:67
It adds a graphic scale made from polygons.
Definition: uigraphicsscalebar.h:27
void setLength(float len)
Definition: uigraphicsscalebar.h:37
void setPxHeight(int pxh)
Definition: uigraphicsscalebar.h:36
uiWorld2Ui w2ui_
Definition: uigraphicsscalebar.h:66
uiRectItem * upperleft_
Definition: uigraphicsscalebar.h:54
Definition: uigraphicsitemimpl.h:303
Definition: uistring.h:89
Holds survey general information.
Definition: survinfo.h:45
int getPxHeight() const
Definition: uigraphicsscalebar.h:33
int getPxWidth() const
Definition: uigraphicsscalebar.h:35
uiAdvancedTextItem * midnr_
Definition: uigraphicsscalebar.h:59
uiString unitstr_
Definition: uigraphicsscalebar.h:50
void setUnit(const uiString &unit)
Definition: uigraphicsscalebar.h:40
uiAdvancedTextItem * startnr_
Definition: uigraphicsscalebar.h:58
uiRectItem * lowerright_
Definition: uigraphicsscalebar.h:55
Definition: uigraphicsitemimpl.h:255
void setPxWidth(int pxw)
Definition: uigraphicsscalebar.h:38
uiRectItem * uppermid_
Definition: uigraphicsscalebar.h:53
uiAdvancedTextItem * stopnr_
Definition: uigraphicsscalebar.h:60
int pxheight_
Definition: uigraphicsscalebar.h:49
uiRectItem * lowerleft_
Definition: uigraphicsscalebar.h:57
int pxwidth_
Definition: uigraphicsscalebar.h:48
float worldwidth_
Definition: uigraphicsscalebar.h:47
uiRectItem * upperright_
Definition: uigraphicsscalebar.h:52
float getLength() const
Definition: uigraphicsscalebar.h:34
uiRectItem * lowermid_
Definition: uigraphicsscalebar.h:56