wxPropertyGridState Class Reference

Contains information of a single wxPropertyGrid page. More...

#include <propgrid.h>

Inheritance diagram for wxPropertyGridState:

wxPropertyGridPage List of all members.

Public Member Functions

wxPGId Append (wxPGProperty *property)
wxPGId AppendIn (wxPGPropertyWithChildren *pwc, const wxString &label, const wxString &propname, wxVariant &value)
wxPGId BaseGetPropertyByName (const wxString &name) const
void Clear ()
void ClearModifiedStatus (wxPGProperty *p)
bool ClearPropertyValue (wxPGProperty *p)
bool ClearSelection ()
bool Collapse (wxPGProperty *p)
virtual void DoDelete (wxPGProperty *item)
virtual wxPGId DoInsert (wxPGPropertyWithChildren *parent, int index, wxPGProperty *property)
bool DoSelectProperty (wxPGProperty *p, unsigned int flags=0)
bool EnableCategories (bool enable)
bool EnableProperty (wxPGProperty *p, bool enable)
bool Expand (wxPGProperty *p)
bool ExpandAll (unsigned char do_expand)
wxPGId GetFirst () const
wxPGId GetFirstCategory () const
wxPGId GetFirstProperty () const
wxPropertyGridGetGrid () const
int GetLeftSplitterPos (wxClientDC &dc, wxPGPropertyWithChildren *pwc, bool subProps)
wxPGId GetNextCategory (wxPGId id) const
wxPGId GetNextProperty (wxPGId id) const
wxPGId GetPrevProperty (wxPGId id) const
wxPGId GetPropertyByLabel (const wxString &name, wxPGPropertyWithChildren *parent=(wxPGPropertyWithChildren *) NULL) const
wxVariant GetPropertyValues (const wxString &listname, wxPGId baseparent, long flags) const
wxPGPropertyGetSelection () const
void InitNonCatMode ()
bool IsDisplayed () const
bool IsInNonCatMode () const
void LimitPropertyEditing (wxPGProperty *p, bool limit=true)
void SetPropertyLabel (wxPGProperty *p, const wxString &newlabel)
bool SetPropertyPriority (wxPGProperty *p, int priority)
void SetPropertyUnspecified (wxPGProperty *p)
void SetPropertyValue (wxPGProperty *p, const wxULongLong &value)
void SetPropertyValue (wxPGProperty *p, const wxLongLong &value)
void SetPropertyValue (wxPGProperty *p, const wxDateTime &value)
void SetPropertyValue (wxPGProperty *p, const wxArrayInt &value)
void SetPropertyValue (wxPGProperty *p, const wxSize &value)
void SetPropertyValue (wxPGProperty *p, const wxPoint &value)
void SetPropertyValue (wxPGProperty *p, void *value)
void SetPropertyValue (wxPGProperty *p, const wxArrayString &value)
void SetPropertyValue (wxPGProperty *p, bool value)
void SetPropertyValue (wxPGProperty *p, double value)
void SetPropertyValue (wxPGProperty *p, int value)
void SetPropertyValue (wxPGProperty *p, long value)
bool SetPropertyValue (wxPGProperty *p, wxObject *value)
bool SetPropertyValue (wxPGProperty *p, wxVariant &value)
bool SetPropertyValue (wxPGProperty *p, const wxString &value)
bool SetPropertyValue (wxPGProperty *p, const wxChar *typestring, const wxPGVariant &value)
bool SetPropertyValue (wxPGProperty *p, const wxPGValueType *typeclass, const wxPGVariant &value)
void SetPropertyValues (const wxList &list, wxPGId default_category)
void SetPropVal (wxPGProperty *p, const wxPGVariant &value)
void Sort ()
void Sort (wxPGProperty *p)
 wxPropertyGridState ()
virtual ~wxPropertyGridState ()

Static Public Member Functions

static void ClearPropertyAndChildrenFlags (wxPGProperty *p, long flags)
static wxPGId GetNextSibling (wxPGId id)
static wxPGId GetPrevSibling (wxPGId id)
static void SetPropertyAndChildrenFlags (wxPGProperty *p, long flags)

Detailed Description

Contains information of a single wxPropertyGrid page.


Constructor & Destructor Documentation

wxPropertyGridState::wxPropertyGridState (  ) 

Constructor.

virtual wxPropertyGridState::~wxPropertyGridState (  )  [virtual]

Destructor.


Member Function Documentation

wxPGId wxPropertyGridState::Append ( wxPGProperty property  ) 

Base append.

wxPGId wxPropertyGridState::BaseGetPropertyByName ( const wxString &  name  )  const

Returns property by its name.

void wxPropertyGridState::Clear (  ) 

Called in, for example, wxPropertyGrid::Clear.

virtual void wxPropertyGridState::DoDelete ( wxPGProperty item  )  [virtual]

Override this member function to add custom behaviour on property deletion.

virtual wxPGId wxPropertyGridState::DoInsert ( wxPGPropertyWithChildren parent,
int  index,
wxPGProperty property 
) [virtual]

Override this member function to add custom behaviour on property insertion.

bool wxPropertyGridState::EnableProperty ( wxPGProperty p,
bool  enable 
)

Enables or disables given property and its subproperties.

wxPGId wxPropertyGridState::GetFirst (  )  const [inline]

Returns id of first item, whether it is a category or property.

int wxPropertyGridState::GetLeftSplitterPos ( wxClientDC &  dc,
wxPGPropertyWithChildren pwc,
bool  subProps 
)

Used by SetSplitterLeft.

void wxPropertyGridState::InitNonCatMode (  ) 

Only inits arrays, doesn't migrate things or such.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
const wxULongLong &  value 
) [inline]

Sets value (wxULongLong&) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
const wxLongLong &  value 
) [inline]

Sets value (wxLongLong&) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
const wxDateTime &  value 
) [inline]

Sets value (wxDateTime&) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
const wxArrayInt &  value 
) [inline]

Sets value (wxArrayInt&) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
const wxSize &  value 
) [inline]

Sets value (wxSize&) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
const wxPoint &  value 
) [inline]

Sets value (wxPoint&) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
void *  value 
) [inline]

Sets value (void*) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
const wxArrayString &  value 
) [inline]

Sets value (wxArrayString) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
bool  value 
) [inline]

Sets value (bool) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
double  value 
) [inline]

Sets value (floating point) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
int  value 
) [inline]

Sets value (integer) of a property.

void wxPropertyGridState::SetPropertyValue ( wxPGProperty p,
long  value 
) [inline]

Sets value (long integer) of a property.


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 11:38:15 2007 for wxPropertyGrid by  doxygen 1.5.1-p1