12 #ifndef TMDISPLAYOPTIONS_H
13 #define TMDISPLAYOPTIONS_H
15 #include <QtCore/QObject>
22 #include <QtGui/QColor>
55 virtual bool overlayTabLocation()
const;
56 virtual void setOverlayTabLocation(
bool);
58 virtual bool displayDeleteObjectsDialog()
const;
59 virtual void setDisplayDeleteObjectsDialog(
bool);
61 virtual bool displayWatermark()
const;
65 virtual int displayFrameRate()
const;
68 virtual int displayFrameRateAsSet()
const;
70 virtual int maxDisplayFrameRate()
const;
71 virtual void setMaxDisplayFrameRate(
int);
73 virtual int minDisplayFrameRate()
const;
74 virtual void setMinDisplayFrameRate(
int);
76 virtual const int iconScale()
const;
78 virtual const int maxIconScale()
const;
79 virtual void setMaxIconScale(
int);
81 virtual const int minIconScale()
const;
82 virtual void setMinIconScale(
int);
84 virtual bool continuousNavigation()
const;
86 virtual bool routeArrowShown()
const;
90 virtual int cacheSymbolOptions()
const;
91 virtual bool cacheSymbolOptionOn(
int)
const;
93 virtual int showIndicatorOption()
const;
95 virtual bool manageFrameRates()
const;
97 virtual bool freehandEdit()
const;
99 virtual bool animEnable()
const;
101 virtual QColor labelColor()
const;
103 virtual QColor zoomboxColor()
const;
104 virtual int zoomboxLineWidth()
const;
107 virtual const DtCoordSys& coordinateSystem()
const;
114 virtual bool nameLabelShown()
const;
115 virtual bool layerLabelShown()
const;
116 virtual bool labelLabelShown()
const;
117 virtual bool shadowText()
const;
128 void shadowTextChanged(
bool);
129 void displayFrameRateChanged(
int);
130 void iconScaleChanged(
int);
132 void labelColorChanged(
const QColor&);
133 void zoomboxColorChanged(
const QColor&);
134 void zoomboxLineWidthChanged(
int);
136 void continuousNavigationChanged(
bool);
137 void routeArrowShownChanged(
bool);
138 void animEnableChanged(
bool);
139 void freehandEditChanged(
bool);
140 void overlayTabLocationChanged(
bool);
141 void displayDeleteObjectsDialogChanged(
bool);
142 void displayWatermarkChanged(
bool);
143 void nameLabelShownChanged(
bool);
144 void labelLabelShownChanged(
bool);
145 void layerLabelShownChanged(
bool);
146 void manageFrameRatesChanged(
bool);
148 void cacheSymbolOptionsChanged(
int);
149 void showIndicatorOptionChanged(
int);
153 virtual void setShadowText(
bool);
154 virtual void setNameLabelShown(
bool);
155 virtual void setLabelLabelShown(
bool);
156 virtual void setLayerLabelShown(
bool);
157 virtual void setDisplayFrameRate(
int);
158 virtual void setIconScale(
int);
160 virtual void setLabelColor(
const QColor& color);
161 virtual void setZoomboxColor(
const QColor& color);
162 virtual void setZoomboxLineWidth(
int);
163 virtual void setRouteArrowShown(
bool);
164 virtual void setAnimEnable(
bool);
165 virtual void setFreehandEdit(
bool);
166 virtual void setDisplayWatermark(
bool);
167 virtual void setManageFrameRates(
bool);
169 virtual void setCacheSymbolOptions(
int);
170 virtual void setCacheSymbolOption(
int opt,
bool onOff);
172 virtual void setShowIndicatorOption(
int);
176 virtual void setContinuousNavigation(
bool);
179 virtual void read(QTextStream& ts);