1 #ifndef uistratdisplay_h 2 #define uistratdisplay_h 15 #include "uistratmod.h" 59 ColumnItem(
const char* nm)
75 const ColumnItem&
colItem(
int idx )
const 76 {
return *colitms_[idx]; }
92 void drawBorders(ColumnItem&);
93 void drawLevels(ColumnItem&);
94 void drawUnits(ColumnItem&);
109 void display(
bool,
bool shrk=
false,
bool max=
false);
138 void createDispParamGrp();
143 int getColIdxFromPos()
const;
144 StratDispData::Column* getColFromPos()
const;
183 void setSensitive(
bool);
203 void updatePosButtonStates();
205 void zoomCB(CallBacker*);
206 void cancelZoomCB(CallBacker*);
207 void handDragged(CallBacker* );
208 void handDragStarted(CallBacker*);
209 void handDragging(CallBacker*);
210 void keyPressed(CallBacker*);
211 void rubBandCB(CallBacker*);
212 void dragModeCB(CallBacker*);
213 void wheelMoveCB(CallBacker*);
#define mExpClass(module)
Definition: commondefs.h:160
uiStratDispToTree uidatawriter_
Definition: uistratdisplay.h:123
void setIsLocked(bool yn)
Definition: uistratdisplay.h:117
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Notifier< uiStratViewControl > rangeChanged
Definition: uistratdisplay.h:185
FixedString Setup()
Definition: keystrs.h:116
const ColumnItem & colItem(int idx) const
Definition: uistratdisplay.h:75
Interval< float > range_
Definition: uistratdisplay.h:196
FixedString Level()
Definition: keystrs.h:78
const Interval< float > & range() const
Definition: uistratdisplay.h:180
uiTextItem * emptyitm_
Definition: uistratdisplay.h:81
#define mStruct(module)
Definition: commondefs.h:165
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiAxisHandler * yax_
Definition: uistratdisplay.h:84
uiToolButton * rubbandzoombut_
Definition: uistratdisplay.h:190
uiAxisHandler * yAxis()
Definition: uistratdisplay.h:53
const uiAxisHandler * yAxis() const
Definition: uistratdisplay.h:55
Definition: uigraphicsitemimpl.h:192
uiToolButton * vertzoominbut_
Definition: uistratdisplay.h:191
Handles an axis on a plot.
Definition: uiaxishandler.h:51
bool islocked_
Definition: uistratdisplay.h:134
used to gather all units and tied levels from a tree for display
Definition: uistratdispdata.h:153
Definition: uiparent.h:26
bool isLocked() const
Definition: uistratdisplay.h:118
uiPushButton * fillbutton_
Definition: uistratdisplay.h:132
FixedString Unit()
Definition: keystrs.h:143
uiGraphicsScene & scene_
Definition: uistratdisplay.h:83
Definition: uispinbox.h:128
uiToolButton * vertzoomoutbut_
Definition: uistratdisplay.h:192
ObjectSet< ColumnItem > colitms_
Definition: uistratdisplay.h:80
uiStratViewControl * uicontrol_
Definition: uistratdisplay.h:125
uiAxisHandler * xAxis()
Definition: uistratdisplay.h:52
uiToolButton * cancelzoombut_
Definition: uistratdisplay.h:193
float startdragpos_
Definition: uistratdisplay.h:199
Interval< float > boundingrange_
Definition: uistratdisplay.h:197
uiLabeledSpinBox * stepfld_
Definition: uistratdisplay.h:130
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
uiStratDrawer drawer_
Definition: uistratdisplay.h:127
uiToolBar * tb_
Definition: uistratdisplay.h:194
Definition: mouseevent.h:162
uiStratViewControl * control()
Definition: uistratdisplay.h:113
uiGroup * dispparamgrp_
Definition: uistratdisplay.h:131
StratDispData data_
Definition: uistratdisplay.h:126
Definition: uigraphicsitemimpl.h:214
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: uistratdispdata.h:36
Definition: uistratdisplay.h:103
Definition: uistratdisplay.h:39
Definition: uigraphicsitem.h:142
Definition: uigraphicsview.h:51
Definition: uistratdispdata.h:193
const StratDispData & data_
Definition: uistratdisplay.h:88
Definition: uigraphicsitemimpl.h:273
Interval< float > maxrg_
Definition: uistratdisplay.h:136
uiGenInput * rangefld_
Definition: uistratdisplay.h:129
uiAxisHandler * xax_
Definition: uistratdisplay.h:85
void setRange(const Interval< float > &rg)
Definition: uistratdisplay.h:178
const uiAxisHandler * xAxis() const
Definition: uistratdisplay.h:54
~uiStratViewControl()
Definition: uistratdisplay.h:176
bool mousepressed_
Definition: uistratdisplay.h:200
uiStratTreeToDisp * uidatagather_
Definition: uistratdisplay.h:122
uiPushButton * viewcolbutton_
Definition: uistratdisplay.h:133
Definition: mouseevent.h:73
Definition: uistratdisplay.h:161
Definition: uigraphicsscene.h:39
uiGraphicsView & viewer_
Definition: uistratdisplay.h:189
Displays a Strat::RefTree.
Definition: uistratreftree.h:33
Geom::Point2D< int > pos_
Definition: mouseevent.h:124