Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes

uiAttrTypeSel Class Reference

Selector for attribute type. More...

Inheritance diagram for uiAttrTypeSel:
uiGroup uiParent uiBaseObject NamedObject CallBacker

List of all members.

Public Member Functions

 uiAttrTypeSel (uiParent *, bool sorted=true)
 ~uiAttrTypeSel ()
void fill (BufferStringSet *selgrps=0)
 with factory entries
const char * group () const
const char * attr () const
void setGrp (const char *)
void setAttr (const char *)
void add (const char *grp, const char *attr)
void update ()
 after a number of add()'s
void setEmpty ()

Public Attributes

Notifier< uiAttrTypeSelselChg

Static Public Attributes

static const char * sKeyAllGrp

Protected Member Functions

void grpSel (CallBacker *)
void attrSel (CallBacker *)
int curGrpIdx () const
void updAttrNms (const char *s=0)
void clear ()

Protected Attributes

uiComboBoxgrpfld
uiComboBoxattrfld
BufferStringSet grpnms_
BufferStringSet attrnms_
TypeSet< int > attrgroups_
int * idxs_
bool sorted_

Detailed Description

Selector for attribute type.

Note that every attribute belongs to a group, but the usage of that is not mandatory.


Constructor & Destructor Documentation

uiAttrTypeSel::uiAttrTypeSel ( uiParent ,
bool  sorted = true 
)
uiAttrTypeSel::~uiAttrTypeSel (  ) 

Member Function Documentation

void uiAttrTypeSel::add ( const char *  grp,
const char *  attr 
)
const char* uiAttrTypeSel::attr (  )  const
void uiAttrTypeSel::attrSel ( CallBacker  )  [protected]
void uiAttrTypeSel::clear (  )  [protected]

Reimplemented from uiBaseObject.

int uiAttrTypeSel::curGrpIdx (  )  const [protected]
void uiAttrTypeSel::fill ( BufferStringSet selgrps = 0  ) 

with factory entries

const char* uiAttrTypeSel::group (  )  const
void uiAttrTypeSel::grpSel ( CallBacker  )  [protected]
void uiAttrTypeSel::setAttr ( const char *   ) 
void uiAttrTypeSel::setEmpty (  ) 
void uiAttrTypeSel::setGrp ( const char *   ) 
void uiAttrTypeSel::update (  ) 

after a number of add()'s

void uiAttrTypeSel::updAttrNms ( const char *  s = 0  )  [protected]

Member Data Documentation

int* uiAttrTypeSel::idxs_ [protected]
const char* uiAttrTypeSel::sKeyAllGrp [static]
bool uiAttrTypeSel::sorted_ [protected]