wxPropertyGrid is a specialized two-column grid for editing properties such as strings, numbers, flagsets, fonts, and colours. wxPropertySheet used to do the very same thing, but it hasn't been updated for a while and it is currently deprecated. More...
#include <propgrid.h>

Public Member Functions | |
| void | AddActionTrigger (int action, int keycode, int modifiers=0) |
| bool | AddToSelection (wxPGPropArg id) |
| bool | AdjustPosForClipperWindow (wxWindow *topCtrlWnd, int *x, int *y) |
| void | BeginLabelEdit (unsigned int column=0) |
| bool | CanClose () |
| void | CenterSplitter (bool enableAutoResizing=false) |
| bool | ChangePropertyValue (wxPGPropArg id, wxVariant newValue) |
| virtual void | Clear () |
| void | ClearActionTriggers (int action) |
| void | ClearInternalFlag (long flag) |
| void | ClearModifiedStatus () |
| void | ClearModifiedStatus (wxPGPropArg id) |
| virtual bool | CommitChangesFromEditor (wxUint32 flags=0) |
| bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxPG_DEFAULT_STYLE, const wxString &name=wxPropertyGridNameStr) |
| void | DecFrozen () |
| virtual bool | Destroy () |
| virtual wxSize | DoGetBestSize () const |
| virtual void | DoHidePropertyError (wxPGProperty *property) |
| virtual bool | DoOnValidationFailure (wxPGProperty *property, wxVariant &invalidValue) |
| virtual void | DoOnValidationFailureReset (wxPGProperty *property) |
| virtual bool | DoPropertyChanged (wxPGProperty *p, unsigned int selFlags=0) |
| bool | DoSelectProperty (wxPGProperty *p, unsigned int flags=0) |
| virtual void | DoShowPropertyError (wxPGProperty *property, const wxString &msg) |
| void | DrawItem (wxPGProperty *p) |
| virtual void | DrawItemAndChildren (wxPGProperty *p) |
| void | DrawItemAndValueRelated (wxPGProperty *p) |
| void | EditorsValueWasModified () |
| void | EditorsValueWasNotModified () |
| bool | EditorValidate () |
| bool | EnableCategories (bool enable) |
| void | EndLabelEdit (bool commit=true) |
| bool | EnsureVisible (wxPGPropArg id) |
| wxSize | FitColumns () |
| void | FixPosForTextCtrl (wxWindow *ctrl, unsigned int forColumn=1, const wxPoint &offset=wxPoint(0, 0)) |
| virtual void | Freeze () |
| wxWindow * | GenerateEditorButton (const wxPoint &pos, const wxSize &sz) |
| wxWindow * | GenerateEditorTextCtrl (const wxPoint &pos, const wxSize &sz, const wxString &value, wxWindow *secondary, int extraStyle=0, int maxLen=0, unsigned int forColumn=1) |
| wxWindow * | GenerateEditorTextCtrlAndButton (const wxPoint &pos, const wxSize &sz, wxWindow **psecondary, int limited_editing, wxPGProperty *property) |
| wxColour | GetCaptionBackgroundColour () const |
| const wxFont & | GetCaptionFont () const |
| wxFont & | GetCaptionFont () |
| wxColour | GetCaptionForegroundColour () const |
| wxColour | GetCellBackgroundColour () const |
| wxColour | GetCellDisabledTextColour () const |
| wxColour | GetCellTextColour () const |
| unsigned int | GetChildrenCount (wxPGPropArg id) const |
| unsigned int | GetChildrenCount () |
| unsigned int | GetColumnCount () const |
| const wxPGCommonValue * | GetCommonValue (unsigned int i) const |
| unsigned int | GetCommonValueCount () const |
| wxString | GetCommonValueLabel (unsigned int i) const |
| wxWindow * | GetEditorControl () const |
| wxWindow * | GetEditorControlSecondary () const |
| wxTextCtrl * | GetEditorTextCtrl () const |
| wxColour | GetEmptySpaceColour () const |
| int | GetFontHeight () const |
| wxPoint | GetGoodEditorDialogPosition (wxPGProperty *p, const wxSize &sz) |
| wxPropertyGrid * | GetGrid () |
| wxRect | GetImageRect (wxPGProperty *p, int item) const |
| wxSize | GetImageSize (wxPGProperty *p=NULL, int item=-1) const |
| long | GetInternalFlags () const |
| wxPGProperty * | GetItemAtY (int y) const |
| wxTextCtrl * | GetLabelEditor () const |
| const wxPGProperty * | GetLastItem (int flags=wxPG_ITERATE_DEFAULT) const |
| wxPGProperty * | GetLastItem (int flags=wxPG_ITERATE_DEFAULT) |
| wxColour | GetLineColour () const |
| wxColour | GetMarginColour () const |
| wxPanel * | GetPanel () const |
| wxWindow * | GetPrimaryEditor () const |
| wxColour | GetPropertyBackgroundColour (wxPGPropArg id) const |
| wxPGProperty * | GetPropertyByLabel (const wxString &name) const |
| wxColour | GetPropertyColour (wxPGPropArg id) const |
| wxRect | GetPropertyRect (const wxPGProperty *p1, const wxPGProperty *p2) const |
| wxColour | GetPropertyTextColour (wxPGPropArg id) const |
| wxPGProperty * | GetRoot () const |
| int | GetRowHeight () const |
| wxPGProperty * | GetSelectedProperty () const |
| wxColour | GetSelectionBackgroundColour () const |
| wxColour | GetSelectionForegroundColour () const |
| wxPGSortCallback | GetSortFunction () const |
| int | GetSpacingY () const |
| int | GetSplitterPosition () const |
| int | GetUnspecifiedCommonValue () const |
| const wxPGCell & | GetUnspecifiedValueAppearance () const |
| wxString | GetUnspecifiedValueText (int argFlags=0) const |
| wxPGValidationInfo & | GetValidationInfo () |
| int | GetVerticalSpacing () const |
| bool | HandleCustomEditorEvent (wxCommandEvent &event) |
| bool | HasInternalFlag (long flag) const |
| bool | HasSelection () const |
| bool | HasVirtualWidth () const |
| wxPropertyGridHitTestResult | HitTest (const wxPoint &pt) const |
| void | IncFrozen () |
| bool | IsAnyModified () const |
| bool | IsEditorFocused () const |
| bool | IsEditorsValueModified () const |
| bool | IsFrozen () const |
| bool | IsMainButtonEvent (const wxEvent &event) |
| void | MakeColumnEditable (unsigned int column, bool editable=true) |
| void | OnComboItemPaint (wxPGCustomComboControl *pCb, int item, wxDC &dc, wxRect &rect, int flags) |
| void | OnCustomEditorEvent (wxCommandEvent &event) |
| void | OnTLPChanging (wxWindow *newTLP) |
| bool | OnValidationFailure (wxPGProperty *property, wxVariant &invalidValue) |
| void | OnValidationFailureReset (wxPGProperty *property) |
| virtual bool | PerformValidation (wxPGProperty *p, wxVariant &pendingValue) |
| virtual void | Refresh (bool eraseBackground=true, const wxRect *rect=(const wxRect *) NULL) |
| void | RefreshEditor () |
| virtual void | RefreshProperty (wxPGProperty *p) |
| bool | RemoveFromSelection (wxPGPropArg id) |
| virtual bool | Reparent (wxWindowBase *newParent) |
| void | ResetColours () |
| void | ResetColumnSizes (bool enableAutoResizing=false) |
| bool | SelectProperty (wxPGPropArg id, bool focus=false) |
| void | SendNavigationKeyEvent (int dir) |
| void | SetButtonShortcut (int keycode, bool ctrlDown=false, bool altDown=false) |
| void | SetCaptionBackgroundColour (const wxColour &col) |
| void | SetCaptionForegroundColour (const wxColour &col) |
| void | SetCaptionTextColour (wxPGPropArg id, const wxColour &col) |
| void | SetCellBackgroundColour (const wxColour &col) |
| void | SetCellDisabledTextColour (const wxColour &col) |
| void | SetCellTextColour (const wxColour &col) |
| void | SetColumnCount (int colCount) |
| void | SetCurControlBoldFont () |
| void | SetCurrentCategory (wxPGPropArg id) |
| void | SetEmptySpaceColour (const wxColour &col) |
| virtual void | SetExtraStyle (long exStyle) |
| virtual bool | SetFont (const wxFont &font) |
| void | SetInternalFlag (long flag) |
| void | SetLineColour (const wxColour &col) |
| void | SetMarginColour (const wxColour &col) |
| void | SetPropertyAttributeAll (const wxString &attrName, wxVariant value) |
| void | SetPropertyBackgroundColour (wxPGPropArg id, const wxColour &col, int flags=wxPG_RECURSE) |
| void | SetPropertyColourToDefault (wxPGPropArg id) |
| void | SetPropertyName (wxPGPropArg id, const wxString &newname) |
| void | SetPropertyTextColour (wxPGPropArg id, const wxColour &col, int flags=wxPG_RECURSE) |
| void | SetSelection (const wxArrayPGProperty &newSelection) |
| void | SetSelectionBackground (const wxColour &col) |
| void | SetSelectionForeground (const wxColour &col) |
| void | SetSortFunction (wxPGSortCallback sortFunction) |
| void | SetSplitterLeft (bool subProps=false) |
| void | SetSplitterPosition (int newxpos, bool refresh=true) |
| void | SetUnspecifiedCommonValue (int index) |
| void | SetUnspecifiedValueAppearance (const wxPGCell &cell) |
| void | SetupTextCtrlValue (const wxString text) |
| void | SetVerticalSpacing (int vspacing) |
| void | SetVirtualWidth (int width) |
| virtual void | SetWindowStyleFlag (long style) |
| void | ShowPropertyError (wxPGPropArg id, const wxString &msg) |
| void | Sort (wxPGPropArg id) |
| void | Sort () |
| void | SwitchState (wxPropertyGridState *pNewState) |
| virtual void | Thaw () |
| bool | UnfocusEditor () |
| void | ValueChangeInEvent (wxVariant variant) |
| bool | WasValueChangedInEvent () const |
| wxPropertyGrid (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxPG_DEFAULT_STYLE, const wxString &name=wxPropertyGridNameStr) | |
| wxPropertyGrid () | |
| virtual | ~wxPropertyGrid () |
Static Public Member Functions | |
| static void | ArrayStringToString (wxString &dst, const wxArrayString &src, wxChar preDelim, wxChar postDelim, int flags) |
| static void | AutoGetTranslation (bool enable) |
| static wxString & | CreateEscapeSequences (wxString &dst_str, wxString &src_str) |
| static void | DoubleToString (wxString &target, double value, int precision, bool removeZeroes, wxString *precTemplate) |
| static wxString & | ExpandEscapeSequences (wxString &dst_str, wxString &src_str) |
| static wxPGEditor * | RegisterEditorClass (wxPGEditor *editor, const wxString &name, bool noDefCheck=false) |
Protected Member Functions | |
| bool | AddToSelectionFromInputEvent (wxPGProperty *prop, unsigned int colIndex, wxMouseEvent *event=NULL, int selFlags=0) |
| int | CacheColour (const wxColour &colour) |
| void | CalculateFontAndBitmapStuff (int vspacing) |
| void | CorrectEditorWidgetPosY () |
| void | CorrectEditorWidgetSizeX () |
| virtual wxPropertyGridState * | CreateState () const |
| void | CustomSetCursor (int type, bool override=false) |
| void | DestroyEditorWnd (wxWindow *wnd) |
| bool | DoAddToSelection (wxPGProperty *prop, int selFlags=0) |
| void | DoBeginLabelEdit (unsigned int colIndex, int selFlags=0) |
| virtual bool | DoCollapse (wxPGProperty *p, bool sendEvent=false) |
| int | DoDrawItems (wxDC &dc, const wxPGProperty *first_item, const wxPGProperty *last_item, const wxRect *clip_rect, bool isBuffered) const |
| bool | DoEditorValidate () |
| void | DoEndLabelEdit (bool commit, int selFlags=0) |
| virtual bool | DoExpand (wxPGProperty *p, bool sendEvent=false) |
| wxPGProperty * | DoGetItemAtY (int y) const |
| bool | DoHideProperty (wxPGProperty *p, bool hide, int flags) |
| bool | DoRemoveFromSelection (wxPGProperty *prop, int selFlags=0) |
| bool | DoSelectAndEdit (wxPGProperty *prop, unsigned int colIndex, unsigned int selFlags) |
| void | DoSetPropertyName (wxPGProperty *p, const wxString &newname) |
| void | DoSetSelection (const wxArrayPGProperty &newSelection, int selFlags=0) |
| void | DoSetSplitterPosition_ (int newxpos, bool refresh=true, int splitterIndex=0, bool allPages=false) |
| virtual void | DrawExpanderButton (wxDC &dc, const wxRect &rect, wxPGProperty *property) const |
| void | DrawItems (const wxPGProperty *p1, const wxPGProperty *p2) |
| void | DrawItems (wxDC &dc, unsigned int topitemy, unsigned int bottomitemy, const wxRect *clip_rect=(const wxRect *) NULL) |
| void | FreeEditors () |
| wxRect | GetEditorWidgetRect (wxPGProperty *p, int column) const |
| wxPGProperty * | GetNearestPaintVisible (wxPGProperty *p) const |
| bool | HandleChildKey (wxKeyEvent &event) |
| void | HandleFocusChange (wxWindow *newFocused) |
| void | HandleKeyEvent (wxKeyEvent &event) |
| bool | HandleMouseClick (int x, unsigned int y, wxMouseEvent &event) |
| bool | HandleMouseDoubleClick (int x, unsigned int y, wxMouseEvent &event) |
| bool | HandleMouseMove (int x, unsigned int y, wxMouseEvent &event) |
| bool | HandleMouseRightClick (int x, unsigned int y, wxMouseEvent &event) |
| bool | HandleMouseUp (int x, unsigned int y, wxMouseEvent &event) |
| void | ImprovedClientToScreen (int *px, int *py) |
| void | Init1 () |
| void | Init2 () |
| int | KeyEventToAction (wxKeyEvent &event) const |
| int | KeyEventToActions (wxKeyEvent &event, int *pSecond) const |
| void | OnCaptureChange (wxMouseCaptureChangedEvent &event) |
| void | OnChildFocusEvent (wxChildFocusEvent &event) |
| void | OnChildKeyDown (wxKeyEvent &event) |
| void | OnChildKeyUp (wxKeyEvent &event) |
| void | OnFocusEvent (wxFocusEvent &event) |
| void | OnIdle (wxIdleEvent &event) |
| void | OnKey (wxKeyEvent &event) |
| void | OnKeyUp (wxKeyEvent &event) |
| void | OnLabelEditorEnterPress (wxCommandEvent &event) |
| void | OnLabelEditorKeyPress (wxKeyEvent &event) |
| bool | OnMouseChildCommon (wxMouseEvent &event, int *px, int *py) |
| void | OnMouseClick (wxMouseEvent &event) |
| void | OnMouseClickChild (wxMouseEvent &event) |
| bool | OnMouseCommon (wxMouseEvent &event, int *px, int *py) |
| void | OnMouseDoubleClick (wxMouseEvent &event) |
| void | OnMouseEntry (wxMouseEvent &event) |
| void | OnMouseMove (wxMouseEvent &event) |
| void | OnMouseMoveBottom (wxMouseEvent &event) |
| void | OnMouseMoveChild (wxMouseEvent &event) |
| void | OnMouseRightClick (wxMouseEvent &event) |
| void | OnMouseRightClickChild (wxMouseEvent &event) |
| void | OnMouseUp (wxMouseEvent &event) |
| void | OnMouseUpChild (wxMouseEvent &event) |
| void | OnNavigationKey (wxNavigationKeyEvent &event) |
| void | OnPaint (wxPaintEvent &event) |
| void | OnResize (wxSizeEvent &event) |
| void | OnScrollEvent (wxScrollWinEvent &event) |
| void | OnSysColourChanged (wxSysColourChangedEvent &event) |
| void | OnTLPClose (wxCloseEvent &event) |
| void | PrepareAfterItemsAdded () |
| virtual bool | ProcessEvent (wxEvent &event) |
| void | RecalculateVirtualSize (int forceXPos=-1) |
| void | RegainColours () |
| void | ResetEditorAppearance () |
| bool | SendEvent (int eventType, wxPGProperty *p, wxVariant *pValue=NULL, unsigned int selFlags=wxPG_SEL_NOVALIDATE, unsigned int column=1) |
| void | SetBackgroundColourIndex (wxPGProperty *p, int index, int flags=wxPG_RECURSE) |
| void | SetEditorAppearance (const wxPGCell &cell) |
| void | SetFocusOnCanvas () |
| void | SetTextColourIndex (wxPGProperty *p, int index, int flags) |
| void | SetupEventHandling (wxWindow *wnd, int id) |
Static Protected Member Functions | |
| static void | RegisterDefaultEditors () |
Protected Attributes | |
| wxPGHashMapI2I | m_actionTriggers |
| wxArrayPtrVoid | m_arrBgBrushes |
| wxArrayPtrVoid | m_arrFgCols |
| int | m_buttonSpacingY |
| wxPanel * | m_canvas |
| wxFont | m_captionFont |
| wxVariant | m_changeInEventValue |
| wxPGProperty * | m_chgInfo_baseChangedProperty |
| wxPGProperty * | m_chgInfo_changedProperty |
| wxVariant | m_chgInfo_pendingValue |
| wxVariant | m_chgInfo_valueList |
| int | m_clearThisMany |
| wxColour | m_colCapBack |
| wxColour | m_colCapFore |
| wxColour | m_colDisPropFore |
| wxColour | m_colEmptySpace |
| unsigned int | m_colHover |
| wxBitmap * | m_collbmp |
| wxColour | m_colLine |
| wxColour | m_colMargin |
| unsigned short | m_coloursCustomized |
| wxColour | m_colPropBack |
| wxColour | m_colPropFore |
| wxColour | m_colSelBack |
| wxColour | m_colSelFore |
| wxArrayPtrVoid | m_commonValues |
| int | m_ctrlXAdjust |
| int | m_curcursor |
| wxWindow * | m_curFocused |
| wxCursor * | m_cursorSizeWE |
| int | m_cvUnspecified |
| wxArrayPGProperty | m_deletedProperties |
| int | m_draggedSplitter |
| signed char | m_dragOffset |
| unsigned char | m_dragStatus |
| wxPGCell | m_editorAppearance |
| unsigned char | m_editorFocused |
| wxWindow * | m_eventObject |
| wxBitmap * | m_expandbmp |
| int | m_fontHeight |
| unsigned char | m_frozen |
| int | m_gutterWidth |
| int | m_height |
| int | m_iconHeight |
| int | m_iconWidth |
| wxUint32 | m_iFlags |
| unsigned char | m_inCommitChangesFromEditor |
| unsigned char | m_inDoPropertyChanged |
| bool | m_inDoSelectProperty |
| bool | m_inOnValidationFailure |
| unsigned char | m_keyComboConsumed |
| wxWindow * | m_labelEditor |
| wxPGProperty * | m_labelEditorProperty |
| int | m_lineHeight |
| int | m_marginWidth |
| unsigned char | m_mouseSide |
| int | m_ncWidth |
| wxPGVFBFlags | m_permanentValidationFailureBehavior |
| wxString | m_prevTcValue |
| int | m_prevVY |
| wxPropertyGridEvent * | m_processedEvent |
| wxPGProperty * | m_propHover |
| int | m_propHoverY |
| int | m_pushButKeyCode |
| unsigned char | m_pushButKeyCodeNeedsAlt |
| unsigned char | m_pushButKeyCodeNeedsCtrl |
| wxArrayPGProperty | m_removedProperties |
| unsigned int | m_selColumn |
| wxPGSortCallback | m_sortFunction |
| int | m_spacingy |
| int | m_startingSplitterX |
| int | m_subgroup_extramargin |
| wxLongLong | m_timeCreated |
| wxWindow * | m_tlp |
| wxWindow * | m_tlpClosed |
| wxLongLong | m_tlpClosedTime |
| wxPGCell | m_unspecifiedAppearance |
| wxPGValidationInfo | m_validationInfo |
| wxArrayPtrVoid | m_visPropArray |
| unsigned char | m_vspacing |
| int | m_width |
| wxArrayPtrVoid * | m_windowsToDelete |
| wxWindow * | m_wndEditor |
| wxWindow * | m_wndEditor2 |
| int | m_wndSecId |
Private Member Functions | |
| bool | ButtonTriggerKeyTest (wxKeyEvent &event) |
Friends | |
| class | wxPGCanvas |
| class | wxPropertyGridInterface |
| class | wxPropertyGridManager |
| class | wxPropertyGridState |
wxPropertyGrid is a specialized two-column grid for editing properties such as strings, numbers, flagsets, fonts, and colours. wxPropertySheet used to do the very same thing, but it hasn't been updated for a while and it is currently deprecated.
Please note that most member functions are inherited and as such not documented on this page. This means you will probably also want to read wxPropertyGridInterface class reference.
wxPropertyGridInterface
wxScrolledWindow
wxPanel
wxWindow
wxEvtHandler
wxObject
<wx/propertygrid/propertygrid.h>
To process input from a propertygrid control, use these event handler macros to direct input to member functions that take a wxPropertyGridEvent argument.
| EVT_PG_SELECTED (id, func) | Property is selected. |
| EVT_PG_CHANGED (id, func) | Property value is modified. |
| EVT_PG_CHANGING (id, func) | Property value is about to be changed. Use wxPropertyGridEvent::GetValue() to take a peek at the pending value, and wxPropertyGridEvent::Veto() to prevent change from taking place, if necessary. |
| EVT_PG_HIGHLIGHTED (id, func) | Mouse moves over property. Event's property is NULL if hovered on area that is not a property. |
| EVT_PG_RIGHT_CLICK (id, func) | Mouse right-clicked on a property. |
| EVT_PG_DOUBLE_CLICK (id, func) | Mouse double-clicked on a property. |
| EVT_PG_ITEM_COLLAPSED (id, func) | User collapses a property or category. |
| EVT_PG_ITEM_EXPANDED (id, func) | User expands a property or category. |
| EVT_PG_LABEL_EDIT_BEGIN (id, func) | User is about to begin editing a property label. You can veto this event to prevent the action. |
| EVT_PG_LABEL_EDIT_ENDING (id, func) | User is about to end editing of a property label. You can veto this event to prevent the action. |
| EVT_BUTTON (id, func) | Button in a property editor was clicked. Only occurs if the property doesn't handle button clicks itself. |
| EVT_TEXT (id, func) | wxTextCtrl based editor was updated (but property value was not yet modified) |
For code examples, see the main page.
Definition at line 6579 of file propgrid.h.
| wxPropertyGrid::wxPropertyGrid | ( | ) |
Two step constructor. Call Create when this constructor is called to build up the wxPropertyGrid
| wxPropertyGrid::wxPropertyGrid | ( | wxWindow * | parent, | |
| wxWindowID | id = wxID_ANY, |
|||
| const wxPoint & | pos = wxDefaultPosition, |
|||
| const wxSize & | size = wxDefaultSize, |
|||
| long | style = wxPG_DEFAULT_STYLE, |
|||
| const wxString & | name = wxPropertyGridNameStr | |||
| ) |
The default constructor. The styles to be used are styles valid for the wxWindow and wxScrolledWindow.
| virtual wxPropertyGrid::~wxPropertyGrid | ( | ) | [virtual] |
Destructor
| void wxPropertyGrid::AddActionTrigger | ( | int | action, | |
| int | keycode, | |||
| int | modifiers = 0 | |||
| ) |
Adds given key combination to trigger given action.
| action | Which action to trigger. See List of list of wxPropertyGrid actions. |
| bool wxPropertyGrid::AddToSelection | ( | wxPGPropArg | id | ) | [inline] |
Adds given property into selection. If wxPG_EX_MULTIPLE_SELECTION extra style is not used, then this has same effect as calling SelectProperty().
Definition at line 7389 of file propgrid.h.
| bool wxPropertyGrid::AddToSelectionFromInputEvent | ( | wxPGProperty * | prop, | |
| unsigned int | colIndex, | |||
| wxMouseEvent * | event = NULL, |
|||
| int | selFlags = 0 | |||
| ) | [protected] |
| bool wxPropertyGrid::AdjustPosForClipperWindow | ( | wxWindow * | topCtrlWnd, | |
| int * | x, | |||
| int * | y | |||
| ) |
Adjusts given position if topCtrlWnd is child of clipper window.
| static void wxPropertyGrid::ArrayStringToString | ( | wxString & | dst, | |
| const wxArrayString & | src, | |||
| wxChar | preDelim, | |||
| wxChar | postDelim, | |||
| int | flags | |||
| ) | [static] |
Generates contents for string dst based on the convetents of wxArrayString src. Format will be "(preDelim)str1(postDelim) (preDelim)str2(postDelim) and so on. Set flags to 1 inorder to convert backslashes to double-back- slashes and "(preDelims)"'s to "(preDelims)".
| static void wxPropertyGrid::AutoGetTranslation | ( | bool | enable | ) | [static] |
This static function enables or disables automatic use of wxGetTranslation for following strings: wxEnumProperty list labels, wxFlagsProperty sub-property labels. Default is false.
| void wxPropertyGrid::BeginLabelEdit | ( | unsigned int | column = 0 |
) | [inline] |
Creates label editor wxTextCtrl for given column, for property that is currently selected. When multiple selection is enabled, this applies to whatever property GetSelection() returns.
| colIndex | Which column's label to edit. Note that you should not use value 1, which is reserved for property value column. |
Definition at line 7424 of file propgrid.h.
| bool wxPropertyGrid::ButtonTriggerKeyTest | ( | wxKeyEvent & | event | ) | [private] |
| int wxPropertyGrid::CacheColour | ( | const wxColour & | colour | ) | [protected] |
| void wxPropertyGrid::CalculateFontAndBitmapStuff | ( | int | vspacing | ) | [protected] |
Adjust the centering of the bitmap icons (collapse / expand) when the caption font changes. They need to be centered in the middle of the font, so a bit of deltaY adjustment is needed. On entry, m_captionFont must be set to window font. It will be modified properly.
| bool wxPropertyGrid::CanClose | ( | ) | [inline] |
Returns true if all property grid data changes have been committed. Usually only returns false if value in active editor has been invalidated by a wxValidator.
Definition at line 6648 of file propgrid.h.
| void wxPropertyGrid::CenterSplitter | ( | bool | enableAutoResizing = false |
) |
Centers the splitter.
| enableAutoResizing | If , automatic column resizing is enabled (only applicapple if window style wxPG_SPLITTER_AUTO_CENTER is used). |
| bool wxPropertyGrid::ChangePropertyValue | ( | wxPGPropArg | id, | |
| wxVariant | newValue | |||
| ) |
Changes value of a property, as if from an editor. Use this instead of SetPropertyValue() if you need the value to run through validation process, and also send the property change event.
| Returns | true if value was succesfully changed. |
Reimplemented from wxPropertyGridInterface.
| virtual void wxPropertyGrid::Clear | ( | ) | [virtual] |
Deletes all properties. Does not free memory allocated for arrays etc. This should *not* be called in wxPropertyGridManager.
Implements wxPropertyGridInterface.
| void wxPropertyGrid::ClearActionTriggers | ( | int | action | ) |
Clears action triggers for given action.
| action | Which action to trigger. See List of list of wxPropertyGrid actions. |
| void wxPropertyGrid::ClearInternalFlag | ( | long | flag | ) | [inline] |
Definition at line 7624 of file propgrid.h.
| void wxPropertyGrid::ClearModifiedStatus | ( | ) | [inline] |
Resets modified status of all properties.
Definition at line 6711 of file propgrid.h.
| void wxPropertyGrid::ClearModifiedStatus | ( | wxPGPropArg | id | ) | [inline] |
Resets modified status of a property and all sub-properties.
Definition at line 6703 of file propgrid.h.
| virtual bool wxPropertyGrid::CommitChangesFromEditor | ( | wxUint32 | flags = 0 |
) | [virtual] |
Forces updating the value of property from the editor control. Note that wxEVT_PG_CHANGING and wxEVT_PG_CHANGED are dispatched using ProcessEvent, meaning your event handlers will be called immediately.
| Returns | true if anything was changed. |
| void wxPropertyGrid::CorrectEditorWidgetPosY | ( | ) | [protected] |
Called in RecalculateVirtualSize() to reposition control on virtual height changes.
| void wxPropertyGrid::CorrectEditorWidgetSizeX | ( | ) | [protected] |
| bool wxPropertyGrid::Create | ( | wxWindow * | parent, | |
| wxWindowID | id = wxID_ANY, |
|||
| const wxPoint & | pos = wxDefaultPosition, |
|||
| const wxSize & | size = wxDefaultSize, |
|||
| long | style = wxPG_DEFAULT_STYLE, |
|||
| const wxString & | name = wxPropertyGridNameStr | |||
| ) |
Two step creation. Whenever the control is created without any parameters, use Create to actually create it. Don't access the control's public methods before this is called
| static wxString& wxPropertyGrid::CreateEscapeSequences | ( | wxString & | dst_str, | |
| wxString & | src_str | |||
| ) | [static] |
| virtual wxPropertyGridState* wxPropertyGrid::CreateState | ( | ) | const [protected, virtual] |
wxPropertyGridState used by the grid is created here. If grid is used in wxPropertyGridManager, there is no point overriding this - instead, set custom wxPropertyGridPage classes.
| void wxPropertyGrid::CustomSetCursor | ( | int | type, | |
| bool | override = false | |||
| ) | [protected] |
| void wxPropertyGrid::DecFrozen | ( | ) | [inline] |
Definition at line 7676 of file propgrid.h.
| virtual bool wxPropertyGrid::Destroy | ( | ) | [virtual] |
| void wxPropertyGrid::DestroyEditorWnd | ( | wxWindow * | wnd | ) | [protected] |
| bool wxPropertyGrid::DoAddToSelection | ( | wxPGProperty * | prop, | |
| int | selFlags = 0 | |||
| ) | [protected] |
| void wxPropertyGrid::DoBeginLabelEdit | ( | unsigned int | colIndex, | |
| int | selFlags = 0 | |||
| ) | [protected] |
| virtual bool wxPropertyGrid::DoCollapse | ( | wxPGProperty * | p, | |
| bool | sendEvent = false | |||
| ) | [protected, virtual] |
| int wxPropertyGrid::DoDrawItems | ( | wxDC & | dc, | |
| const wxPGProperty * | first_item, | |||
| const wxPGProperty * | last_item, | |||
| const wxRect * | clip_rect, | |||
| bool | isBuffered | |||
| ) | const [protected] |
| bool wxPropertyGrid::DoEditorValidate | ( | ) | [protected] |
| void wxPropertyGrid::DoEndLabelEdit | ( | bool | commit, | |
| int | selFlags = 0 | |||
| ) | [protected] |
| virtual bool wxPropertyGrid::DoExpand | ( | wxPGProperty * | p, | |
| bool | sendEvent = false | |||
| ) | [protected, virtual] |
| virtual wxSize wxPropertyGrid::DoGetBestSize | ( | ) | const [virtual] |
| wxPGProperty* wxPropertyGrid::DoGetItemAtY | ( | int | y | ) | const [protected] |
| bool wxPropertyGrid::DoHideProperty | ( | wxPGProperty * | p, | |
| bool | hide, | |||
| int | flags | |||
| ) | [protected] |
| virtual void wxPropertyGrid::DoHidePropertyError | ( | wxPGProperty * | property | ) | [virtual] |
Override in derived class to hide an error displayed by DoShowPropertyError().
| virtual bool wxPropertyGrid::DoOnValidationFailure | ( | wxPGProperty * | property, | |
| wxVariant & | invalidValue | |||
| ) | [virtual] |
Override to customize property validation failure behavior.
| invalidValue | Value which failed in validation. |
| Return | true if user is allowed to change to another property even if current has invalid value. |
| virtual void wxPropertyGrid::DoOnValidationFailureReset | ( | wxPGProperty * | property | ) | [virtual] |
Override to customize resetting of property validation failure status.
| virtual bool wxPropertyGrid::DoPropertyChanged | ( | wxPGProperty * | p, | |
| unsigned int | selFlags = 0 | |||
| ) | [virtual] |
Pending value is expected to be passed in PerformValidation().
| bool wxPropertyGrid::DoRemoveFromSelection | ( | wxPGProperty * | prop, | |
| int | selFlags = 0 | |||
| ) | [protected] |
| bool wxPropertyGrid::DoSelectAndEdit | ( | wxPGProperty * | prop, | |
| unsigned int | colIndex, | |||
| unsigned int | selFlags | |||
| ) | [protected] |
| bool wxPropertyGrid::DoSelectProperty | ( | wxPGProperty * | p, | |
| unsigned int | flags = 0 | |||
| ) |
| void wxPropertyGrid::DoSetPropertyName | ( | wxPGProperty * | p, | |
| const wxString & | newname | |||
| ) | [protected] |
| void wxPropertyGrid::DoSetSelection | ( | const wxArrayPGProperty & | newSelection, | |
| int | selFlags = 0 | |||
| ) | [protected] |
| void wxPropertyGrid::DoSetSplitterPosition_ | ( | int | newxpos, | |
| bool | refresh = true, |
|||
| int | splitterIndex = 0, |
|||
| bool | allPages = false | |||
| ) | [protected] |
| virtual void wxPropertyGrid::DoShowPropertyError | ( | wxPGProperty * | property, | |
| const wxString & | msg | |||
| ) | [virtual] |
Override in derived class to display error messages in custom manner (these message usually only result from validation failure).
| static void wxPropertyGrid::DoubleToString | ( | wxString & | target, | |
| double | value, | |||
| int | precision, | |||
| bool | removeZeroes, | |||
| wxString * | precTemplate | |||
| ) | [static] |
Standardized double-to-string conversion.
| virtual void wxPropertyGrid::DrawExpanderButton | ( | wxDC & | dc, | |
| const wxRect & | rect, | |||
| wxPGProperty * | property | |||
| ) | const [protected, virtual] |
Draws an expand/collapse (ie. +/-) button.
| void wxPropertyGrid::DrawItem | ( | wxPGProperty * | p | ) | [inline] |
Definition at line 7782 of file propgrid.h.
| virtual void wxPropertyGrid::DrawItemAndChildren | ( | wxPGProperty * | p | ) | [virtual] |
| void wxPropertyGrid::DrawItemAndValueRelated | ( | wxPGProperty * | p | ) |
Draws item, children, and consequtive parents as long as category is not met.
| void wxPropertyGrid::DrawItems | ( | const wxPGProperty * | p1, | |
| const wxPGProperty * | p2 | |||
| ) | [protected] |
| void wxPropertyGrid::DrawItems | ( | wxDC & | dc, | |
| unsigned int | topitemy, | |||
| unsigned int | bottomitemy, | |||
| const wxRect * | clip_rect = (const wxRect *) NULL | |||
| ) | [protected] |
Draws items from topitemy to bottomitemy
| void wxPropertyGrid::EditorsValueWasModified | ( | ) | [inline] |
Call when editor widget's contents is modified. For example, this is called when changes text in wxTextCtrl (used in wxStringProperty and wxIntProperty).
Definition at line 7502 of file propgrid.h.
| void wxPropertyGrid::EditorsValueWasNotModified | ( | ) | [inline] |
Reverse of EditorsValueWasModified().
Definition at line 7505 of file propgrid.h.
| bool wxPropertyGrid::EditorValidate | ( | ) | [inline] |
Returns true if all property grid data changes have been committed. Usually only returns false if value in active editor has been invalidated by a wxValidator.
Definition at line 6663 of file propgrid.h.
| bool wxPropertyGrid::EnableCategories | ( | bool | enable | ) |
Enables or disables (shows/hides) categories according to parameter enable.
| void wxPropertyGrid::EndLabelEdit | ( | bool | commit = true |
) | [inline] |
Destroys label editor wxTextCtrl, if any.
| commit | Use (default) to store edited label text in property cell data. |
Definition at line 7436 of file propgrid.h.
| bool wxPropertyGrid::EnsureVisible | ( | wxPGPropArg | id | ) |
Scrolls and/or expands items to ensure that the given item is visible. Returns true if something was actually done.
| static wxString& wxPropertyGrid::ExpandEscapeSequences | ( | wxString & | dst_str, | |
| wxString & | src_str | |||
| ) | [static] |
| wxSize wxPropertyGrid::FitColumns | ( | ) | [inline] |
Reduces column sizes to minimum possible that contents are still visibly (naturally some margin space will be applied as well).
| Minimum | size for the grid to still display everything. |
This function only works properly if grid size prior to call was already fairly large.
Note that you can also get calculated column widths by calling GetState->GetColumnWidth() immediately after this function returns.
Definition at line 6781 of file propgrid.h.
| void wxPropertyGrid::FixPosForTextCtrl | ( | wxWindow * | ctrl, | |
| unsigned int | forColumn = 1, |
|||
| const wxPoint & | offset = wxPoint(0, 0) | |||
| ) |
Fixes position of wxTextCtrl-like control (wxSpinCtrl usually fits as one). Call after control has been created (but before shown).
| void wxPropertyGrid::FreeEditors | ( | ) | [protected] |
| virtual void wxPropertyGrid::Freeze | ( | ) | [virtual] |
| wxWindow* wxPropertyGrid::GenerateEditorButton | ( | const wxPoint & | pos, | |
| const wxSize & | sz | |||
| ) |
Shortcut for creating dialog-caller button. Used, for example, by wxFontProperty.
| wxWindow* wxPropertyGrid::GenerateEditorTextCtrl | ( | const wxPoint & | pos, | |
| const wxSize & | sz, | |||
| const wxString & | value, | |||
| wxWindow * | secondary, | |||
| int | extraStyle = 0, |
|||
| int | maxLen = 0, |
|||
| unsigned int | forColumn = 1 | |||
| ) |
Shortcut for creating text editor widget.
| pos | Same as pos given for CreateEditor. | |
| sz | Same as sz given for CreateEditor. | |
| value | Initial text for wxTextCtrl. | |
| secondary | If right-side control, such as button, also created, then create it first and pass it as this parameter. | |
| extraStyle | Extra style flags to pass for wxTextCtrl. |
| wxWindow* wxPropertyGrid::GenerateEditorTextCtrlAndButton | ( | const wxPoint & | pos, | |
| const wxSize & | sz, | |||
| wxWindow ** | psecondary, | |||
| int | limited_editing, | |||
| wxPGProperty * | property | |||
| ) |
| wxColour wxPropertyGrid::GetCaptionBackgroundColour | ( | ) | const [inline] |
Returns current category caption background colour.
Definition at line 6794 of file propgrid.h.
| const wxFont& wxPropertyGrid::GetCaptionFont | ( | ) | const [inline] |
Definition at line 6790 of file propgrid.h.
| wxFont& wxPropertyGrid::GetCaptionFont | ( | ) | [inline] |
Definition at line 6787 of file propgrid.h.
| wxColour wxPropertyGrid::GetCaptionForegroundColour | ( | ) | const [inline] |
Returns current category caption text colour.
Definition at line 6797 of file propgrid.h.
| wxColour wxPropertyGrid::GetCellBackgroundColour | ( | ) | const [inline] |
Returns current cell background colour.
Definition at line 6800 of file propgrid.h.
| wxColour wxPropertyGrid::GetCellDisabledTextColour | ( | ) | const [inline] |
Returns current cell text colour when disabled.
Definition at line 6803 of file propgrid.h.
| wxColour wxPropertyGrid::GetCellTextColour | ( | ) | const [inline] |
Returns current cell text colour.
Definition at line 6806 of file propgrid.h.
| unsigned int wxPropertyGrid::GetChildrenCount | ( | wxPGPropArg | id | ) | const [inline] |
Returns number of children for the property.
NB: Cannot be in container methods class due to name hiding.
Definition at line 6819 of file propgrid.h.
| unsigned int wxPropertyGrid::GetChildrenCount | ( | ) | [inline] |
Returns number of children of the root property.
Definition at line 6810 of file propgrid.h.
| unsigned int wxPropertyGrid::GetColumnCount | ( | ) | const [inline] |
Definition at line 6825 of file propgrid.h.
| const wxPGCommonValue* wxPropertyGrid::GetCommonValue | ( | unsigned int | i | ) | const [inline] |
Definition at line 6741 of file propgrid.h.
| unsigned int wxPropertyGrid::GetCommonValueCount | ( | ) | const [inline] |
Returns number of common values.
Definition at line 6748 of file propgrid.h.
| wxString wxPropertyGrid::GetCommonValueLabel | ( | unsigned int | i | ) | const [inline] |
Returns label of given common value.
Definition at line 6755 of file propgrid.h.
| wxWindow* wxPropertyGrid::GetEditorControl | ( | ) | const |
Returns pointer to current active primary editor control (NULL if none).
If editor uses clipper window, pointer is returned to the actual editor, not the clipper.
| wxWindow* wxPropertyGrid::GetEditorControlSecondary | ( | ) | const [inline] |
Returns pointer to current active secondary editor control (NULL if none).
Definition at line 7602 of file propgrid.h.
| wxTextCtrl* wxPropertyGrid::GetEditorTextCtrl | ( | ) | const |
Returns wxTextCtrl active in currently selected property, if any. Takes into account wxOwnerDrawnComboBox.
| wxRect wxPropertyGrid::GetEditorWidgetRect | ( | wxPGProperty * | p, | |
| int | column | |||
| ) | const [protected] |
| wxColour wxPropertyGrid::GetEmptySpaceColour | ( | ) | const [inline] |
Returns colour of empty space below properties.
Definition at line 6831 of file propgrid.h.
| int wxPropertyGrid::GetFontHeight | ( | ) | const [inline] |
Returns height of highest characters of used font.
Definition at line 6854 of file propgrid.h.
| wxPoint wxPropertyGrid::GetGoodEditorDialogPosition | ( | wxPGProperty * | p, | |
| const wxSize & | sz | |||
| ) |
Generates position for a widget editor dialog box.
| p | Property for which dialog is positioned. | |
| sz | Known or over-approximated size of the dialog. |
| Position | for dialog. |
| wxPropertyGrid* wxPropertyGrid::GetGrid | ( | ) | [inline] |
Returns pointer to itself. Dummy function that enables same kind of code to use wxPropertyGrid and wxPropertyGridManager.
Definition at line 6859 of file propgrid.h.
| wxRect wxPropertyGrid::GetImageRect | ( | wxPGProperty * | p, | |
| int | item | |||
| ) | const |
| wxSize wxPropertyGrid::GetImageSize | ( | wxPGProperty * | p = NULL, |
|
| int | item = -1 | |||
| ) | const |
Returns size of the custom paint image in front of property. If no argument is given, returns preferred size.
| long wxPropertyGrid::GetInternalFlags | ( | ) | const [inline] |
Definition at line 7622 of file propgrid.h.
| wxPGProperty* wxPropertyGrid::GetItemAtY | ( | int | y | ) | const [inline] |
Returns GetCustomPaintWidth for odcombo, GetImageSize(GetSelection()) otherwise. Returns property (or category) at given y coordinate (relative to control's top left).
Definition at line 6897 of file propgrid.h.
| wxTextCtrl* wxPropertyGrid::GetLabelEditor | ( | ) | const |
Returns currently active label editor, NULL if none.
| const wxPGProperty* wxPropertyGrid::GetLastItem | ( | int | flags = wxPG_ITERATE_DEFAULT |
) | const [inline] |
Definition at line 6908 of file propgrid.h.
| wxPGProperty* wxPropertyGrid::GetLastItem | ( | int | flags = wxPG_ITERATE_DEFAULT |
) | [inline] |
Returns last item which could be iterated using given flags.
| flags | List of iterator flags |
Definition at line 6903 of file propgrid.h.
| wxColour wxPropertyGrid::GetLineColour | ( | ) | const [inline] |
Returns colour of lines between cells.
Definition at line 6955 of file propgrid.h.
| wxColour wxPropertyGrid::GetMarginColour | ( | ) | const [inline] |
Returns background colour of margin.
Definition at line 6958 of file propgrid.h.
| wxPGProperty* wxPropertyGrid::GetNearestPaintVisible | ( | wxPGProperty * | p | ) | const [protected] |
| wxPanel* wxPropertyGrid::GetPanel | ( | ) | const [inline] |
Returns wxWindow that the properties are painted on, and which should be used as the parent for editor controls.
Definition at line 6736 of file propgrid.h.
| wxWindow* wxPropertyGrid::GetPrimaryEditor | ( | ) | const [inline] |
Definition at line 7595 of file propgrid.h.
| wxColour wxPropertyGrid::GetPropertyBackgroundColour | ( | wxPGPropArg | id | ) | const |
Returns cell background colour of a property.
| wxPGProperty* wxPropertyGrid::GetPropertyByLabel | ( | const wxString & | name | ) | const [inline] |
Returns id of property with given label (case-sensitive). If there is no property with such label, returned property id is invalid ( i.e. it will return false with IsOk method). If there are multiple properties with identical name, most recent added is returned.
Definition at line 7044 of file propgrid.h.
| wxColour wxPropertyGrid::GetPropertyColour | ( | wxPGPropArg | id | ) | const [inline] |
Returns cell background colour of a property.
Definition at line 7031 of file propgrid.h.
| wxRect wxPropertyGrid::GetPropertyRect | ( | const wxPGProperty * | p1, | |
| const wxPGProperty * | p2 | |||
| ) | const |
Returns rectangle that fully contains properties between and including p1 and p2.
| wxColour wxPropertyGrid::GetPropertyTextColour | ( | wxPGPropArg | id | ) | const |
Returns cell background colour of a property.
| wxPGProperty* wxPropertyGrid::GetRoot | ( | ) | const [inline] |
Returns "root property". It does not have name, etc. and it is not visible. It is only useful for accessing its children.
Definition at line 7052 of file propgrid.h.
| int wxPropertyGrid::GetRowHeight | ( | ) | const [inline] |
Returns height of a single grid row (in pixels).
Definition at line 7055 of file propgrid.h.
| wxPGProperty* wxPropertyGrid::GetSelectedProperty | ( | ) | const [inline] |
Definition at line 7057 of file propgrid.h.
| wxColour wxPropertyGrid::GetSelectionBackgroundColour | ( | ) | const [inline] |
Returns current selection background colour.
Definition at line 7060 of file propgrid.h.
| wxColour wxPropertyGrid::GetSelectionForegroundColour | ( | ) | const [inline] |
Returns current selection text colour.
Definition at line 7063 of file propgrid.h.
| wxPGSortCallback wxPropertyGrid::GetSortFunction | ( | ) | const [inline] |
Returns the property sort function (NULL is default).
Definition at line 7304 of file propgrid.h.
| int wxPropertyGrid::GetSpacingY | ( | ) | const [inline] |
Definition at line 7773 of file propgrid.h.
| int wxPropertyGrid::GetSplitterPosition | ( | ) | const [inline] |
Returns current splitter x position.
Definition at line 7066 of file propgrid.h.
| int wxPropertyGrid::GetUnspecifiedCommonValue | ( | ) | const [inline] |
Returns index of common value that will truly change value to unspecified.
Definition at line 7075 of file propgrid.h.
| const wxPGCell& wxPropertyGrid::GetUnspecifiedValueAppearance | ( | ) | const [inline] |
Returns current appearance of unspecified value cells.
Definition at line 7330 of file propgrid.h.
| wxString wxPropertyGrid::GetUnspecifiedValueText | ( | int | argFlags = 0 |
) | const |
Returns (visual) text representation of the unspecified property value.
| wxPGValidationInfo& wxPropertyGrid::GetValidationInfo | ( | ) | [inline] |
Definition at line 7077 of file propgrid.h.
| int wxPropertyGrid::GetVerticalSpacing | ( | ) | const [inline] |
Returns current vertical spacing.
Definition at line 7083 of file propgrid.h.
| bool wxPropertyGrid::HandleChildKey | ( | wxKeyEvent & | event | ) | [protected] |
| bool wxPropertyGrid::HandleCustomEditorEvent | ( | wxCommandEvent & | event | ) |
| void wxPropertyGrid::HandleFocusChange | ( | wxWindow * | newFocused | ) | [protected] |
| void wxPropertyGrid::HandleKeyEvent | ( | wxKeyEvent & | event | ) | [protected] |
| bool wxPropertyGrid::HandleMouseClick | ( | int | x, | |
| unsigned int | y, | |||
| wxMouseEvent & | event | |||
| ) | [protected] |
| bool wxPropertyGrid::HandleMouseDoubleClick | ( | int | x, | |
| unsigned int | y, | |||
| wxMouseEvent & | event | |||
| ) | [protected] |
| bool wxPropertyGrid::HandleMouseMove | ( | int | x, | |
| unsigned int | y, | |||
| wxMouseEvent & | event | |||
| ) | [protected] |
| bool wxPropertyGrid::HandleMouseRightClick | ( | int | x, | |
| unsigned int | y, | |||
| wxMouseEvent & | event | |||
| ) | [protected] |
| bool wxPropertyGrid::HandleMouseUp | ( | int | x, | |
| unsigned int | y, | |||
| wxMouseEvent & | event | |||
| ) | [protected] |
| bool wxPropertyGrid::HasInternalFlag | ( | long | flag | ) | const [inline] |
Definition at line 7621 of file propgrid.h.
| bool wxPropertyGrid::HasSelection | ( | ) | const [inline] |
Returns true if a property is selected.
Definition at line 7086 of file propgrid.h.
| bool wxPropertyGrid::HasVirtualWidth | ( | ) | const [inline] |
Definition at line 7088 of file propgrid.h.
| wxPropertyGridHitTestResult wxPropertyGrid::HitTest | ( | const wxPoint & | pt | ) | const |
Returns information about arbitrary position in the grid.
| void wxPropertyGrid::ImprovedClientToScreen | ( | int * | px, | |
| int * | py | |||
| ) | [protected] |
| void wxPropertyGrid::IncFrozen | ( | ) | [inline] |
Definition at line 7675 of file propgrid.h.
| void wxPropertyGrid::Init1 | ( | ) | [protected] |
| void wxPropertyGrid::Init2 | ( | ) | [protected] |
| bool wxPropertyGrid::IsAnyModified | ( | ) | const [inline] |
Returns true if any property has been modified by the user.
Definition at line 7095 of file propgrid.h.
| bool wxPropertyGrid::IsEditorFocused | ( | ) | const |
Returns if editor control has focus
| bool wxPropertyGrid::IsEditorsValueModified | ( | ) | const [inline] |
Returns true if editor's value was marked modified.
Definition at line 7511 of file propgrid.h.
| bool wxPropertyGrid::IsFrozen | ( | ) | const [inline] |
Returns true if updating is frozen (ie. Freeze() called but not yet Thaw() ).
Definition at line 7098 of file propgrid.h.
| bool wxPropertyGrid::IsMainButtonEvent | ( | const wxEvent & | event | ) | [inline] |
Returns true if given event is from first of an array of buttons (as can be in case when wxPGMultiButton is used).
Definition at line 7721 of file propgrid.h.
| int wxPropertyGrid::KeyEventToAction | ( | wxKeyEvent & | event | ) | const [inline, protected] |
Definition at line 8162 of file propgrid.h.
| int wxPropertyGrid::KeyEventToActions | ( | wxKeyEvent & | event, | |
| int * | pSecond | |||
| ) | const [protected] |
| void wxPropertyGrid::MakeColumnEditable | ( | unsigned int | column, | |
| bool | editable = true | |||
| ) |
Makes given column editable by user.
| editable | Using here will disable column from being editable. |
| void wxPropertyGrid::OnCaptureChange | ( | wxMouseCaptureChangedEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnChildFocusEvent | ( | wxChildFocusEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnChildKeyDown | ( | wxKeyEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnChildKeyUp | ( | wxKeyEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnComboItemPaint | ( | wxPGCustomComboControl * | pCb, | |
| int | item, | |||
| wxDC & | dc, | |||
| wxRect & | rect, | |||
| int | flags | |||
| ) |
| void wxPropertyGrid::OnCustomEditorEvent | ( | wxCommandEvent & | event | ) |
Pass this function to Connect calls in propertyclass::CreateEditor.
| void wxPropertyGrid::OnFocusEvent | ( | wxFocusEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnIdle | ( | wxIdleEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnKey | ( | wxKeyEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnKeyUp | ( | wxKeyEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnLabelEditorEnterPress | ( | wxCommandEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnLabelEditorKeyPress | ( | wxKeyEvent & | event | ) | [protected] |
| bool wxPropertyGrid::OnMouseChildCommon | ( | wxMouseEvent & | event, | |
| int * | px, | |||
| int * | py | |||
| ) | [protected] |
| void wxPropertyGrid::OnMouseClick | ( | wxMouseEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnMouseClickChild | ( | wxMouseEvent & | event | ) | [protected] |
| bool wxPropertyGrid::OnMouseCommon | ( | wxMouseEvent & | event, | |
| int * | px, | |||
| int * | py | |||
| ) | [protected] |
| void wxPropertyGrid::OnMouseDoubleClick | ( | wxMouseEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnMouseEntry | ( | wxMouseEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnMouseMove | ( | wxMouseEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnMouseMoveBottom | ( | wxMouseEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnMouseMoveChild | ( | wxMouseEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnMouseRightClick | ( | wxMouseEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnMouseRightClickChild | ( | wxMouseEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnMouseUp | ( | wxMouseEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnMouseUpChild | ( | wxMouseEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnNavigationKey | ( | wxNavigationKeyEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnPaint | ( | wxPaintEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnResize | ( | wxSizeEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnScrollEvent | ( | wxScrollWinEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnSysColourChanged | ( | wxSysColourChangedEvent & | event | ) | [protected] |
| void wxPropertyGrid::OnTLPChanging | ( | wxWindow * | newTLP | ) |
It is recommended that you call this function any time your code causes wxPropertyGrid's top-level parent to change. wxPropertyGrid's OnIdle() handler should be able to detect most changes, but it is not perfect.
| newTLP | New top-level parent that is about to be set. Old one should still exist as the current one. |
| void wxPropertyGrid::OnTLPClose | ( | wxCloseEvent & | event | ) | [protected] |
| bool wxPropertyGrid::OnValidationFailure | ( | wxPGProperty * | property, | |
| wxVariant & | invalidValue | |||
| ) |
Called when validation for given property fails.
| invalidValue | Value which failed in validation. |
| Return | true if user is allowed to change to another property even if current has invalid value. |
| void wxPropertyGrid::OnValidationFailureReset | ( | wxPGProperty * | property | ) | [inline] |
Called to indicate property and editor has valid value now.
Definition at line 7748 of file propgrid.h.
| virtual bool wxPropertyGrid::PerformValidation | ( | wxPGProperty * | p, | |
| wxVariant & | pendingValue | |||
| ) | [virtual] |
Runs all validation functionality (includes sending wxEVT_PG_CHANGING). Returns true if all tests passed.
| void wxPropertyGrid::PrepareAfterItemsAdded | ( | ) | [protected] |
| virtual bool wxPropertyGrid::ProcessEvent | ( | wxEvent & | event | ) | [protected, virtual] |
| void wxPropertyGrid::RecalculateVirtualSize | ( | int | forceXPos = -1 |
) | [protected] |
Repositions scrollbar and underlying panel according to changed virtual size.
| virtual void wxPropertyGrid::Refresh | ( | bool | eraseBackground = true, |
|
| const wxRect * | rect = (const wxRect *) NULL | |||
| ) | [virtual] |
| void wxPropertyGrid::RefreshEditor | ( | ) |
If selected property's editor is active, then update it's value.
| virtual void wxPropertyGrid::RefreshProperty | ( | wxPGProperty * | p | ) | [virtual] |
Implements wxPropertyGridInterface.
| void wxPropertyGrid::RegainColours | ( | ) | [protected] |
Reloads all non-customized colours from system settings.
| static void wxPropertyGrid::RegisterDefaultEditors | ( | ) | [static, protected] |
| static wxPGEditor* wxPropertyGrid::RegisterEditorClass | ( | wxPGEditor * | editor, | |
| const wxString & | name, | |||
| bool | noDefCheck = false | |||
| ) | [static] |
Registers a new editor class.
| Pointer | to the editor class instance that should be used. |
| bool wxPropertyGrid::RemoveFromSelection | ( | wxPGPropArg | id | ) | [inline] |
Removes given property from selection. If property is not selected, an assertion failure will occur.
Definition at line 7399 of file propgrid.h.
| virtual bool wxPropertyGrid::Reparent | ( | wxWindowBase * | newParent | ) | [virtual] |
| void wxPropertyGrid::ResetColours | ( | ) |
Resets all colours to the original system values.
| void wxPropertyGrid::ResetColumnSizes | ( | bool | enableAutoResizing = false |
) |
Resets column sizes and splitter positions, based on proportions.
| enableAutoResizing | If , automatic column resizing is enabled (only applicapple if window style wxPG_SPLITTER_AUTO_CENTER is used). |
| void wxPropertyGrid::ResetEditorAppearance | ( | ) | [inline, protected] |
Definition at line 8240 of file propgrid.h.
| bool wxPropertyGrid::SelectProperty | ( | wxPGPropArg | id, | |
| bool | focus = false | |||
| ) | [inline] |
Selects a property. Editor widget is automatically created, but not focused unless focus is true. This will generate wxEVT_PG_SELECT event.
| id | Id to property to select. |
| True | if selection finished succesfully. Usually only fails if current value in editor is not valid. |
Definition at line 7363 of file propgrid.h.
| bool wxPropertyGrid::SendEvent | ( | int | eventType, | |
| wxPGProperty * | p, | |||
| wxVariant * | pValue = NULL, |
|||
| unsigned int | selFlags = wxPG_SEL_NOVALIDATE, |
|||
| unsigned int | column = 1 | |||
| ) | [protected] |
| void wxPropertyGrid::SendNavigationKeyEvent | ( | int | dir | ) |
| void wxPropertyGrid::SetBackgroundColourIndex | ( | wxPGProperty * | p, | |
| int | index, | |||
| int | flags = wxPG_RECURSE | |||
| ) | [protected] |
| void wxPropertyGrid::SetButtonShortcut | ( | int | keycode, | |
| bool | ctrlDown = false, |
|||
| bool | altDown = false | |||
| ) |
Changes keyboard shortcut to push the editor button.
| void wxPropertyGrid::SetCaptionBackgroundColour | ( | const wxColour & | col | ) |
Sets category caption background colour.
| void wxPropertyGrid::SetCaptionForegroundColour | ( | const wxColour & | col | ) |
Sets category caption text colour.
| void wxPropertyGrid::SetCaptionTextColour | ( | wxPGPropArg | id, | |
| const wxColour & | col | |||
| ) |
Sets text colour of a category caption (but not it's children).
| void wxPropertyGrid::SetCellBackgroundColour | ( | const wxColour & | col | ) |
Sets default cell background colour - applies to property cells. Note that appearance of editor widgets may not be affected.
| void wxPropertyGrid::SetCellDisabledTextColour | ( | const wxColour & | col | ) |
Sets cell text colour for disabled properties.
| void wxPropertyGrid::SetCellTextColour | ( | const wxColour & | col | ) |
Sets default cell text colour - applies to property name and value text. Note that appearance of editor widgets may not be affected.
| void wxPropertyGrid::SetColumnCount | ( | int | colCount | ) | [inline] |
Set number of columns (2+).
Definition at line 7123 of file propgrid.h.
| void wxPropertyGrid::SetCurControlBoldFont | ( | ) |
| void wxPropertyGrid::SetCurrentCategory | ( | wxPGPropArg | id | ) | [inline] |
Sets the current category - Append will add non-categories under this one.
Definition at line 7177 of file propgrid.h.
| void wxPropertyGrid::SetEditorAppearance | ( | const wxPGCell & | cell | ) | [protected] |
| void wxPropertyGrid::SetEmptySpaceColour | ( | const wxColour & | col | ) |
Sets colour of empty space below properties.
| virtual void wxPropertyGrid::SetExtraStyle | ( | long | exStyle | ) | [virtual] |
| void wxPropertyGrid::SetFocusOnCanvas | ( | ) | [inline, protected] |
Definition at line 8254 of file propgrid.h.
| virtual bool wxPropertyGrid::SetFont | ( | const wxFont & | font | ) | [virtual] |
| void wxPropertyGrid::SetInternalFlag | ( | long | flag | ) | [inline] |
Definition at line 7623 of file propgrid.h.
| void wxPropertyGrid::SetLineColour | ( | const wxColour & | col | ) |
Sets colour of lines between cells.
| void wxPropertyGrid::SetMarginColour | ( | const wxColour & | col | ) |
Sets background colour of margin.
| void wxPropertyGrid::SetPropertyAttributeAll | ( | const wxString & | attrName, | |
| wxVariant | value | |||
| ) |
Sets property attribute for all applicapple properties. Be sure to use this method after all properties have been added to the grid.
| void wxPropertyGrid::SetPropertyBackgroundColour | ( | wxPGPropArg | id, | |
| const wxColour & | col, | |||
| int | flags = wxPG_RECURSE | |||
| ) |
Sets background colour of property and all its children. Colours of captions are not affected. Background brush cache is optimized for often set colours to be set last.
| flags | Default is wxPG_RECURSE which causes colour to be set recursively. Omit this flag to only set colour for the property in question and not any of its children. |
| void wxPropertyGrid::SetPropertyColourToDefault | ( | wxPGPropArg | id | ) |
Sets background and text colour of property and all its children to the default.
| void wxPropertyGrid::SetPropertyName | ( | wxPGPropArg | id, | |
| const wxString & | newname | |||
| ) | [inline] |
Sets name of a property.
| id | Id of a property. | |
| newname | New name. |
Definition at line 7458 of file propgrid.h.
| void wxPropertyGrid::SetPropertyTextColour | ( | wxPGPropArg | id, | |
| const wxColour & | col, | |||
| int | flags = wxPG_RECURSE | |||
| ) |
Sets text colour of property and all its children.
| flags | Default is wxPG_RECURSE which causes colour to be set recursively. Omit this flag to only set colour for the property in question and not any of its children. |
| void wxPropertyGrid::SetSelection | ( | const wxArrayPGProperty & | newSelection | ) | [inline] |
Set entire new selection from given list of properties.
Definition at line 7372 of file propgrid.h.
| void wxPropertyGrid::SetSelectionBackground | ( | const wxColour & | col | ) |
Sets selection background colour - applies to selected property name background.
| void wxPropertyGrid::SetSelectionForeground | ( | const wxColour & | col | ) |
Sets selection foreground colour - applies to selected property name text.
| void wxPropertyGrid::SetSortFunction | ( | wxPGSortCallback | sortFunction | ) | [inline] |
Sets the property sorting function.
| sortFunction | The sorting function to be used. It should return a value greater than 0 if position of p1 is after p2. So, for instance, when comparing property names, you can use following implementation: |
int MyPropertySortFunction(wxPropertyGrid* propGrid, wxPGProperty* p1, wxPGProperty* p2) { return p1->GetBaseName().compare( p2->GetBaseName() ); }
Definition at line 7296 of file propgrid.h.
| void wxPropertyGrid::SetSplitterLeft | ( | bool | subProps = false |
) | [inline] |
Moves splitter as left as possible, while still allowing all labels to be shown in full.
| subProps | If false, will still allow sub-properties (ie. properties which parent is not root or category) to be cropped. |
Definition at line 7135 of file propgrid.h.
| void wxPropertyGrid::SetSplitterPosition | ( | int | newxpos, | |
| bool | refresh = true | |||
| ) | [inline] |
Sets x coordinate of the splitter.
Definition at line 7270 of file propgrid.h.
| void wxPropertyGrid::SetTextColourIndex | ( | wxPGProperty * | p, | |
| int | index, | |||
| int | flags | |||
| ) | [protected] |
| void wxPropertyGrid::SetUnspecifiedCommonValue | ( | int | index | ) | [inline] |
Set index of common value that will truly change value to unspecified. Using -1 will set none to have such effect. Default is 0.
Definition at line 7345 of file propgrid.h.
| void wxPropertyGrid::SetUnspecifiedValueAppearance | ( | const wxPGCell & | cell | ) | [inline] |
Sets appearance of value cells representing an unspecified property value. Default appearance is blank.
Definition at line 7316 of file propgrid.h.
| void wxPropertyGrid::SetupEventHandling | ( | wxWindow * | wnd, | |
| int | id | |||
| ) | [protected] |
| void wxPropertyGrid::SetupTextCtrlValue | ( | const wxString | text | ) | [inline] |
Must be called in wxPGEditor::CreateControls() if primary editor window is wxTextCtrl, just before textctrl is created.
| text | Initial text value of created wxTextCtrl. |
Definition at line 7780 of file propgrid.h.
| void wxPropertyGrid::SetVerticalSpacing | ( | int | vspacing | ) | [inline] |
Sets vertical spacing. Can be 1, 2, or 3 - a value relative to font height. Value of 2 should be default on most platforms.
Definition at line 7470 of file propgrid.h.
| void wxPropertyGrid::SetVirtualWidth | ( | int | width | ) |
Set virtual width for this particular page. Width -1 indicates that the virtual width should be disabled.
| virtual void wxPropertyGrid::SetWindowStyleFlag | ( | long | style | ) | [virtual] |
Overridden function.
| void wxPropertyGrid::ShowPropertyError | ( | wxPGPropArg | id, | |
| const wxString & | msg | |||
| ) | [inline] |
Shows an brief error message that is related to a property.
Definition at line 7478 of file propgrid.h.
| void wxPropertyGrid::Sort | ( | wxPGPropArg | id | ) |
Sorts children of a category.
| void wxPropertyGrid::Sort | ( | ) |
Sorts all items at all levels (except sub-properties).
| void wxPropertyGrid::SwitchState | ( | wxPropertyGridState * | pNewState | ) |
Mostly useful for page switching.
| virtual void wxPropertyGrid::Thaw | ( | ) | [virtual] |
| bool wxPropertyGrid::UnfocusEditor | ( | ) |
Unfocuses or closes editor if one was open, but does not deselect property.
| void wxPropertyGrid::ValueChangeInEvent | ( | wxVariant | variant | ) | [inline] |
Call this from wxPGProperty::OnEvent() to cause property value to be changed after the function returns (with true as return value). ValueChangeInEvent() must be used if you wish the application to be able to use wxEVT_PG_CHANGING to potentially veto the given value.
Definition at line 7697 of file propgrid.h.
| bool wxPropertyGrid::WasValueChangedInEvent | ( | ) | const [inline] |
You can use this member function, for instance, to detect in wxPGProperty::OnEvent() if wxPGProperty::SetValueInEvent() was already called in wxPGEditor::OnEvent(). It really only detects if was value was changed using wxPGProperty::SetValueInEvent(), which is usually used when a 'picker' dialog is displayed. If value was written by "normal means" in wxPGProperty::StringToValue() or IntToValue(), then this function will return false (on the other hand, wxPGProperty::OnEvent() is not even called in those cases).
Definition at line 7713 of file propgrid.h.
friend class wxPGCanvas [friend] |
Definition at line 6585 of file propgrid.h.
friend class wxPropertyGridInterface [friend] |
Definition at line 6583 of file propgrid.h.
friend class wxPropertyGridManager [friend] |
Reimplemented from wxPropertyGridInterface.
Definition at line 6584 of file propgrid.h.
friend class wxPropertyGridState [friend] |
Definition at line 6582 of file propgrid.h.
wxPGHashMapI2I wxPropertyGrid::m_actionTriggers [protected] |
Actions and keys that trigger them.
Definition at line 7930 of file propgrid.h.
wxArrayPtrVoid wxPropertyGrid::m_arrBgBrushes [protected] |
Definition at line 8043 of file propgrid.h.
wxArrayPtrVoid wxPropertyGrid::m_arrFgCols [protected] |
Definition at line 8044 of file propgrid.h.
int wxPropertyGrid::m_buttonSpacingY [protected] |
Definition at line 7883 of file propgrid.h.
wxPanel* wxPropertyGrid::m_canvas [protected] |
wxPGCanvas instance.
Definition at line 7838 of file propgrid.h.
wxFont wxPropertyGrid::m_captionFont [protected] |
This captionFont is made equal to the font of the wxScrolledWindow. As extra the bold face is set on it when this is wanted by the user (see flags)
Definition at line 7902 of file propgrid.h.
wxVariant wxPropertyGrid::m_changeInEventValue [protected] |
wxPGProperty::OnEvent can change value by setting this.
Definition at line 7850 of file propgrid.h.
Lowest property for which editing happened, but which does not have aggregate parent.
Definition at line 7918 of file propgrid.h.
wxPGProperty* wxPropertyGrid::m_chgInfo_changedProperty [protected] |
Changed property, calculated in PerformValidation().
Definition at line 7915 of file propgrid.h.
wxVariant wxPropertyGrid::m_chgInfo_pendingValue [protected] |
Changed property value, calculated in PerformValidation().
Definition at line 7921 of file propgrid.h.
wxVariant wxPropertyGrid::m_chgInfo_valueList [protected] |
Passed to SetValue.
Definition at line 7924 of file propgrid.h.
int wxPropertyGrid::m_clearThisMany [protected] |
When drawing next time, clear this many item slots at the end.
Definition at line 7993 of file propgrid.h.
wxColour wxPropertyGrid::m_colCapBack [protected] |
Definition at line 8034 of file propgrid.h.
wxColour wxPropertyGrid::m_colCapFore [protected] |
Definition at line 8033 of file propgrid.h.
wxColour wxPropertyGrid::m_colDisPropFore [protected] |
Definition at line 8031 of file propgrid.h.
wxColour wxPropertyGrid::m_colEmptySpace [protected] |
Definition at line 8038 of file propgrid.h.
unsigned int wxPropertyGrid::m_colHover [protected] |
Definition at line 7996 of file propgrid.h.
wxBitmap * wxPropertyGrid::m_collbmp [protected] |
Definition at line 7828 of file propgrid.h.
wxColour wxPropertyGrid::m_colLine [protected] |
Definition at line 8029 of file propgrid.h.
wxColour wxPropertyGrid::m_colMargin [protected] |
Definition at line 8037 of file propgrid.h.
unsigned short wxPropertyGrid::m_coloursCustomized [protected] |
Bits are used to indicate which colours are customized.
Definition at line 7947 of file propgrid.h.
wxColour wxPropertyGrid::m_colPropBack [protected] |
Definition at line 8032 of file propgrid.h.
wxColour wxPropertyGrid::m_colPropFore [protected] |
Definition at line 8030 of file propgrid.h.
wxColour wxPropertyGrid::m_colSelBack [protected] |
Definition at line 8036 of file propgrid.h.
wxColour wxPropertyGrid::m_colSelFore [protected] |
Definition at line 8035 of file propgrid.h.
wxArrayPtrVoid wxPropertyGrid::m_commonValues [protected] |
Definition at line 8046 of file propgrid.h.
int wxPropertyGrid::m_ctrlXAdjust [protected] |
Definition at line 8027 of file propgrid.h.
int wxPropertyGrid::m_curcursor [protected] |
Current cursor id.
Definition at line 7898 of file propgrid.h.
wxWindow* wxPropertyGrid::m_curFocused [protected] |
Definition at line 8008 of file propgrid.h.
wxCursor* wxPropertyGrid::m_cursorSizeWE [protected] |
Definition at line 7831 of file propgrid.h.
int wxPropertyGrid::m_cvUnspecified [protected] |
Definition at line 8047 of file propgrid.h.
wxArrayPGProperty wxPropertyGrid::m_deletedProperties [protected] |
List of properties to be deleted/removed in idle event handler.
Definition at line 7939 of file propgrid.h.
int wxPropertyGrid::m_draggedSplitter [protected] |
Index to splitter currently being dragged (0=one after the first column).
Definition at line 7912 of file propgrid.h.
signed char wxPropertyGrid::m_dragOffset [protected] |
x - m_splitterx.
Definition at line 7950 of file propgrid.h.
unsigned char wxPropertyGrid::m_dragStatus [protected] |
0 = not dragging, 1 = drag just started, 2 = drag in progress
Definition at line 7953 of file propgrid.h.
wxPGCell wxPropertyGrid::m_editorAppearance [protected] |
Appearance of currently active editor.
Definition at line 7933 of file propgrid.h.
unsigned char wxPropertyGrid::m_editorFocused [protected] |
True when editor control is focused.
Definition at line 7959 of file propgrid.h.
wxWindow* wxPropertyGrid::m_eventObject [protected] |
Definition at line 8006 of file propgrid.h.
wxBitmap* wxPropertyGrid::m_expandbmp [protected] |
Definition at line 7828 of file propgrid.h.
int wxPropertyGrid::m_fontHeight [protected] |
Definition at line 7904 of file propgrid.h.
unsigned char wxPropertyGrid::m_frozen [protected] |
1 if m_latsCaption is also the bottommost caption. Set to 1 when graphics frozen.
Definition at line 7965 of file propgrid.h.
int wxPropertyGrid::m_gutterWidth [protected] |
The gutter spacing in front and back of the image. This determines the amount of spacing in front of each item
Definition at line 7875 of file propgrid.h.
int wxPropertyGrid::m_height [protected] |
Control client area height; updated on resize.
Definition at line 7862 of file propgrid.h.
int wxPropertyGrid::m_iconHeight [protected] |
The image height of the [+] icon. This is calculated as minimal size and to align
Definition at line 7894 of file propgrid.h.
int wxPropertyGrid::m_iconWidth [protected] |
The image width of the [+] icon. This is also calculated in the gutter
Definition at line 7889 of file propgrid.h.
wxUint32 wxPropertyGrid::m_iFlags [protected] |
Internal flags - see wxPG_FL_XXX constants.
Definition at line 7990 of file propgrid.h.
unsigned char wxPropertyGrid::m_inCommitChangesFromEditor [protected] |
1 if in CommitChangesFromEditor()
Definition at line 7979 of file propgrid.h.
unsigned char wxPropertyGrid::m_inDoPropertyChanged [protected] |
1 if in DoPropertyChanged()
Definition at line 7976 of file propgrid.h.
bool wxPropertyGrid::m_inDoSelectProperty [protected] |
1 if in DoSelectProperty()
Definition at line 7982 of file propgrid.h.
bool wxPropertyGrid::m_inOnValidationFailure [protected] |
if in OnValidationFailure()
Definition at line 7985 of file propgrid.h.
unsigned char wxPropertyGrid::m_keyComboConsumed [protected] |
Definition at line 7973 of file propgrid.h.
wxWindow* wxPropertyGrid::m_labelEditor [protected] |
Definition at line 8001 of file propgrid.h.
wxPGProperty* wxPropertyGrid::m_labelEditorProperty [protected] |
Definition at line 8004 of file propgrid.h.
int wxPropertyGrid::m_lineHeight [protected] |
Includes separator line.
Definition at line 7878 of file propgrid.h.
int wxPropertyGrid::m_marginWidth [protected] |
Gutter*2 + image width.
Definition at line 7881 of file propgrid.h.
unsigned char wxPropertyGrid::m_mouseSide [protected] |
0 = margin, 1 = label, 2 = value.
Definition at line 7956 of file propgrid.h.
int wxPropertyGrid::m_ncWidth [protected] |
Current non-client width (needed when auto-centering).
Definition at line 7865 of file propgrid.h.
wxPGVFBFlags wxPropertyGrid::m_permanentValidationFailureBehavior [protected] |
Definition at line 7987 of file propgrid.h.
wxString wxPropertyGrid::m_prevTcValue [protected] |
Definition at line 8049 of file propgrid.h.
int wxPropertyGrid::m_prevVY [protected] |
Non-client width (auto-centering helper). Previously recorded scroll start position.
Definition at line 7871 of file propgrid.h.
wxPropertyGridEvent* wxPropertyGrid::m_processedEvent [protected] |
Definition at line 8020 of file propgrid.h.
wxPGProperty* wxPropertyGrid::m_propHover [protected] |
Definition at line 7998 of file propgrid.h.
int wxPropertyGrid::m_propHoverY [protected] |
Definition at line 8024 of file propgrid.h.
int wxPropertyGrid::m_pushButKeyCode [protected] |
Definition at line 7906 of file propgrid.h.
unsigned char wxPropertyGrid::m_pushButKeyCodeNeedsAlt [protected] |
Definition at line 7969 of file propgrid.h.
unsigned char wxPropertyGrid::m_pushButKeyCodeNeedsCtrl [protected] |
Definition at line 7971 of file propgrid.h.
wxArrayPGProperty wxPropertyGrid::m_removedProperties [protected] |
Definition at line 7940 of file propgrid.h.
unsigned int wxPropertyGrid::m_selColumn [protected] |
Definition at line 8025 of file propgrid.h.
wxPGSortCallback wxPropertyGrid::m_sortFunction [protected] |
Definition at line 8022 of file propgrid.h.
int wxPropertyGrid::m_spacingy [protected] |
Extra Y spacing between the items.
Definition at line 7856 of file propgrid.h.
int wxPropertyGrid::m_startingSplitterX [protected] |
m_splitterx when drag began.
Definition at line 7909 of file propgrid.h.
int wxPropertyGrid::m_subgroup_extramargin [protected] |
Extra margin for expanded sub-group items.
Definition at line 7886 of file propgrid.h.
wxLongLong wxPropertyGrid::m_timeCreated [protected] |
Local time ms when control was created.
Definition at line 7847 of file propgrid.h.
wxWindow* wxPropertyGrid::m_tlp [protected] |
Definition at line 8017 of file propgrid.h.
wxWindow* wxPropertyGrid::m_tlpClosed [protected] |
Definition at line 8012 of file propgrid.h.
wxLongLong wxPropertyGrid::m_tlpClosedTime [protected] |
Definition at line 8015 of file propgrid.h.
wxPGCell wxPropertyGrid::m_unspecifiedAppearance [protected] |
Appearance of a unspecified value cell.
Definition at line 7936 of file propgrid.h.
wxPGValidationInfo wxPropertyGrid::m_validationInfo [protected] |
Validation information.
Definition at line 7927 of file propgrid.h.
wxArrayPtrVoid wxPropertyGrid::m_visPropArray [protected] |
Definition at line 8040 of file propgrid.h.
unsigned char wxPropertyGrid::m_vspacing [protected] |
Definition at line 7967 of file propgrid.h.
int wxPropertyGrid::m_width [protected] |
Control client area width; updated on resize.
Definition at line 7859 of file propgrid.h.
wxArrayPtrVoid* wxPropertyGrid::m_windowsToDelete [protected] |
Definition at line 7844 of file propgrid.h.
wxWindow* wxPropertyGrid::m_wndEditor [protected] |
wxWindow pointers to editor control(s).
Definition at line 7834 of file propgrid.h.
wxWindow* wxPropertyGrid::m_wndEditor2 [protected] |
Definition at line 7835 of file propgrid.h.
int wxPropertyGrid::m_wndSecId [protected] |
Id of m_wndEditor2, or its first child, if any.
Definition at line 7853 of file propgrid.h.