1 #ifndef uibuildlistfromlist_h 2 #define uibuildlistfromlist_h 16 #include "uitoolsmod.h" 57 Setup(
bool itemsmovable,
const char* avitmtyp,
58 const char* defitmtyp);
92 const char* curAvSel()
const;
93 const char* curDefSel()
const;
94 void setCurDefSel(
const char*);
96 virtual void editReq(
bool isadd) = 0;
97 virtual void removeReq() = 0;
98 virtual const char* avFromDef(
const char*)
const = 0;
99 virtual bool ioReq(
bool forsave ) {
return false; }
101 virtual void defSelChg();
106 void setItemName(
const char*);
107 void addItem(
const char*);
109 { isadd ? addItem( itmnm ) : setItemName( itmnm ); }
119 void rmItm(
int,
bool);
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
void rmCB(CallBacker *)
Definition: uibuildlistfromlist.h:114
FixedString Setup()
Definition: keystrs.h:116
void defSelCB(CallBacker *)
Definition: uibuildlistfromlist.h:111
Base class for element allowing the building of lists of items from available 'ingredients'.
Definition: uibuildlistfromlist.h:50
uiToolButton * movedownbut_
Definition: uibuildlistfromlist.h:89
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool haveUserChange() const
Definition: uibuildlistfromlist.h:76
bool usrchg_
Definition: uibuildlistfromlist.h:81
void addCB(CallBacker *)
Definition: uibuildlistfromlist.h:112
Definition: uiparent.h:26
uiToolButton * rmbut_
Definition: uibuildlistfromlist.h:86
Set of BufferString objects.
Definition: bufstringset.h:28
uiToolButton * savebut_
Definition: uibuildlistfromlist.h:87
uiToolButton * edbut_
Definition: uibuildlistfromlist.h:85
List Box.
Definition: uilistbox.h:75
Definition: uibuildlistfromlist.h:54
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
uiListBox * avfld_
Definition: uibuildlistfromlist.h:83
Setup setup_
Definition: uibuildlistfromlist.h:80
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
virtual bool ioReq(bool forsave)
Definition: uibuildlistfromlist.h:99
uiToolButton * moveupbut_
Definition: uibuildlistfromlist.h:88
void handleSuccessfullEdit(bool isadd, const char *itmnm)
Definition: uibuildlistfromlist.h:108
virtual void itemSwitch(const char *, const char *)
Definition: uibuildlistfromlist.h:100
uiListBox * deffld_
Definition: uibuildlistfromlist.h:84
void edCB(CallBacker *)
Definition: uibuildlistfromlist.h:113