NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
wxTreeListMainWindow Class Reference
Inheritance diagram for wxTreeListMainWindow:
Collaboration diagram for wxTreeListMainWindow:

Public Member Functions

 wxTreeListMainWindow ()
 
 wxTreeListMainWindow (wxTreeListCtrl *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTR_DEFAULT_STYLE, const wxValidator &validator=wxDefaultValidator, const wxString &name=_T("wxtreelistmainwindow"))
 
virtual ~wxTreeListMainWindow ()
 
bool Create (wxTreeListCtrl *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTR_DEFAULT_STYLE, const wxValidator &validator=wxDefaultValidator, const wxString &name=_T("wxtreelistctrl"))
 
bool IsVirtual () const
 
size_t GetCount () const
 
unsigned int GetIndent () const
 
void SetIndent (unsigned int indent)
 
unsigned int GetLineSpacing () const
 
void SetLineSpacing (unsigned int spacing)
 
wxImageList * GetImageList () const
 
wxImageList * GetStateImageList () const
 
wxImageList * GetButtonsImageList () const
 
void SetImageList (wxImageList *imageList)
 
void SetStateImageList (wxImageList *imageList)
 
void SetButtonsImageList (wxImageList *imageList)
 
void AssignImageList (wxImageList *imageList)
 
void AssignStateImageList (wxImageList *imageList)
 
void AssignButtonsImageList (wxImageList *imageList)
 
void SetToolTip (const wxString &tip)
 
void SetToolTip (wxToolTip *tip)
 
void SetItemToolTip (const wxTreeItemId &item, const wxString &tip)
 
wxString GetItemText (const wxTreeItemId &item, int column) const
 
wxString GetItemText (wxTreeItemData *item, int column) const
 
int GetItemImage (const wxTreeItemId &item, wxTreeItemIcon which=wxTreeItemIcon_Normal) const
 
int GetItemImage (const wxTreeItemId &item, int column, wxTreeItemIcon which=wxTreeItemIcon_Normal) const
 
wxTreeItemData * GetItemData (const wxTreeItemId &item) const
 
wxTreeItemData * GetItemData (const wxTreeItemId &item, int column) const
 
bool GetItemBold (const wxTreeItemId &item) const
 
bool GetItemBold (const wxTreeItemId &item, int column) const
 
wxColour GetItemTextColour (const wxTreeItemId &item) const
 
wxColour GetItemTextColour (const wxTreeItemId &item, int column) const
 
wxColour GetItemBackgroundColour (const wxTreeItemId &item) const
 
wxColour GetItemBackgroundColour (const wxTreeItemId &item, int column) const
 
wxFont GetItemFont (const wxTreeItemId &item) const
 
wxFont GetItemFont (const wxTreeItemId &item, int column) const
 
void SetItemHasChildren (const wxTreeItemId &item, bool has=true)
 
void SetItemText (const wxTreeItemId &item, int column, const wxString &text)
 
void SetItemImage (const wxTreeItemId &item, int image, wxTreeItemIcon which=wxTreeItemIcon_Normal)
 
void SetItemImage (const wxTreeItemId &item, int column, int image, wxTreeItemIcon which=wxTreeItemIcon_Normal)
 
void SetItemData (const wxTreeItemId &item, wxTreeItemData *data)
 
void SetItemData (const wxTreeItemId &item, int column, wxTreeItemData *data)
 
void SetItemBold (const wxTreeItemId &item, bool bold=true)
 
void SetItemBold (const wxTreeItemId &item, int column, bool bold=true)
 
void SetItemTextColour (const wxTreeItemId &item, const wxColour &colour)
 
void SetItemTextColour (const wxTreeItemId &item, int column, const wxColour &colour)
 
void SetItemBackgroundColour (const wxTreeItemId &item, const wxColour &colour)
 
void SetItemBackgroundColour (const wxTreeItemId &item, int column, const wxColour &colour)
 
void SetItemFont (const wxTreeItemId &item, const wxFont &font)
 
void SetItemFont (const wxTreeItemId &item, int column, const wxFont &font)
 
bool IsVisible (const wxTreeItemId &item, bool fullRow, bool within=true) const
 
bool HasChildren (const wxTreeItemId &item) const
 
bool IsExpanded (const wxTreeItemId &item) const
 
bool IsSelected (const wxTreeItemId &item) const
 
bool IsBold (const wxTreeItemId &item) const
 
bool IsBold (const wxTreeItemId &item, int column) const
 
virtual bool SetFont (const wxFont &font)
 
void SetWindowStyle (const long styles)
 
size_t GetChildrenCount (const wxTreeItemId &item, bool recursively=true)
 
wxTreeItemId GetRootItem () const
 
wxTreeItemId GetSelection () const
 
size_t GetSelections (wxArrayTreeItemIds &) const
 
wxTreeItemId GetItemParent (const wxTreeItemId &item) const
 
wxTreeItemId GetFirstChild (const wxTreeItemId &item, long &cookie) const
 
wxTreeItemId GetNextChild (const wxTreeItemId &item, long &cookie) const
 
wxTreeItemId GetPrevChild (const wxTreeItemId &item, long &cookie) const
 
wxTreeItemId GetLastChild (const wxTreeItemId &item, long &cookie) const
 
wxTreeItemId GetNextSibling (const wxTreeItemId &item) const
 
wxTreeItemId GetPrevSibling (const wxTreeItemId &item) const
 
wxTreeItemId GetNext (const wxTreeItemId &item, bool fulltree=true) const
 
wxTreeItemId GetPrev (const wxTreeItemId &item, bool fulltree=true) const
 
wxTreeItemId GetFirstExpandedItem () const
 
wxTreeItemId GetNextExpanded (const wxTreeItemId &item) const
 
wxTreeItemId GetPrevExpanded (const wxTreeItemId &item) const
 
wxTreeItemId GetFirstVisible (bool fullRow, bool within) const
 
wxTreeItemId GetNextVisible (const wxTreeItemId &item, bool fullRow, bool within) const
 
wxTreeItemId GetPrevVisible (const wxTreeItemId &item, bool fullRow, bool within) const
 
wxTreeItemId GetLastVisible (bool fullRow, bool within) const
 
wxTreeItemId AddRoot (const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId PrependItem (const wxTreeItemId &parent, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId InsertItem (const wxTreeItemId &parent, const wxTreeItemId &idPrevious, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId InsertItem (const wxTreeItemId &parent, size_t index, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId AppendItem (const wxTreeItemId &parent, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
void Delete (const wxTreeItemId &item)
 
void DeleteChildren (const wxTreeItemId &item)
 
void DeleteRoot ()
 
void SetItemParent (const wxTreeItemId &parent, const wxTreeItemId &item)
 
void Expand (const wxTreeItemId &item)
 
void ExpandAll (const wxTreeItemId &item)
 
void Collapse (const wxTreeItemId &item)
 
void CollapseAndReset (const wxTreeItemId &item)
 
void Toggle (const wxTreeItemId &item)
 
void SetCurrentItem (const wxTreeItemId &item)
 
void Unselect ()
 
void UnselectAll ()
 
bool SelectItem (const wxTreeItemId &item, const wxTreeItemId &prev=(wxTreeItemId *) NULL, bool unselect_others=true)
 
void SelectAll ()
 
void EnsureVisible (const wxTreeItemId &item)
 
void ScrollTo (const wxTreeItemId &item)
 
void AdjustMyScrollbars ()
 
wxTreeItemId HitTest (const wxPoint &point)
 
wxTreeItemId HitTest (const wxPoint &point, int &flags)
 
wxTreeItemId HitTest (const wxPoint &point, int &flags, int &column)
 
bool GetBoundingRect (const wxTreeItemId &item, wxRect &rect, bool textOnly=false) const
 
void EditLabel (const wxTreeItemId &item, int column)
 
void EndEdit (bool isCancelled)
 
virtual int OnCompareItems (const wxTreeItemId &item1, const wxTreeItemId &item2)
 
void SortChildren (const wxTreeItemId &item, int column, bool reverseOrder)
 
wxTreeItemId FindItem (const wxTreeItemId &item, int column, const wxString &str, int mode=0)
 
virtual bool SetBackgroundColour (const wxColour &colour)
 
virtual bool SetForegroundColour (const wxColour &colour)
 
void SetDragItem (const wxTreeItemId &item=(wxTreeItemId *) NULL)
 
void OnPaint (wxPaintEvent &event)
 
void OnEraseBackground (wxEraseEvent &WXUNUSED(event))
 
void OnSetFocus (wxFocusEvent &event)
 
void OnKillFocus (wxFocusEvent &event)
 
void OnChar (wxKeyEvent &event)
 
void OnMouse (wxMouseEvent &event)
 
void OnIdle (wxIdleEvent &event)
 
void OnScroll (wxScrollWinEvent &event)
 
void OnCaptureLost (wxMouseCaptureLostEvent &WXUNUSED(event))
 
int GetColumnCount () const
 
void SetMainColumn (int column)
 
int GetMainColumn () const
 
int GetCurrentColumn () const
 
int GetBestColumnWidth (int column, wxTreeItemId parent=wxTreeItemId())
 
int GetItemWidth (int column, wxTreeListItem *item)
 
void SetFocus ()
 

Public Attributes

bool m_dirty
 

Protected Member Functions

void Init ()
 
wxTreeItemId DoInsertItem (const wxTreeItemId &parent, size_t previous, const wxString &text, int image, int selectedImage, wxTreeItemData *data)
 
void DoDeleteItem (wxTreeListItem *item)
 
void SetCurrentItem (wxTreeListItem *item)
 
bool HasButtons (void) const
 
void CalculateLineHeight ()
 
int GetLineHeight (wxTreeListItem *item) const
 
void PaintLevel (wxTreeListItem *item, wxDC &dc, int level, int &y, int x_maincol)
 
void PaintItem (wxTreeListItem *item, wxDC &dc)
 
void CalculateLevel (wxTreeListItem *item, wxDC &dc, int level, int &y, int x_maincol)
 
void CalculatePositions ()
 
void CalculateSize (wxTreeListItem *item, wxDC &dc)
 
void RefreshSubtree (wxTreeListItem *item)
 
void RefreshLine (wxTreeListItem *item)
 
void RefreshSelected ()
 
void RefreshSelectedUnder (wxTreeListItem *item)
 
void OnRenameTimer ()
 
void OnRenameAccept (bool isCancelled)
 
void FillArray (wxTreeListItem *, wxArrayTreeItemIds &) const
 
bool TagAllChildrenUntilLast (wxTreeListItem *crt_item, wxTreeListItem *last_item)
 
bool TagNextChildren (wxTreeListItem *crt_item, wxTreeListItem *last_item)
 
void UnselectAllChildren (wxTreeListItem *item)
 
bool SendEvent (wxEventType event_type, wxTreeListItem *item=NULL, wxTreeEvent *event=NULL)
 

Protected Attributes

wxTreeListCtrlm_owner
 
wxFont m_normalFont
 
wxFont m_boldFont
 
wxTreeListItemm_rootItem
 
wxTreeListItemm_curItem
 
wxTreeListItemm_shiftItem
 
wxTreeListItemm_selectItem
 
int m_main_column
 
int m_curColumn
 
int m_sortColumn
 
bool m_ReverseSortOrder
 
int m_btnWidth
 
int m_btnWidth2
 
int m_btnHeight
 
int m_btnHeight2
 
int m_imgWidth
 
int m_imgWidth2
 
int m_imgHeight
 
int m_imgHeight2
 
unsigned short m_indent
 
int m_lineHeight
 
unsigned short m_linespacing
 
wxPen m_dottedPen
 
wxBrush * m_hilightBrush
 
wxBrush * m_hilightUnfocusedBrush
 
bool m_hasFocus
 
bool m_ownsImageListNormal
 
bool m_ownsImageListState
 
bool m_ownsImageListButtons
 
bool m_lastOnSame
 
bool m_left_down_selection
 
wxImageList * m_imageListNormal
 
wxImageList * m_imageListState
 
wxImageList * m_imageListButtons
 
bool m_isDragStarted
 
bool m_isDragging
 
wxPoint m_dragStartPos
 
wxTreeListItemm_dragItem
 
int m_dragCol
 
wxTreeListItemm_editItem
 
wxTimer * m_editTimer
 
bool m_editAccept
 
wxString m_editRes
 
int m_editCol
 
wxEditTextCtrlm_editControl
 
wxTimer * m_findTimer
 
wxString m_findStr
 
bool m_isItemToolTip
 
wxString m_toolTip
 
wxTreeListItemm_toolTipItem
 

Friends

class wxTreeListItem
 
class wxTreeListRenameTimer
 
class wxEditTextCtrl
 

Detailed Description

Definition at line 270 of file treelistctrl.cpp.

Constructor & Destructor Documentation

◆ wxTreeListMainWindow() [1/2]

wxTreeListMainWindow::wxTreeListMainWindow ( )
inline

Definition at line 279 of file treelistctrl.cpp.

Referenced by wxTreeListCtrl::Create().

◆ wxTreeListMainWindow() [2/2]

wxTreeListMainWindow::wxTreeListMainWindow ( wxTreeListCtrl parent,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTR_DEFAULT_STYLE,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = _T("wxtreelistmainwindow") 
)
inline

Definition at line 284 of file treelistctrl.cpp.

References name.

◆ ~wxTreeListMainWindow()

wxTreeListMainWindow::~wxTreeListMainWindow ( )
virtual

Definition at line 2353 of file treelistctrl.cpp.

References DeleteRoot(), m_editControl, m_editTimer, m_findTimer, m_hilightBrush, m_hilightUnfocusedBrush, m_imageListButtons, m_imageListNormal, m_imageListState, m_ownsImageListButtons, m_ownsImageListNormal, m_ownsImageListState, and wxEditTextCtrl::SetOwner().

Here is the call graph for this function:

Member Function Documentation

◆ AddRoot()

wxTreeItemId wxTreeListMainWindow::AddRoot ( const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 2992 of file treelistctrl.cpp.

References _T, wxTreeListItem::Expand(), GetColumnCount(), GetFirstChild(), m_dirty, m_main_column, m_rootItem, SetCurrentItem(), wxTreeListItem::SetHasPlus(), and wxTreeListItem.

Here is the call graph for this function:

◆ AdjustMyScrollbars()

void wxTreeListMainWindow::AdjustMyScrollbars ( )

◆ AppendItem()

wxTreeItemId wxTreeListMainWindow::AppendItem ( const wxTreeItemId &  parent,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 3064 of file treelistctrl.cpp.

References _T, DoInsertItem(), and wxTreeListItem::GetChildren().

Here is the call graph for this function:

◆ AssignButtonsImageList()

void wxTreeListMainWindow::AssignButtonsImageList ( wxImageList *  imageList)

Definition at line 3838 of file treelistctrl.cpp.

References m_ownsImageListButtons, and SetButtonsImageList().

Here is the call graph for this function:

◆ AssignImageList()

void wxTreeListMainWindow::AssignImageList ( wxImageList *  imageList)

Definition at line 3826 of file treelistctrl.cpp.

References m_ownsImageListNormal, and SetImageList().

Here is the call graph for this function:

◆ AssignStateImageList()

void wxTreeListMainWindow::AssignStateImageList ( wxImageList *  imageList)

Definition at line 3832 of file treelistctrl.cpp.

References m_ownsImageListState, and SetStateImageList().

Here is the call graph for this function:

◆ CalculateLevel()

void wxTreeListMainWindow::CalculateLevel ( wxTreeListItem item,
wxDC &  dc,
int  level,
int &  y,
int  x_maincol 
)
protected

Definition at line 5241 of file treelistctrl.cpp.

References CalculateLevel(), CalculateSize(), wxTreeListItem::GetChildren(), GetLineHeight(), HasButtons(), wxTreeListItem::IsExpanded(), LINEATROOT, m_btnWidth, m_btnWidth2, m_indent, MARGIN, wxTreeListItem::SetX(), and wxTreeListItem::SetY().

Referenced by CalculateLevel(), and CalculatePositions().

Here is the call graph for this function:

◆ CalculateLineHeight()

void wxTreeListMainWindow::CalculateLineHeight ( )
protected

◆ CalculatePositions()

void wxTreeListMainWindow::CalculatePositions ( )
protected

Definition at line 5288 of file treelistctrl.cpp.

References CalculateLevel(), wxTreeListHeaderWindow::GetColumnWidth(), wxTreeListCtrl::GetHeaderWindow(), GetMainColumn(), wxTreeListHeaderWindow::IsColumnShown(), m_dottedPen, m_normalFont, m_owner, and m_rootItem.

Referenced by EditLabel(), OnIdle(), ScrollTo(), and SelectItem().

Here is the call graph for this function:

◆ CalculateSize()

void wxTreeListMainWindow::CalculateSize ( wxTreeListItem item,
wxDC &  dc 
)
protected

Definition at line 5212 of file treelistctrl.cpp.

References _T, GetItemFont(), wxTreeListItem::GetText(), m_imgHeight, m_imgWidth, m_lineHeight, m_main_column, m_normalFont, wxTreeListItem::SetHeight(), and wxTreeListItem::SetWidth().

Referenced by CalculateLevel(), SetItemImage(), and SetItemText().

Here is the call graph for this function:

◆ Collapse()

void wxTreeListMainWindow::Collapse ( const wxTreeItemId &  item)

Definition at line 3274 of file treelistctrl.cpp.

References _T, wxTreeListItem::Collapse(), wxTreeListItem::HasPlus(), wxTreeListItem::IsExpanded(), m_curColumn, m_dirty, and SendEvent().

Referenced by CollapseAndReset(), OnChar(), and Toggle().

Here is the call graph for this function:

◆ CollapseAndReset()

void wxTreeListMainWindow::CollapseAndReset ( const wxTreeItemId &  item)

Definition at line 3294 of file treelistctrl.cpp.

References _T, Collapse(), and DeleteChildren().

Here is the call graph for this function:

◆ Create()

bool wxTreeListMainWindow::Create ( wxTreeListCtrl parent,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTR_DEFAULT_STYLE,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = _T("wxtreelistctrl") 
)

Definition at line 2287 of file treelistctrl.cpp.

References _T, m_dottedPen, m_main_column, m_owner, name, and SetBackgroundColour().

Here is the call graph for this function:

◆ Delete()

void wxTreeListMainWindow::Delete ( const wxTreeItemId &  item)

Definition at line 3078 of file treelistctrl.cpp.

References _T, DoDeleteItem(), wxTreeListItem::GetItemParent(), and m_rootItem.

Here is the call graph for this function:

◆ DeleteChildren()

void wxTreeListMainWindow::DeleteChildren ( const wxTreeItemId &  item)

Definition at line 3112 of file treelistctrl.cpp.

References DoDeleteItem(), and wxTreeListItem::GetChildren().

Referenced by CollapseAndReset(), and DeleteRoot().

Here is the call graph for this function:

◆ DeleteRoot()

void wxTreeListMainWindow::DeleteRoot ( )

Definition at line 3097 of file treelistctrl.cpp.

References DeleteChildren(), m_rootItem, m_selectItem, m_shiftItem, SendEvent(), and SetCurrentItem().

Referenced by ~wxTreeListMainWindow().

Here is the call graph for this function:

◆ DoDeleteItem()

void wxTreeListMainWindow::DoDeleteItem ( wxTreeListItem item)
protected

Definition at line 3130 of file treelistctrl.cpp.

References _T, DoDeleteItem(), wxEditTextCtrl::EndEdit(), wxTreeListItem::GetChildren(), wxTreeListItem::GetItemParent(), m_curItem, m_dirty, m_dragItem, m_editControl, m_isDragging, m_isDragStarted, m_selectItem, m_shiftItem, SelectItem(), SendEvent(), and SetCurrentItem().

Referenced by Delete(), DeleteChildren(), and DoDeleteItem().

Here is the call graph for this function:

◆ DoInsertItem()

wxTreeItemId wxTreeListMainWindow::DoInsertItem ( const wxTreeItemId &  parent,
size_t  previous,
const wxString &  text,
int  image,
int  selectedImage,
wxTreeItemData *  data 
)
protected

Definition at line 2964 of file treelistctrl.cpp.

References _T, GetColumnCount(), wxTreeListItem::Insert(), m_dirty, m_main_column, and wxTreeListItem.

Referenced by AppendItem(), InsertItem(), and PrependItem().

Here is the call graph for this function:

◆ EditLabel()

void wxTreeListMainWindow::EditLabel ( const wxTreeItemId &  item,
int  column 
)

◆ EndEdit()

void wxTreeListMainWindow::EndEdit ( bool  isCancelled)

Definition at line 4825 of file treelistctrl.cpp.

References wxEditTextCtrl::EndEdit(), and m_editControl.

Referenced by wxTreeListHeaderWindow::OnMouse().

Here is the call graph for this function:

◆ EnsureVisible()

void wxTreeListMainWindow::EnsureVisible ( const wxTreeItemId &  item)

Definition at line 3546 of file treelistctrl.cpp.

References Expand(), wxTreeListItem::GetItemParent(), wxTreeListCtrl::GetItemParent(), RefreshLine(), and ScrollTo().

Referenced by OnChar(), and OnMouse().

Here is the call graph for this function:

◆ Expand()

void wxTreeListMainWindow::Expand ( const wxTreeItemId &  item)

Definition at line 3235 of file treelistctrl.cpp.

References _T, wxTreeListItem::Expand(), wxTreeListItem::HasPlus(), wxTreeListItem::IsExpanded(), m_curColumn, m_dirty, and SendEvent().

Referenced by EnsureVisible(), ExpandAll(), OnChar(), and Toggle().

Here is the call graph for this function:

◆ ExpandAll()

void wxTreeListMainWindow::ExpandAll ( const wxTreeItemId &  item)

Definition at line 3255 of file treelistctrl.cpp.

References _T, Expand(), ExpandAll(), GetFirstChild(), GetNextChild(), and IsExpanded().

Referenced by ExpandAll(), and OnChar().

Here is the call graph for this function:

◆ FillArray()

void wxTreeListMainWindow::FillArray ( wxTreeListItem item,
wxArrayTreeItemIds &  array 
) const
protected

Definition at line 3525 of file treelistctrl.cpp.

References FillArray(), wxTreeListItem::GetChildren(), wxTreeListItem::HasChildren(), and wxTreeListItem::IsSelected().

Referenced by FillArray(), and GetSelections().

Here is the call graph for this function:

◆ FindItem()

wxTreeItemId wxTreeListMainWindow::FindItem ( const wxTreeItemId &  item,
int  column,
const wxString &  str,
int  mode = 0 
)

Definition at line 3646 of file treelistctrl.cpp.

References GetColumnCount(), GetFirstChild(), GetItemText(), GetNext(), GetNextChild(), GetNextExpanded(), GetNextSibling(), GetNextVisible(), GetRootItem(), wxTL_MODE_FIND_NOCASE, wxTL_MODE_FIND_PARTIAL, wxTL_MODE_NAV_EXPANDED, wxTL_MODE_NAV_LEVEL, and wxTL_MODE_NAV_VISIBLE.

Referenced by OnChar().

Here is the call graph for this function:

◆ GetBestColumnWidth()

int wxTreeListMainWindow::GetBestColumnWidth ( int  column,
wxTreeItemId  parent = wxTreeItemId() 
)

Definition at line 5460 of file treelistctrl.cpp.

References GetBestColumnWidth(), GetFirstChild(), GetItemWidth(), GetNextChild(), and GetRootItem().

Referenced by GetBestColumnWidth(), and wxTreeListHeaderWindow::OnMouse().

Here is the call graph for this function:

◆ GetBoundingRect()

bool wxTreeListMainWindow::GetBoundingRect ( const wxTreeItemId &  item,
wxRect &  rect,
bool  textOnly = false 
) const

Definition at line 4695 of file treelistctrl.cpp.

References _T, GetLineHeight(), wxTreeListItem::GetWidth(), wxTreeListItem::GetX(), and wxTreeListItem::GetY().

Referenced by IsVisible().

Here is the call graph for this function:

◆ GetButtonsImageList()

wxImageList * wxTreeListMainWindow::GetButtonsImageList ( ) const
inline

Definition at line 352 of file treelistctrl.cpp.

◆ GetChildrenCount()

size_t wxTreeListMainWindow::GetChildrenCount ( const wxTreeItemId &  item,
bool  recursively = true 
)

Definition at line 2396 of file treelistctrl.cpp.

References _T.

◆ GetColumnCount()

int wxTreeListMainWindow::GetColumnCount ( ) const
inline

Definition at line 673 of file treelistctrl.cpp.

References GetColumnCount(), and wxEditTextCtrl::m_owner.

Referenced by AddRoot(), DoInsertItem(), EditLabel(), FindItem(), GetColumnCount(), wxTreeListItem::HitTest(), OnPaint(), and PaintItem().

Here is the call graph for this function:

◆ GetCount()

size_t wxTreeListMainWindow::GetCount ( ) const

Definition at line 2378 of file treelistctrl.cpp.

References wxTreeListItem::GetChildrenCount(), and m_rootItem.

Here is the call graph for this function:

◆ GetCurrentColumn()

int wxTreeListMainWindow::GetCurrentColumn ( ) const
inline

Definition at line 687 of file treelistctrl.cpp.

Referenced by OnMouse(), and OnRenameTimer().

◆ GetFirstChild()

wxTreeItemId wxTreeListMainWindow::GetFirstChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 2754 of file treelistctrl.cpp.

References _T, and GetFirstChild().

Referenced by AddRoot(), ExpandAll(), FindItem(), GetBestColumnWidth(), GetFirstChild(), OnChar(), and SelectAll().

Here is the call graph for this function:

◆ GetFirstExpandedItem()

wxTreeItemId wxTreeListMainWindow::GetFirstExpandedItem ( ) const

Definition at line 2893 of file treelistctrl.cpp.

References GetNextExpanded(), and GetRootItem().

Here is the call graph for this function:

◆ GetFirstVisible()

wxTreeItemId wxTreeListMainWindow::GetFirstVisible ( bool  fullRow,
bool  within 
) const

Definition at line 2910 of file treelistctrl.cpp.

References GetNextVisible(), GetRootItem(), and IsVisible().

Referenced by wxTreeListCtrl::GetFirstVisibleItem(), and OnChar().

Here is the call graph for this function:

◆ GetImageList()

wxImageList * wxTreeListMainWindow::GetImageList ( ) const
inline

Definition at line 344 of file treelistctrl.cpp.

Referenced by wxTreeListHeaderWindow::OnPaint().

◆ GetIndent()

unsigned int wxTreeListMainWindow::GetIndent ( ) const
inline

Definition at line 319 of file treelistctrl.cpp.

Referenced by GetItemWidth().

◆ GetItemBackgroundColour() [1/2]

wxColour wxTreeListMainWindow::GetItemBackgroundColour ( const wxTreeItemId &  item) const

Definition at line 2500 of file treelistctrl.cpp.

References _T, and wxTreeListItem::GetAttributes().

Referenced by GetItemBackgroundColour(), and PaintItem().

Here is the call graph for this function:

◆ GetItemBackgroundColour() [2/2]

wxColour wxTreeListMainWindow::GetItemBackgroundColour ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2514 of file treelistctrl.cpp.

References _T, wxTreeListItem::GetAttributes(), and GetItemBackgroundColour().

Here is the call graph for this function:

◆ GetItemBold() [1/2]

bool wxTreeListMainWindow::GetItemBold ( const wxTreeItemId &  item) const

Definition at line 2460 of file treelistctrl.cpp.

References _T.

◆ GetItemBold() [2/2]

bool wxTreeListMainWindow::GetItemBold ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2465 of file treelistctrl.cpp.

References _T.

◆ GetItemData() [1/2]

wxTreeItemData * wxTreeListMainWindow::GetItemData ( const wxTreeItemId &  item) const

Definition at line 2449 of file treelistctrl.cpp.

References _T.

◆ GetItemData() [2/2]

wxTreeItemData * wxTreeListMainWindow::GetItemData ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2454 of file treelistctrl.cpp.

References _T.

◆ GetItemFont() [1/2]

wxFont wxTreeListMainWindow::GetItemFont ( const wxTreeItemId &  item) const

Definition at line 2529 of file treelistctrl.cpp.

References _T, wxTreeListItem::GetAttributes(), wxTreeListItem::IsBold(), m_boldFont, and m_normalFont.

Referenced by CalculateSize(), GetItemWidth(), and PaintItem().

Here is the call graph for this function:

◆ GetItemFont() [2/2]

wxFont wxTreeListMainWindow::GetItemFont ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2547 of file treelistctrl.cpp.

References _T, wxTreeListItem::GetAttributes(), wxTreeListItem::IsBold(), m_boldFont, and m_normalFont.

Here is the call graph for this function:

◆ GetItemImage() [1/2]

int wxTreeListMainWindow::GetItemImage ( const wxTreeItemId &  item,
int  column,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
) const

Definition at line 2443 of file treelistctrl.cpp.

References _T.

◆ GetItemImage() [2/2]

int wxTreeListMainWindow::GetItemImage ( const wxTreeItemId &  item,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
) const
inline

Definition at line 379 of file treelistctrl.cpp.

◆ GetItemParent()

wxTreeItemId wxTreeListMainWindow::GetItemParent ( const wxTreeItemId &  item) const

Definition at line 2747 of file treelistctrl.cpp.

References _T.

Referenced by GetNext(), GetPrev(), and OnChar().

◆ GetItemText() [1/2]

wxString wxTreeListMainWindow::GetItemText ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 5406 of file treelistctrl.cpp.

References _T, IsVirtual(), m_owner, and wxTreeListCtrl::OnGetItemText().

Referenced by FindItem(), and wxTreeListCtrl::OnCompareItems().

Here is the call graph for this function:

◆ GetItemText() [2/2]

wxString wxTreeListMainWindow::GetItemText ( wxTreeItemData *  item,
int  column 
) const

Definition at line 5414 of file treelistctrl.cpp.

References _T, IsVirtual(), m_owner, and wxTreeListCtrl::OnGetItemText().

Here is the call graph for this function:

◆ GetItemTextColour() [1/2]

wxColour wxTreeListMainWindow::GetItemTextColour ( const wxTreeItemId &  item) const

Definition at line 2471 of file treelistctrl.cpp.

References _T, and wxTreeListItem::GetAttributes().

Referenced by GetItemTextColour(), and PaintItem().

Here is the call graph for this function:

◆ GetItemTextColour() [2/2]

wxColour wxTreeListMainWindow::GetItemTextColour ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2485 of file treelistctrl.cpp.

References _T, wxTreeListItem::GetAttributes(), and GetItemTextColour().

Here is the call graph for this function:

◆ GetItemWidth()

int wxTreeListMainWindow::GetItemWidth ( int  column,
wxTreeListItem item 
)

Definition at line 5426 of file treelistctrl.cpp.

References wxTreeListItem::GetCurrentImage(), GetIndent(), GetItemFont(), wxTreeListItem::GetItemParent(), GetMainColumn(), GetRootItem(), wxTreeListItem::GetText(), HasButtons(), LINEATROOT, m_btnWidth, m_imgWidth, MARGIN, and NO_IMAGE.

Referenced by GetBestColumnWidth().

Here is the call graph for this function:

◆ GetLastChild()

wxTreeItemId wxTreeListMainWindow::GetLastChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 2801 of file treelistctrl.cpp.

References _T, and GetLastChild().

Referenced by GetLastChild(), OnChar(), and SelectAll().

Here is the call graph for this function:

◆ GetLastVisible()

wxTreeItemId wxTreeListMainWindow::GetLastVisible ( bool  fullRow,
bool  within 
) const

Definition at line 2934 of file treelistctrl.cpp.

References _T, GetNext(), GetRootItem(), and IsVisible().

Referenced by OnChar().

Here is the call graph for this function:

◆ GetLineHeight()

int wxTreeListMainWindow::GetLineHeight ( wxTreeListItem item) const
protected

Definition at line 3871 of file treelistctrl.cpp.

References wxTreeListItem::GetHeight(), and m_lineHeight.

Referenced by CalculateLevel(), GetBoundingRect(), wxTreeListItem::GetSize(), wxTreeListItem::HitTest(), PaintItem(), PaintLevel(), RefreshLine(), and ScrollTo().

Here is the call graph for this function:

◆ GetLineSpacing()

unsigned int wxTreeListMainWindow::GetLineSpacing ( ) const
inline

Definition at line 326 of file treelistctrl.cpp.

◆ GetMainColumn()

int wxTreeListMainWindow::GetMainColumn ( ) const
inline

◆ GetNext()

wxTreeItemId wxTreeListMainWindow::GetNext ( const wxTreeItemId &  item,
bool  fulltree = true 
) const

Definition at line 2850 of file treelistctrl.cpp.

References _T, GetItemParent(), and GetNextSibling().

Referenced by FindItem(), GetLastVisible(), GetNextExpanded(), and GetNextVisible().

Here is the call graph for this function:

◆ GetNextChild()

wxTreeItemId wxTreeListMainWindow::GetNextChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 2769 of file treelistctrl.cpp.

References _T, and GetNextChild().

Referenced by ExpandAll(), FindItem(), GetBestColumnWidth(), and GetNextChild().

Here is the call graph for this function:

◆ GetNextExpanded()

wxTreeItemId wxTreeListMainWindow::GetNextExpanded ( const wxTreeItemId &  item) const

Definition at line 2898 of file treelistctrl.cpp.

References _T, and GetNext().

Referenced by FindItem(), and GetFirstExpandedItem().

Here is the call graph for this function:

◆ GetNextSibling()

wxTreeItemId wxTreeListMainWindow::GetNextSibling ( const wxTreeItemId &  item) const

Definition at line 2817 of file treelistctrl.cpp.

References _T, and wxTreeListItem::GetItemParent().

Referenced by FindItem(), GetNext(), and OnChar().

Here is the call graph for this function:

◆ GetNextVisible()

wxTreeItemId wxTreeListMainWindow::GetNextVisible ( const wxTreeItemId &  item,
bool  fullRow,
bool  within 
) const

Definition at line 2922 of file treelistctrl.cpp.

References _T, GetNext(), and IsVisible().

Referenced by FindItem(), and GetFirstVisible().

Here is the call graph for this function:

◆ GetPrev()

wxTreeItemId wxTreeListMainWindow::GetPrev ( const wxTreeItemId &  item,
bool  fulltree = true 
) const

Definition at line 2874 of file treelistctrl.cpp.

References _T, GetItemParent(), and GetPrevSibling().

Referenced by GetPrevExpanded(), and GetPrevVisible().

Here is the call graph for this function:

◆ GetPrevChild()

wxTreeItemId wxTreeListMainWindow::GetPrevChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 2785 of file treelistctrl.cpp.

References _T, and GetPrevChild().

Referenced by GetPrevChild().

Here is the call graph for this function:

◆ GetPrevExpanded()

wxTreeItemId wxTreeListMainWindow::GetPrevExpanded ( const wxTreeItemId &  item) const

Definition at line 2904 of file treelistctrl.cpp.

References _T, and GetPrev().

Here is the call graph for this function:

◆ GetPrevSibling()

wxTreeItemId wxTreeListMainWindow::GetPrevSibling ( const wxTreeItemId &  item) const

Definition at line 2833 of file treelistctrl.cpp.

References _T, and wxTreeListItem::GetItemParent().

Referenced by GetPrev(), and OnChar().

Here is the call graph for this function:

◆ GetPrevVisible()

wxTreeItemId wxTreeListMainWindow::GetPrevVisible ( const wxTreeItemId &  item,
bool  fullRow,
bool  within 
) const

Definition at line 2946 of file treelistctrl.cpp.

References _T, GetPrev(), and IsVisible().

Here is the call graph for this function:

◆ GetRootItem()

wxTreeItemId wxTreeListMainWindow::GetRootItem ( ) const
inline

◆ GetSelection()

wxTreeItemId wxTreeListMainWindow::GetSelection ( ) const
inline

Definition at line 487 of file treelistctrl.cpp.

◆ GetSelections()

size_t wxTreeListMainWindow::GetSelections ( wxArrayTreeItemIds &  array) const

Definition at line 3538 of file treelistctrl.cpp.

References FillArray(), and GetRootItem().

Here is the call graph for this function:

◆ GetStateImageList()

wxImageList * wxTreeListMainWindow::GetStateImageList ( ) const
inline

Definition at line 348 of file treelistctrl.cpp.

◆ HasButtons()

bool wxTreeListMainWindow::HasButtons ( void  ) const
inlineprotected

◆ HasChildren()

bool wxTreeListMainWindow::HasChildren ( const wxTreeItemId &  item) const

Definition at line 2713 of file treelistctrl.cpp.

References _T.

Referenced by OnChar().

◆ HitTest() [1/3]

wxTreeItemId wxTreeListMainWindow::HitTest ( const wxPoint &  point)
inline

Definition at line 612 of file treelistctrl.cpp.

◆ HitTest() [2/3]

wxTreeItemId wxTreeListMainWindow::HitTest ( const wxPoint &  point,
int &  flags 
)
inline

Definition at line 618 of file treelistctrl.cpp.

◆ HitTest() [3/3]

wxTreeItemId wxTreeListMainWindow::HitTest ( const wxPoint &  point,
int &  flags,
int &  column 
)

Definition at line 4663 of file treelistctrl.cpp.

References wxTreeListItem::HitTest(), and m_rootItem.

Here is the call graph for this function:

◆ Init()

void wxTreeListMainWindow::Init ( )
protected

◆ InsertItem() [1/2]

wxTreeItemId wxTreeListMainWindow::InsertItem ( const wxTreeItemId &  parent,
const wxTreeItemId &  idPrevious,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 3036 of file treelistctrl.cpp.

References _T, DoInsertItem(), and wxTreeListItem::GetChildren().

Here is the call graph for this function:

◆ InsertItem() [2/2]

wxTreeItemId wxTreeListMainWindow::InsertItem ( const wxTreeItemId &  parent,
size_t  index,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 3052 of file treelistctrl.cpp.

References _T, and DoInsertItem().

Here is the call graph for this function:

◆ IsBold() [1/2]

bool wxTreeListMainWindow::IsBold ( const wxTreeItemId &  item) const

◆ IsBold() [2/2]

bool wxTreeListMainWindow::IsBold ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 2737 of file treelistctrl.cpp.

References _T.

◆ IsExpanded()

bool wxTreeListMainWindow::IsExpanded ( const wxTreeItemId &  item) const

Definition at line 2725 of file treelistctrl.cpp.

References _T.

Referenced by ExpandAll(), OnChar(), and Toggle().

◆ IsSelected()

bool wxTreeListMainWindow::IsSelected ( const wxTreeItemId &  item) const

Definition at line 2731 of file treelistctrl.cpp.

References _T.

◆ IsVirtual()

bool wxTreeListMainWindow::IsVirtual ( ) const
inline

Definition at line 308 of file treelistctrl.cpp.

References wxTR_VIRTUAL.

Referenced by GetItemText().

◆ IsVisible()

bool wxTreeListMainWindow::IsVisible ( const wxTreeItemId &  item,
bool  fullRow,
bool  within = true 
) const

Definition at line 2685 of file treelistctrl.cpp.

References _T, GetBoundingRect(), wxTreeListItem::GetItemParent(), wxTreeListCtrl::GetItemParent(), wxTreeListCtrl::IsExpanded(), and m_rootItem.

Referenced by GetFirstVisible(), GetLastVisible(), GetNextVisible(), and GetPrevVisible().

Here is the call graph for this function:

◆ OnCaptureLost()

void wxTreeListMainWindow::OnCaptureLost ( wxMouseCaptureLostEvent &  WXUNUSEDevent)
inline

Definition at line 670 of file treelistctrl.cpp.

◆ OnChar()

◆ OnCompareItems()

int wxTreeListMainWindow::OnCompareItems ( const wxTreeItemId &  item1,
const wxTreeItemId &  item2 
)
virtual

Definition at line 3614 of file treelistctrl.cpp.

References m_owner, m_ReverseSortOrder, m_sortColumn, and wxTreeListCtrl::OnCompareItems().

Referenced by tree_ctrl_compare_func().

Here is the call graph for this function:

◆ OnEraseBackground()

void wxTreeListMainWindow::OnEraseBackground ( wxEraseEvent &  WXUNUSEDevent)
inline

Definition at line 663 of file treelistctrl.cpp.

◆ OnIdle()

void wxTreeListMainWindow::OnIdle ( wxIdleEvent &  event)

Definition at line 5179 of file treelistctrl.cpp.

References AdjustMyScrollbars(), CalculatePositions(), and m_dirty.

Here is the call graph for this function:

◆ OnKillFocus()

void wxTreeListMainWindow::OnKillFocus ( wxFocusEvent &  event)

Definition at line 4365 of file treelistctrl.cpp.

References m_curItem, m_hasFocus, RefreshLine(), and RefreshSelected().

Here is the call graph for this function:

◆ OnMouse()

◆ OnPaint()

void wxTreeListMainWindow::OnPaint ( wxPaintEvent &  event)

◆ OnRenameAccept()

void wxTreeListMainWindow::OnRenameAccept ( bool  isCancelled)
protected

Definition at line 4812 of file treelistctrl.cpp.

References m_editCol, m_editItem, m_editRes, SendEvent(), and SetItemText().

Here is the call graph for this function:

◆ OnRenameTimer()

void wxTreeListMainWindow::OnRenameTimer ( )
protected

Definition at line 4807 of file treelistctrl.cpp.

References EditLabel(), GetCurrentColumn(), and m_curItem.

Here is the call graph for this function:

◆ OnScroll()

void wxTreeListMainWindow::OnScroll ( wxScrollWinEvent &  event)

Definition at line 5193 of file treelistctrl.cpp.

References wxTreeListCtrl::GetHeaderWindow(), and m_owner.

Here is the call graph for this function:

◆ OnSetFocus()

void wxTreeListMainWindow::OnSetFocus ( wxFocusEvent &  event)

Definition at line 4357 of file treelistctrl.cpp.

References m_curItem, m_hasFocus, RefreshLine(), and RefreshSelected().

Here is the call graph for this function:

◆ PaintItem()

◆ PaintLevel()

void wxTreeListMainWindow::PaintLevel ( wxTreeListItem item,
wxDC &  dc,
int  level,
int &  y,
int  x_maincol 
)
protected

◆ PrependItem()

wxTreeItemId wxTreeListMainWindow::PrependItem ( const wxTreeItemId &  parent,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 3028 of file treelistctrl.cpp.

References DoInsertItem().

Here is the call graph for this function:

◆ RefreshLine()

void wxTreeListMainWindow::RefreshLine ( wxTreeListItem item)
protected

Definition at line 5332 of file treelistctrl.cpp.

References GetLineHeight(), wxTreeListItem::GetY(), and m_dirty.

Referenced by EnsureVisible(), OnChar(), OnKillFocus(), OnSetFocus(), RefreshSelectedUnder(), SelectItem(), SetCurrentItem(), SetDragItem(), SetItemBackgroundColour(), SetItemBold(), SetItemFont(), SetItemHasChildren(), SetItemImage(), SetItemText(), SetItemTextColour(), TagAllChildrenUntilLast(), Unselect(), and UnselectAllChildren().

Here is the call graph for this function:

◆ RefreshSelected()

void wxTreeListMainWindow::RefreshSelected ( )
protected

Definition at line 5352 of file treelistctrl.cpp.

References m_rootItem, and RefreshSelectedUnder().

Referenced by OnKillFocus(), OnMouse(), and OnSetFocus().

Here is the call graph for this function:

◆ RefreshSelectedUnder()

void wxTreeListMainWindow::RefreshSelectedUnder ( wxTreeListItem item)
protected

Definition at line 5360 of file treelistctrl.cpp.

References wxTreeListItem::GetChildren(), wxTreeListItem::IsSelected(), RefreshLine(), and RefreshSelectedUnder().

Referenced by RefreshSelected(), and RefreshSelectedUnder().

Here is the call graph for this function:

◆ RefreshSubtree()

void wxTreeListMainWindow::RefreshSubtree ( wxTreeListItem item)
protected

Definition at line 5311 of file treelistctrl.cpp.

References AdjustMyScrollbars(), wxTreeListItem::GetY(), and m_dirty.

Here is the call graph for this function:

◆ ScrollTo()

void wxTreeListMainWindow::ScrollTo ( const wxTreeItemId &  item)

Definition at line 3563 of file treelistctrl.cpp.

References CalculatePositions(), wxTreeListCtrl::GetHeaderWindow(), GetLineHeight(), wxTreeListItem::GetSize(), wxTreeListHeaderWindow::GetWidth(), wxTreeListItem::GetY(), m_dirty, m_owner, and m_rootItem.

Referenced by EnsureVisible().

Here is the call graph for this function:

◆ SelectAll()

void wxTreeListMainWindow::SelectAll ( )

Definition at line 3492 of file treelistctrl.cpp.

References _T, GetFirstChild(), GetLastChild(), GetRootItem(), m_curItem, m_rootItem, SendEvent(), TagAllChildrenUntilLast(), and TagNextChildren().

Here is the call graph for this function:

◆ SelectItem()

bool wxTreeListMainWindow::SelectItem ( const wxTreeItemId &  item,
const wxTreeItemId &  prev = (wxTreeItemId*)NULL,
bool  unselect_others = true 
)

Definition at line 3407 of file treelistctrl.cpp.

References CalculatePositions(), wxTreeListItem::GetY(), if(), wxTreeListItem::IsSelected(), m_curColumn, m_curItem, m_dirty, m_selectItem, RefreshLine(), SendEvent(), wxTreeListItem::SetHilight(), TagAllChildrenUntilLast(), TagNextChildren(), Unselect(), and UnselectAll().

Referenced by DoDeleteItem(), OnChar(), and OnMouse().

Here is the call graph for this function:

◆ SendEvent()

bool wxTreeListMainWindow::SendEvent ( wxEventType  event_type,
wxTreeListItem item = NULL,
wxTreeEvent *  event = NULL 
)
protected

◆ SetBackgroundColour()

bool wxTreeListMainWindow::SetBackgroundColour ( const wxColour &  colour)
virtual

Definition at line 5379 of file treelistctrl.cpp.

Referenced by Create().

◆ SetButtonsImageList()

void wxTreeListMainWindow::SetButtonsImageList ( wxImageList *  imageList)

Definition at line 3817 of file treelistctrl.cpp.

References CalculateLineHeight(), m_dirty, m_imageListButtons, and m_ownsImageListButtons.

Referenced by AssignButtonsImageList().

Here is the call graph for this function:

◆ SetCurrentItem() [1/2]

void wxTreeListMainWindow::SetCurrentItem ( const wxTreeItemId &  item)

Definition at line 3214 of file treelistctrl.cpp.

References SetCurrentItem().

Referenced by AddRoot(), DeleteRoot(), DoDeleteItem(), OnChar(), OnMouse(), and SetCurrentItem().

Here is the call graph for this function:

◆ SetCurrentItem() [2/2]

void wxTreeListMainWindow::SetCurrentItem ( wxTreeListItem item)
protected

Definition at line 3218 of file treelistctrl.cpp.

References m_curItem, and RefreshLine().

Here is the call graph for this function:

◆ SetDragItem()

void wxTreeListMainWindow::SetDragItem ( const wxTreeItemId &  item = (wxTreeItemId*)NULL)

Definition at line 3749 of file treelistctrl.cpp.

References if(), m_dragItem, and RefreshLine().

Here is the call graph for this function:

◆ SetFocus()

void wxTreeListMainWindow::SetFocus ( )

Definition at line 5420 of file treelistctrl.cpp.

Referenced by OnMouse(), and wxTreeListHeaderWindow::OnSetFocus().

◆ SetFont()

bool wxTreeListMainWindow::SetFont ( const wxFont &  font)
virtual

Definition at line 2666 of file treelistctrl.cpp.

References CalculateLineHeight(), m_boldFont, and m_normalFont.

Here is the call graph for this function:

◆ SetForegroundColour()

bool wxTreeListMainWindow::SetForegroundColour ( const wxColour &  colour)
virtual

Definition at line 5387 of file treelistctrl.cpp.

◆ SetImageList()

void wxTreeListMainWindow::SetImageList ( wxImageList *  imageList)

Definition at line 3801 of file treelistctrl.cpp.

References CalculateLineHeight(), m_dirty, m_imageListNormal, and m_ownsImageListNormal.

Referenced by AssignImageList().

Here is the call graph for this function:

◆ SetIndent()

void wxTreeListMainWindow::SetIndent ( unsigned int  indent)

Definition at line 2383 of file treelistctrl.cpp.

References m_dirty, m_indent, and MININDENT.

◆ SetItemBackgroundColour() [1/2]

void wxTreeListMainWindow::SetItemBackgroundColour ( const wxTreeItemId &  item,
const wxColour &  colour 
)

Definition at line 2635 of file treelistctrl.cpp.

References _T, wxTreeListItem::Attr(), and RefreshLine().

Here is the call graph for this function:

◆ SetItemBackgroundColour() [2/2]

void wxTreeListMainWindow::SetItemBackgroundColour ( const wxTreeItemId &  item,
int  column,
const wxColour &  colour 
)

Definition at line 2642 of file treelistctrl.cpp.

References _T, wxTreeListItem::Attr(), and RefreshLine().

Here is the call graph for this function:

◆ SetItemBold() [1/2]

void wxTreeListMainWindow::SetItemBold ( const wxTreeItemId &  item,
bool  bold = true 
)

Definition at line 2600 of file treelistctrl.cpp.

References _T, if(), wxTreeListItem::IsBold(), RefreshLine(), and wxTreeListItem::SetBold().

Here is the call graph for this function:

◆ SetItemBold() [2/2]

void wxTreeListMainWindow::SetItemBold ( const wxTreeItemId &  item,
int  column,
bool  bold = true 
)

Definition at line 2610 of file treelistctrl.cpp.

References _T, RefreshLine(), and wxTreeListItem::SetBold().

Here is the call graph for this function:

◆ SetItemData() [1/2]

void wxTreeListMainWindow::SetItemData ( const wxTreeItemId &  item,
int  column,
wxTreeItemData *  data 
)

Definition at line 2594 of file treelistctrl.cpp.

References _T.

◆ SetItemData() [2/2]

void wxTreeListMainWindow::SetItemData ( const wxTreeItemId &  item,
wxTreeItemData *  data 
)

Definition at line 2589 of file treelistctrl.cpp.

References _T.

◆ SetItemFont() [1/2]

void wxTreeListMainWindow::SetItemFont ( const wxTreeItemId &  item,
const wxFont &  font 
)

Definition at line 2650 of file treelistctrl.cpp.

References _T, wxTreeListItem::Attr(), and RefreshLine().

Here is the call graph for this function:

◆ SetItemFont() [2/2]

void wxTreeListMainWindow::SetItemFont ( const wxTreeItemId &  item,
int  column,
const wxFont &  font 
)

Definition at line 2657 of file treelistctrl.cpp.

References _T, wxTreeListItem::Attr(), and RefreshLine().

Here is the call graph for this function:

◆ SetItemHasChildren()

void wxTreeListMainWindow::SetItemHasChildren ( const wxTreeItemId &  item,
bool  has = true 
)

Definition at line 2571 of file treelistctrl.cpp.

References _T, RefreshLine(), and wxTreeListItem::SetHasPlus().

Here is the call graph for this function:

◆ SetItemImage() [1/2]

void wxTreeListMainWindow::SetItemImage ( const wxTreeItemId &  item,
int  column,
int  image,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
)

Definition at line 2579 of file treelistctrl.cpp.

References _T, CalculateSize(), RefreshLine(), and wxTreeListItem::SetImage().

Here is the call graph for this function:

◆ SetItemImage() [2/2]

void wxTreeListMainWindow::SetItemImage ( const wxTreeItemId &  item,
int  image,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
)
inline

Definition at line 416 of file treelistctrl.cpp.

◆ SetItemParent()

void wxTreeListMainWindow::SetItemParent ( const wxTreeItemId &  parent,
const wxTreeItemId &  item 
)

Definition at line 3193 of file treelistctrl.cpp.

References _T, wxTreeListItem::GetChildren(), wxTreeListItem::GetItemParent(), m_dirty, m_rootItem, and wxTreeListItem::SetItemParent().

Here is the call graph for this function:

◆ SetItemText()

void wxTreeListMainWindow::SetItemText ( const wxTreeItemId &  item,
int  column,
const wxString &  text 
)

Definition at line 5395 of file treelistctrl.cpp.

References _T, CalculateSize(), RefreshLine(), and wxTreeListItem::SetText().

Referenced by OnRenameAccept().

Here is the call graph for this function:

◆ SetItemTextColour() [1/2]

void wxTreeListMainWindow::SetItemTextColour ( const wxTreeItemId &  item,
const wxColour &  colour 
)

Definition at line 2620 of file treelistctrl.cpp.

References _T, wxTreeListItem::Attr(), and RefreshLine().

Here is the call graph for this function:

◆ SetItemTextColour() [2/2]

void wxTreeListMainWindow::SetItemTextColour ( const wxTreeItemId &  item,
int  column,
const wxColour &  colour 
)

Definition at line 2627 of file treelistctrl.cpp.

References _T, wxTreeListItem::Attr(), and RefreshLine().

Here is the call graph for this function:

◆ SetItemToolTip()

void wxTreeListMainWindow::SetItemToolTip ( const wxTreeItemId &  item,
const wxString &  tip 
)

Definition at line 2430 of file treelistctrl.cpp.

References _T, m_isItemToolTip, and m_toolTipItem.

◆ SetLineSpacing()

void wxTreeListMainWindow::SetLineSpacing ( unsigned int  spacing)

Definition at line 2389 of file treelistctrl.cpp.

References CalculateLineHeight(), m_dirty, and m_linespacing.

Here is the call graph for this function:

◆ SetMainColumn()

void wxTreeListMainWindow::SetMainColumn ( int  column)
inline

Definition at line 678 of file treelistctrl.cpp.

◆ SetStateImageList()

void wxTreeListMainWindow::SetStateImageList ( wxImageList *  imageList)

Definition at line 3810 of file treelistctrl.cpp.

References m_imageListState, and m_ownsImageListState.

Referenced by AssignStateImageList().

◆ SetToolTip() [1/2]

void wxTreeListMainWindow::SetToolTip ( const wxString &  tip)

Definition at line 2417 of file treelistctrl.cpp.

References m_isItemToolTip, m_toolTip, and m_toolTipItem.

◆ SetToolTip() [2/2]

void wxTreeListMainWindow::SetToolTip ( wxToolTip *  tip)

Definition at line 2423 of file treelistctrl.cpp.

References m_isItemToolTip, m_toolTip, and m_toolTipItem.

◆ SetWindowStyle()

void wxTreeListMainWindow::SetWindowStyle ( const long  styles)

Definition at line 2403 of file treelistctrl.cpp.

References m_dirty, and UnselectAll().

Here is the call graph for this function:

◆ SortChildren()

void wxTreeListMainWindow::SortChildren ( const wxTreeItemId &  item,
int  column,
bool  reverseOrder 
)

Definition at line 3625 of file treelistctrl.cpp.

References _T, wxTreeListItem::GetChildren(), m_dirty, m_ReverseSortOrder, m_sortColumn, s_treeBeingSorted, and tree_ctrl_compare_func().

Here is the call graph for this function:

◆ TagAllChildrenUntilLast()

bool wxTreeListMainWindow::TagAllChildrenUntilLast ( wxTreeListItem crt_item,
wxTreeListItem last_item 
)
protected

Definition at line 3386 of file treelistctrl.cpp.

References wxTreeListItem::GetChildren(), wxTreeListItem::HasChildren(), wxTreeListItem::IsExpanded(), RefreshLine(), wxTreeListItem::SetHilight(), and TagAllChildrenUntilLast().

Referenced by SelectAll(), SelectItem(), TagAllChildrenUntilLast(), and TagNextChildren().

Here is the call graph for this function:

◆ TagNextChildren()

bool wxTreeListMainWindow::TagNextChildren ( wxTreeListItem crt_item,
wxTreeListItem last_item 
)
protected

Definition at line 3359 of file treelistctrl.cpp.

References wxTreeListItem::GetChildren(), wxTreeListItem::GetItemParent(), GetRootItem(), wxTreeListItem::HasChildren(), wxTreeListItem::IsExpanded(), TagAllChildrenUntilLast(), and TagNextChildren().

Referenced by SelectAll(), SelectItem(), and TagNextChildren().

Here is the call graph for this function:

◆ Toggle()

void wxTreeListMainWindow::Toggle ( const wxTreeItemId &  item)

Definition at line 3302 of file treelistctrl.cpp.

References _T, Collapse(), Expand(), and IsExpanded().

Referenced by OnChar(), and OnMouse().

Here is the call graph for this function:

◆ Unselect()

void wxTreeListMainWindow::Unselect ( )

Definition at line 3316 of file treelistctrl.cpp.

References m_selectItem, RefreshLine(), and wxTreeListItem::SetHilight().

Referenced by SelectItem().

Here is the call graph for this function:

◆ UnselectAll()

void wxTreeListMainWindow::UnselectAll ( )

Definition at line 3348 of file treelistctrl.cpp.

References GetRootItem(), and UnselectAllChildren().

Referenced by SelectItem(), and SetWindowStyle().

Here is the call graph for this function:

◆ UnselectAllChildren()

void wxTreeListMainWindow::UnselectAllChildren ( wxTreeListItem item)
protected

Definition at line 3326 of file treelistctrl.cpp.

References _T, wxTreeListItem::GetChildren(), wxTreeListItem::HasChildren(), wxTreeListItem::IsSelected(), m_curItem, m_lastOnSame, m_selectItem, RefreshLine(), wxTreeListItem::SetHilight(), and UnselectAllChildren().

Referenced by UnselectAll(), and UnselectAllChildren().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ wxEditTextCtrl

friend class wxEditTextCtrl
friend

Definition at line 274 of file treelistctrl.cpp.

Referenced by EditLabel().

◆ wxTreeListItem

friend class wxTreeListItem
friend

Definition at line 272 of file treelistctrl.cpp.

Referenced by AddRoot(), and DoInsertItem().

◆ wxTreeListRenameTimer

friend class wxTreeListRenameTimer
friend

Definition at line 273 of file treelistctrl.cpp.

Member Data Documentation

◆ m_boldFont

wxFont wxTreeListMainWindow::m_boldFont
protected

Definition at line 701 of file treelistctrl.cpp.

Referenced by GetItemFont(), and SetFont().

◆ m_btnHeight

int wxTreeListMainWindow::m_btnHeight
protected

Definition at line 714 of file treelistctrl.cpp.

Referenced by wxTreeListItem::HitTest(), OnPaint(), and PaintLevel().

◆ m_btnHeight2

int wxTreeListMainWindow::m_btnHeight2
protected

Definition at line 714 of file treelistctrl.cpp.

Referenced by wxTreeListItem::HitTest(), OnPaint(), and PaintLevel().

◆ m_btnWidth

int wxTreeListMainWindow::m_btnWidth
protected

◆ m_btnWidth2

int wxTreeListMainWindow::m_btnWidth2
protected

◆ m_curColumn

int wxTreeListMainWindow::m_curColumn
protected

Definition at line 709 of file treelistctrl.cpp.

Referenced by Collapse(), Expand(), OnChar(), OnMouse(), PaintItem(), SelectItem(), and SendEvent().

◆ m_curItem

◆ m_dirty

◆ m_dottedPen

wxPen wxTreeListMainWindow::m_dottedPen
protected

Definition at line 720 of file treelistctrl.cpp.

Referenced by CalculatePositions(), Create(), OnPaint(), and PaintLevel().

◆ m_dragCol

int wxTreeListMainWindow::m_dragCol
protected

Definition at line 741 of file treelistctrl.cpp.

Referenced by OnMouse().

◆ m_dragItem

wxTreeListItem* wxTreeListMainWindow::m_dragItem
protected

Definition at line 740 of file treelistctrl.cpp.

Referenced by DoDeleteItem(), OnMouse(), and SetDragItem().

◆ m_dragStartPos

wxPoint wxTreeListMainWindow::m_dragStartPos
protected

Definition at line 739 of file treelistctrl.cpp.

Referenced by OnMouse().

◆ m_editAccept

bool wxTreeListMainWindow::m_editAccept
protected

Definition at line 745 of file treelistctrl.cpp.

Referenced by EditLabel().

◆ m_editCol

int wxTreeListMainWindow::m_editCol
protected

Definition at line 747 of file treelistctrl.cpp.

Referenced by EditLabel(), and OnRenameAccept().

◆ m_editControl

wxEditTextCtrl* wxTreeListMainWindow::m_editControl
protected

Definition at line 748 of file treelistctrl.cpp.

Referenced by DoDeleteItem(), EditLabel(), EndEdit(), and ~wxTreeListMainWindow().

◆ m_editItem

wxTreeListItem* wxTreeListMainWindow::m_editItem
protected

Definition at line 743 of file treelistctrl.cpp.

Referenced by EditLabel(), and OnRenameAccept().

◆ m_editRes

wxString wxTreeListMainWindow::m_editRes
protected

Definition at line 746 of file treelistctrl.cpp.

Referenced by EditLabel(), and OnRenameAccept().

◆ m_editTimer

wxTimer* wxTreeListMainWindow::m_editTimer
protected

Definition at line 744 of file treelistctrl.cpp.

Referenced by OnMouse(), and ~wxTreeListMainWindow().

◆ m_findStr

wxString wxTreeListMainWindow::m_findStr
protected

Definition at line 752 of file treelistctrl.cpp.

Referenced by OnChar().

◆ m_findTimer

wxTimer* wxTreeListMainWindow::m_findTimer
protected

Definition at line 751 of file treelistctrl.cpp.

Referenced by OnChar(), and ~wxTreeListMainWindow().

◆ m_hasFocus

bool wxTreeListMainWindow::m_hasFocus
protected

Definition at line 723 of file treelistctrl.cpp.

Referenced by OnKillFocus(), OnSetFocus(), and PaintItem().

◆ m_hilightBrush

wxBrush* wxTreeListMainWindow::m_hilightBrush
protected

Definition at line 721 of file treelistctrl.cpp.

Referenced by PaintItem(), PaintLevel(), and ~wxTreeListMainWindow().

◆ m_hilightUnfocusedBrush

wxBrush * wxTreeListMainWindow::m_hilightUnfocusedBrush
protected

Definition at line 722 of file treelistctrl.cpp.

Referenced by PaintItem(), and ~wxTreeListMainWindow().

◆ m_imageListButtons

wxImageList * wxTreeListMainWindow::m_imageListButtons
protected

◆ m_imageListNormal

wxImageList* wxTreeListMainWindow::m_imageListNormal
protected

◆ m_imageListState

wxImageList * wxTreeListMainWindow::m_imageListState
protected

Definition at line 734 of file treelistctrl.cpp.

Referenced by SetStateImageList(), and ~wxTreeListMainWindow().

◆ m_imgHeight

int wxTreeListMainWindow::m_imgHeight
protected

Definition at line 716 of file treelistctrl.cpp.

Referenced by CalculateSize(), wxTreeListItem::HitTest(), OnPaint(), and PaintItem().

◆ m_imgHeight2

int wxTreeListMainWindow::m_imgHeight2
protected

Definition at line 716 of file treelistctrl.cpp.

Referenced by wxTreeListItem::HitTest(), OnPaint(), and PaintLevel().

◆ m_imgWidth

int wxTreeListMainWindow::m_imgWidth
protected

◆ m_imgWidth2

int wxTreeListMainWindow::m_imgWidth2
protected

Definition at line 715 of file treelistctrl.cpp.

Referenced by OnPaint().

◆ m_indent

unsigned short wxTreeListMainWindow::m_indent
protected

Definition at line 717 of file treelistctrl.cpp.

Referenced by CalculateLevel(), OnPaint(), PaintItem(), PaintLevel(), and SetIndent().

◆ m_isDragging

bool wxTreeListMainWindow::m_isDragging
protected

Definition at line 738 of file treelistctrl.cpp.

Referenced by DoDeleteItem(), OnMouse(), and PaintItem().

◆ m_isDragStarted

bool wxTreeListMainWindow::m_isDragStarted
protected

Definition at line 737 of file treelistctrl.cpp.

Referenced by DoDeleteItem(), and OnMouse().

◆ m_isItemToolTip

bool wxTreeListMainWindow::m_isItemToolTip
protected

Definition at line 754 of file treelistctrl.cpp.

Referenced by OnMouse(), SetItemToolTip(), and SetToolTip().

◆ m_lastOnSame

bool wxTreeListMainWindow::m_lastOnSame
protected

Definition at line 730 of file treelistctrl.cpp.

Referenced by OnMouse(), and UnselectAllChildren().

◆ m_left_down_selection

bool wxTreeListMainWindow::m_left_down_selection
protected

Definition at line 731 of file treelistctrl.cpp.

◆ m_lineHeight

int wxTreeListMainWindow::m_lineHeight
protected

◆ m_linespacing

unsigned short wxTreeListMainWindow::m_linespacing
protected

Definition at line 719 of file treelistctrl.cpp.

Referenced by CalculateLineHeight(), and SetLineSpacing().

◆ m_main_column

int wxTreeListMainWindow::m_main_column
protected

Definition at line 708 of file treelistctrl.cpp.

Referenced by AddRoot(), CalculateSize(), Create(), DoInsertItem(), and PaintLevel().

◆ m_normalFont

wxFont wxTreeListMainWindow::m_normalFont
protected

◆ m_owner

◆ m_ownsImageListButtons

bool wxTreeListMainWindow::m_ownsImageListButtons
protected

◆ m_ownsImageListNormal

bool wxTreeListMainWindow::m_ownsImageListNormal
protected

Definition at line 727 of file treelistctrl.cpp.

Referenced by AssignImageList(), SetImageList(), and ~wxTreeListMainWindow().

◆ m_ownsImageListState

bool wxTreeListMainWindow::m_ownsImageListState
protected

◆ m_ReverseSortOrder

bool wxTreeListMainWindow::m_ReverseSortOrder
protected

Definition at line 711 of file treelistctrl.cpp.

Referenced by OnCompareItems(), and SortChildren().

◆ m_rootItem

◆ m_selectItem

wxTreeListItem* wxTreeListMainWindow::m_selectItem
protected

Definition at line 706 of file treelistctrl.cpp.

Referenced by DeleteRoot(), DoDeleteItem(), SelectItem(), Unselect(), and UnselectAllChildren().

◆ m_shiftItem

wxTreeListItem* wxTreeListMainWindow::m_shiftItem
protected

Definition at line 705 of file treelistctrl.cpp.

Referenced by DeleteRoot(), DoDeleteItem(), OnChar(), and OnMouse().

◆ m_sortColumn

int wxTreeListMainWindow::m_sortColumn
protected

Definition at line 710 of file treelistctrl.cpp.

Referenced by OnCompareItems(), and SortChildren().

◆ m_toolTip

wxString wxTreeListMainWindow::m_toolTip
protected

Definition at line 755 of file treelistctrl.cpp.

Referenced by OnMouse(), and SetToolTip().

◆ m_toolTipItem

wxTreeListItem* wxTreeListMainWindow::m_toolTipItem
protected

Definition at line 756 of file treelistctrl.cpp.

Referenced by OnMouse(), SetItemToolTip(), and SetToolTip().


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