OpendTect-6_4  6.4
Public Types | Public Member Functions | List of all members
uiLabeledListBox Class Reference

uiLabeledListBox. Deprecated. Don't use in new code More...

Inheritance diagram for uiLabeledListBox:
[legend]

Public Types

enum  LblPos {
  LeftTop, RightTop, LeftMid, RightMid,
  AboveLeft, AboveMid, AboveRight, BelowLeft,
  BelowMid, BelowRight
}
 
- Public Types inherited from uiListBox
enum  LblPos {
  LeftTop, RightTop, LeftMid, RightMid,
  AboveLeft, AboveMid, AboveRight, BelowLeft,
  BelowMid, BelowRight
}
 

Public Member Functions

 uiLabeledListBox (uiParent *, const uiString &lbltxt)
 
 uiLabeledListBox (uiParent *, const uiString &lbltxt, OD::ChoiceMode, LblPos p=LeftMid)
 
 uiLabeledListBox (uiParent *, const BufferStringSet &, const uiString &lbltxt, OD::ChoiceMode, LblPos p=LeftMid)
 
uiListBoxbox ()
 
- Public Member Functions inherited from uiListBox
 uiListBox (uiParent *, const char *nm=0, OD::ChoiceMode cm=OD::ChooseOnlyOne)
 
 uiListBox (uiParent *, const Setup &, const char *nm=0)
 
virtual ~uiListBox ()
 
uiListBoxObj * box ()
 
uiGroupcheckGroup ()
 
uiCheckBoxmasterCheckBox ()
 
int nrLabels () const
 
uiLabellabel (int nr=0)
 
void setLabelText (const uiString &, int nr=0)
 
OD::ChoiceMode choiceMode () const
 
bool isMultiChoice () const
 
void setChoiceMode (OD::ChoiceMode)
 
void setMultiChoice (bool yn=true)
 
void setAllowNoneChosen (bool)
 
void setNotSelectable ()
 
int size () const
 
bool isEmpty () const
 
bool validIdx (int) const
 
bool isPresent (const char *) const
 
int maxNrOfChoices () const
 
Alignment::HPos alignment () const
 
void setAlignment (Alignment::HPos)
 
void setNrLines (int)
 
void setFieldWidth (int)
 
void setHSzPol (uiObject::SzPolicy)
 
void setVSzPol (uiObject::SzPolicy)
 
void setEmpty ()
 
void removeItem (int)
 
void removeItem (const char *)
 
void removeItem (const FixedString &fs)
 
void setAllowDuplicates (bool yn)
 
void addItem (const uiString &, bool marked=false, int id=-1)
 
void addItem (const uiString &, const uiPixmap &, int id=-1)
 
void addItem (const uiString &, const Color &, int id=-1)
 
void addItems (const char **)
 
void addItems (const BufferStringSet &)
 
void addItems (const uiStringSet &)
 
void insertItem (const uiString &, int idx=-1, bool marked=false, int id=-1)
 
void insertItem (const uiString &, const uiPixmap &, int idx=-1, int id=-1)
 
void insertItem (const uiString &, const Color &, int idx=-1, int id=-1)
 
void setPixmap (int, const Color &)
 
void setPixmap (int, const uiPixmap &)
 
void setIcon (int, const char *icon_identifier)
 
void setColor (int, const Color &)
 
Color getColor (int) const
 
void sortItems (bool asc=true)
 
int indexOf (const char *) const
 First match. More...
 
const char * textOfItem (int) const
 
void setItemText (int, const uiString &)
 
void getItems (BufferStringSet &) const
 
int currentItem () const
 
const char * getText () const
 
void setCurrentItem (int)
 
void setCurrentItem (const char *)
 First match. More...
 
void setCurrentItem (const FixedString &fs)
 
void setItemSelectable (int, bool)
 
int nrChosen () const
 
bool isChoosable (int) const
 
bool isChosen (int) const
 
int firstChosen () const
 
int nextChosen (int prev=-1) const
 
void getChosen (BufferStringSet &) const
 
void getChosen (TypeSet< int > &) const
 
void setChoosable (int, bool yn)
 
void setChosen (int, bool yn=true)
 
void setChosen (Interval< int >, bool yn=true)
 
void chooseAll (bool yn=true)
 
void setChosen (const BufferStringSet &)
 
void setChosen (const TypeSet< int > &)
 
bool isMarked (int) const
 
void setMarked (int, bool)
 
void setItemID (int idx, int id)
 
int currentItemID () const
 
int getItemID (int idx) const
 
int getItemIdx (int id) const
 First match. More...
 
void scrollToTop ()
 
void scrollToBottom ()
 
bool handleLongTabletPress ()
 
void disableRightClick (bool yn)
 
void blockScrolling (bool yn)
 
void offerReadWriteSelection (const CallBack &rcb, const CallBack &wcb)
 
bool isItemChecked (int) const
 To be called by CmdDriver only, not for casual use. More...
 
 uiListBox (uiParent *, const BufferStringSet &, const char *nm=0)
 
 uiListBox (uiParent *, const BufferStringSet &, const char *nm, OD::ChoiceMode cm, int prefNrLines=0, int prefFieldWidth=0)
 
 uiListBox (uiParent *, const uiStringSet &, const char *nm, OD::ChoiceMode cm, int prefNrLines=0, int prefFieldWidth=0)
 
- Public Member Functions inherited from uiGroup
 uiGroup (uiParent *, const char *nm="uiGroup", bool manage=true)
 
virtual ~uiGroup ()
 
 operator const uiGroupObj * () const
 
 operator uiGroupObj * ()
 
 operator const uiObject & () const
 
 operator uiObject & ()
 
uiObjectattachObj ()
 
const uiObjectattachObj () const
 
uiParentparent ()
 
const uiParentparent () const
 
void setHSpacing (int)
 
void setVSpacing (int)
 
void setSpacing (int s=0)
 
void setBorder (int)
 
void setFrame (bool yn=true)
 
void setNoBackGround ()
 
uiObjecthAlignObj ()
 
void setHAlignObj (uiObject *o)
 
void setHAlignObj (uiGroup *o)
 
uiObjecthCenterObj ()
 
void setHCenterObj (uiObject *o)
 
void setHCenterObj (uiGroup *o)
 
void setIsMain (bool)
 internal use only. Tells the layout manager it's a toplevel mngr. More...
 
virtual uiMainWinmainwin ()
 
void setChildrenSensitive (bool)
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual void setSize (const uiSize &)
 
- Public Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
void addChild (uiBaseObject &)
 
void manageChld (uiBaseObject &, uiObjectBody &)
 
void attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
const ObjectSet< uiBaseObject > * childList () const
 
uiObjectmainObject ()
 
const uiObjectmainObject () const
 
uiParentBodypbody ()
 
const uiParentBodypbody () const
 
void attach (constraintType t, int margin=-1)
 
void attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true)
 
void attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual void display (bool yn, bool shrk=false, bool maximize=false)
 
bool isDisplayed () const
 
void setFocus ()
 
bool hasFocus () const
 
void setSensitive (bool yn=true)
 
bool sensitive () const
 
const uiFontfont () const
 
void setFont (const uiFont &f)
 
void setCaption (const uiString &c)
 
void setCursor (const MouseCursor &c)
 
uiSize actualsize (bool include_border) const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
void setPrefHeight (int h)
 
void setPrefWidth (int w)
 
void setPrefHeightInChar (int h)
 
void setPrefHeightInChar (float h)
 
void setPrefWidthInChar (float w)
 
void setPrefWidthInChar (int w)
 
virtual void reDraw (bool deep)
 
void shallowRedraw (CallBacker *=0)
 
void deepRedraw (CallBacker *=0)
 
void setStretch (int h, int v)
 
Color backgroundColor () const
 
Color roBackgroundColor () const
 
void setBackgroundColor (const Color &c)
 
void translateText ()
 

Additional Inherited Members

- Static Public Member Functions inherited from uiGroup
static uiGroupgtDynamicCastToGrp (mQtclass(QWidget *))
 
- Public Attributes inherited from uiListBox
Notifier< uiListBoxselectionChanged
 
CNotifier< uiListBox, int > itemChosen
 
Notifier< uiListBoxdoubleClicked
 
Notifier< uiListBoxrightButtonClicked
 
Notifier< uiListBoxleftButtonClicked
 
Notifier< uiListBoxdeleteButtonPressed
 
- Protected Member Functions inherited from uiListBox
void mkLabel (const uiString &, LblPos)
 
void mkCheckGroup ()
 
void checkCB (CallBacker *)
 
void updateCheckState ()
 
void addItemNoUpdate (const uiString &, bool marked=false, int id=-1)
 
- Protected Member Functions inherited from uiGroup
virtual uiObjectmainobject ()
 
virtual void attach_ (constraintType, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual void reDraw_ (bool deep)
 
void setShrinkAllowed (bool)
 
bool shrinkAllowed ()
 
void bodyDel (CallBacker *)
 
void uiobjDel (CallBacker *)
 
void setFrameStyle (int)
 
void reSizeChildren (const uiObject *, float, float)
 
- Protected Attributes inherited from uiListBox
uiListBoxObj * lb_
 
ObjectSet< uiLabellbls_
 
uiGroupcheckgrp_
 
uiCheckBoxcb_
 
- Protected Attributes inherited from uiGroup
uiGroupObjgrpobj_
 
uiGroupParentBodybody_
 

Detailed Description

uiLabeledListBox. Deprecated. Don't use in new code

Member Enumeration Documentation

Enumerator
LeftTop 
RightTop 
LeftMid 
RightMid 
AboveLeft 
AboveMid 
AboveRight 
BelowLeft 
BelowMid 
BelowRight 

Constructor & Destructor Documentation

uiLabeledListBox::uiLabeledListBox ( uiParent ,
const uiString lbltxt 
)
uiLabeledListBox::uiLabeledListBox ( uiParent ,
const uiString lbltxt,
OD::ChoiceMode  ,
LblPos  p = LeftMid 
)
uiLabeledListBox::uiLabeledListBox ( uiParent ,
const BufferStringSet ,
const uiString lbltxt,
OD::ChoiceMode  ,
LblPos  p = LeftMid 
)

Member Function Documentation

uiListBox* uiLabeledListBox::box ( )
inline

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019