ObjCryst++
1.5CVS
|
This displays all components of a ObjCryst++ Registry. More...
Public Member Functions | |
WXRegistry (wxWindow *parent, ObjRegistry< T > *reg) | |
void | Add (WXCrystObjBasic *obj) |
void | Remove (WXCrystObjBasic *obj) |
virtual bool | OnChangeName (const int id) |
When a WXFieldName has been changed by the user, it is handled here. | |
![]() | |
WXCrystObj (wxWindow *parent, int orient=wxHORIZONTAL, bool showName=true) | |
Constructor, with a. | |
void | OnToggleCollapse (wxCommandEvent &WXUNUSED(event)) |
Only display the title, and collapse everything else. | |
virtual void | CrystUpdate (const bool updateUI=false, const bool mutexlock=false) |
Get new values to be displayed from the underlying object, and raise flag if an UI update is necessary. | |
virtual void | UpdateUI (const bool mutexlock=false) |
Update the User Interface, if necessary. | |
virtual void | OnEnable (wxUpdateUIEvent &event) |
virtual bool | Enable (bool enable) |
virtual void | BottomLayout (WXCrystObjBasic *pChild) |
Ask for a new Layout with recalculated size hints, because a child has been changed or added. | |
virtual void | AddChild (WXCrystObjBasic *pChild, bool doBottomLayout=true) |
Notify that a new children has been added, also adding it to the correct sizer (which can be the top sizer or not). | |
![]() | |
WXCrystObjBasic (wxWindow *parent) | |
Constructor. | |
virtual | ~WXCrystObjBasic () |
Destructor. | |
void | AddedToList (WXCrystObjBasicList *list) |
void | RemovedFromList (WXCrystObjBasicList *list) |
virtual bool | Layout () |
virtual void | SetToolTip (const wxString &tip) |
Set tooltip for this window. |
Private Attributes | |
ObjRegistry< T > * | mpRegistry |
Additional Inherited Members | |
![]() | |
wxBoxSizer * | mpTopSizer |
Top sizer including the title and WXCrystObj::mpSizer. | |
wxBoxSizer * | mpSizer |
Sizer including all sub-objects. | |
WXFieldName * | mpWXTitle |
The title. | |
bool | mIsExpanded |
To be used for collapsing the sub-objects. | |
WXCrystObjBasicList | mList |
All windows but the title and collapse button are in this list. | |
wxButton * | mpCollapseButton |
The collapse button. | |
![]() | |
WXCrystObjBasic * | mWXCrystParent |
Parent, if a WXCrystObjBasic itself. | |
bool | mIsShown |
Is the the window currently shown ? | |
bool | mNeedUpdateUI |
Do we need to update the display ? | |
CrystMutex | mMutex |
Mutex used to lock data when preparing to update the UI in non-main thread. | |
std::set< WXCrystObjBasicList * > | mvpList |
WXCrystObjBasicList which are aware of this object, and which should be told on destruction. |
This displays all components of a ObjCryst++ Registry.
|
virtual |
When a WXFieldName has been changed by the user, it is handled here.
This returns true if the value has been handled (for inheritance purposes).
Implements ObjCryst::WXCrystObj.