Logo Search packages:      
Sourcecode: saga version File versions  Download package

wxCursorProperty Class Reference

#include <advprops.h>

Inheritance diagram for wxCursorProperty:

wxEnumProperty wxBaseEnumProperty wxPGProperty

List of all members.

Detailed Description

Property representing wxCursor.

Definition at line 285 of file advprops.h.

Public Types

typedef void * ClientDataType
typedef wxUint32 FlagType

Public Member Functions

wxPGCellAcquireCell (unsigned int column)
bool ActualIntToValue (wxVariant &variant, int number, int argFlags=0) const
bool ActualStringToValue (wxVariant &variant, const wxString &text, int argFlags=0) const
bool ActualValidateValue (wxVariant &value, wxPGValidationInfo &validationInfo) const
void AdaptListToValue (wxVariant &list, wxVariant *value) const
void AddPrivateChild (wxPGProperty *prop)
wxPGPropertyAppendChild (wxPGProperty *prop)
int AppendChoice (const wxString &label, int value=wxPG_INVALID_VALUE)
bool AreAllChildrenSpecified (wxVariant *pendingList=NULL) const
bool AreChildrenComponents () const
bool CanHaveExtraChildren () const
void ChangeFlag (FlagType flag, bool set)
virtual void ChildChanged (wxVariant &thisValue, int childIndex, wxVariant &childValue) const
void ClearFlag (FlagType flag)
void DeleteChildren ()
void DeleteChoice (int index)
virtual wxVariant DoGetAttribute (const wxString &name) const
virtual const wxPGEditorDoGetEditorClass () const
virtual wxValidator * DoGetValidator () const
virtual wxVariant DoGetValue () const
virtual bool DoSetAttribute (const wxString &name, wxVariant &value)
void Empty ()
void EnableCommonValue (bool enable=true)
void FixIndexesOfChildren (unsigned int starthere=0)
void GenerateComposedValue (wxString &text, int argFlags=0) const
unsigned int GetArrIndex () const
wxString GetAttribute (const wxString &name, const wxString &defVal) const
wxVariant GetAttribute (const wxString &name) const
double GetAttributeAsDouble (const wxString &name, double defVal) const
long GetAttributeAsLong (const wxString &name, long defVal) const
const wxPGAttributeStorageGetAttributes () const
wxVariant GetAttributesAsList () const
const wxString & GetBaseName () const
wxPGCellGetCell (unsigned int column) const
virtual wxPGCellRendererGetCellRenderer (int column) const
unsigned int GetChildCount () const
int GetChildrenHeight (int lh, int iMax=-1) const
unsigned int GetChoiceCount () const
virtual int GetChoiceInfo (wxPGChoiceInfo *choiceinfo)
wxPGChoicesGetChoices ()
const wxPGChoicesGetChoices () const
wxString GetChoiceString (unsigned int index)
const wxChar * GetClassName () const
ClientDataType GetClientData () const
const wxPGEditorGetColumnEditor (int column) const
int GetCommonValue () const
unsigned int GetCount () const
const wxPGChoiceEntryGetCurrentChoice () const
wxVariant GetDefaultValue () const
unsigned int GetDepth () const
int GetDisplayedCommonValueCount () const
wxString GetDisplayedString () const
const wxPGEditorGetEditorClass () const
virtual wxPGEditorDialogAdapterGetEditorDialog () const
virtual const wxString * GetEntry (size_t index, int *pvalue) const
FlagType GetFlags () const
wxString GetFlagsAsString (FlagType flagsMask) const
wxPropertyGridGetGrid () const
wxPropertyGridGetGridIfDisplayed () const
const wxString & GetHelpString () const
wxPGId GetId ()
int GetImageOffset (int imageWidth) const
virtual wxSize GetImageSize () const
virtual int GetIndexForValue (int value) const
unsigned int GetIndexInParent () const
wxPGPropertyGetItemAtY (unsigned int y, unsigned int lh, unsigned int *nextItemY) const
size_t GetItemCount () const
const wxString & GetLabel () const
const wxPGPropertyGetLastVisibleSubItem () const
wxPGPropertyGetMainParent () const
int GetMaxLength () const
wxString GetName () const
wxPGPropertyGetParent () const
wxPropertyGridStateGetParentState () const
wxPGPropertyGetPropertyByName (const wxString &name) const
wxString GetType () const
wxValidator * GetValidator () const
wxVariant GetValue () const
virtual wxString GetValueAsString (int argFlags) const
wxVariant GetValueAsVariant () const
int GetValueForIndex (size_t index) const
wxBitmap * GetValueImage () const
const wxVariant & GetValueRef () const
wxVariant & GetValueRef ()
wxString GetValueString (int argFlags=0) const
wxString GetValueType () const
int GetY () const
FlagType HasFlag (FlagType flag) const
bool HasVisibleChildren () const
bool Hide (bool hide, int flags=wxPG_RECURSE)
int Index (const wxPGProperty *p) const
wxPGPropertyInsertChild (int index, wxPGProperty *childProperty)
int InsertChoice (const wxString &label, int index, int value=wxPG_INVALID_VALUE)
virtual bool IntToValue (wxVariant &variant, int number, int argFlags=0) const
bool IsCategory () const
bool IsEnabled () const
bool IsExpanded () const
bool IsFlagSet (FlagType flag) const
bool IsRoot () const
bool IsSomeParent (wxPGProperty *candidate_parent) const
bool IsSubProperty () const
bool IsTextEditable () const
bool IsValueUnspecified () const
bool IsVisible () const
wxPGPropertyItem (unsigned int i) const
wxPGPropertyLast () const
virtual void OnCustomPaint (wxDC &dc, const wxRect &rect, wxPGPaintData &paintdata)
virtual bool OnEvent (wxPropertyGrid *propgrid, wxWindow *wnd_primary, wxEvent &event)
virtual wxSize OnMeasureImage (int item=-1) const
virtual void OnSetValue ()
virtual void OnValidationFailure (wxVariant &pendingValue)
bool PrepareValueForDialogEditing (wxPropertyGrid *propgrid)
bool RecreateEditor ()
virtual void RefreshChildren ()
void RefreshEditor ()
void SetAttribute (const wxString &name, wxVariant value)
void SetAttributes (const wxPGAttributeStorage &attributes)
void SetCell (int column, wxPGCell *cellObj)
bool SetChoices (const wxArrayString &labels, const wxArrayInt &values=wxPG_EMPTY_ARRAYINT)
bool SetChoices (wxPGChoices &choices)
void SetChoiceSelection (int newValue, const wxPGChoiceInfo &choiceInfo)
void SetChoicesExclusive ()
void SetClientData (ClientDataType clientData)
void SetCommonValue (int commonValue)
void SetDefaultValue (wxVariant &value)
void SetEditor (const wxString &editorName)
void SetEditor (const wxPGEditor *editor)
void SetExpanded (bool expanded)
void SetFlag (FlagType flag)
void SetFlagRecursively (FlagType flag, bool set)
void SetFlagsFromString (const wxString &str)
void SetHelpString (const wxString &helpString)
void SetLabel (const wxString &label)
bool SetMaxLength (int maxLen)
void SetName (const wxString &newName)
void SetValidator (const wxValidator &validator)
void SetValue (wxVariant value, wxVariant *pList=NULL, int flags=wxPG_SETVAL_REFRESH_EDITOR)
virtual bool SetValueFromInt (long value, int flags=0)
virtual bool SetValueFromString (const wxString &text, int flags=wxPG_PROGRAMMATIC_VALUE)
void SetValueImage (wxBitmap &bmp)
void SetValueInEvent (wxVariant value) const
void SetValueToUnspecified ()
void SetWasModified (bool set=true)
virtual bool StringToValue (wxVariant &variant, const wxString &text, int argFlags=0) const
wxPGPropertyUpdateParentValues ()
FlagType UsesAutoUnspecified () const
virtual bool ValidateValue (wxVariant &value, wxPGValidationInfo &validationInfo) const

Protected Member Functions

void AddChild (wxPGProperty *prop)
void AddChild2 (wxPGProperty *prop, int index=-1, bool correct_mode=true)
void DoEmpty ()
void DoSetName (const wxString &str)
wxString GetColumnText (unsigned int col) const
int GetIndex () const
wxPGPropertyGetPropertyByNameWH (const wxString &name, unsigned int hintIndex) const
int GetY2 (int lh) const
void PrepareSubProperties ()
void SetIndex (int index)
void SetParentalType (int flag)
void SetParentState (wxPropertyGridState *pstate)
void SubPropsChanged (int oldSelInd=-1)
bool ValueFromInt_ (wxVariant &value, int intVal, int argFlags) const
bool ValueFromString_ (wxVariant &value, const wxString &text, int argFlags) const

Static Protected Member Functions

static void ResetNextIndex ()

Protected Attributes

unsigned int m_arrIndex
wxPGAttributeStorage m_attributes
unsigned char m_bgColIndex
wxArrayPtrVoid m_cells
wxArrayPtrVoid m_children
wxPGChoices m_choices
ClientDataType m_clientData
int m_commonValue
const wxPGEditorm_customEditor
unsigned char m_depth
unsigned char m_depthBgCol
unsigned char m_fgColIndex
FlagType m_flags
wxString m_helpString
wxString m_label
short m_maxLen
wxString m_name
wxValidator * m_validator
wxVariant m_value
wxBitmap * m_valueBitmap

Private Member Functions

 wxCursorProperty (const wxString &label=wxPG_LABEL, const wxString &name=wxPG_LABEL, int value=0)

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index