NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
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) |
Friends | |
class | wxTreeListItem |
class | wxTreeListRenameTimer |
class | wxEditTextCtrl |
Definition at line 270 of file treelistctrl.cpp.
|
inline |
Definition at line 279 of file treelistctrl.cpp.
Referenced by wxTreeListCtrl::Create().
|
inline |
Definition at line 284 of file treelistctrl.cpp.
References name.
|
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().
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.
void wxTreeListMainWindow::AdjustMyScrollbars | ( | ) |
Definition at line 3848 of file treelistctrl.cpp.
References wxTreeListCtrl::GetHeaderWindow(), wxTreeListItem::GetSize(), wxTreeListHeaderWindow::GetWidth(), m_lineHeight, m_owner, and m_rootItem.
Referenced by wxTreeListHeaderWindow::AddColumn(), wxTreeListHeaderWindow::InsertColumn(), OnIdle(), RefreshSubtree(), wxTreeListHeaderWindow::RemoveColumn(), wxTreeListHeaderWindow::SetColumn(), and wxTreeListHeaderWindow::SetColumnWidth().
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().
void wxTreeListMainWindow::AssignButtonsImageList | ( | wxImageList * | imageList | ) |
Definition at line 3838 of file treelistctrl.cpp.
References m_ownsImageListButtons, and SetButtonsImageList().
void wxTreeListMainWindow::AssignImageList | ( | wxImageList * | imageList | ) |
Definition at line 3826 of file treelistctrl.cpp.
References m_ownsImageListNormal, and SetImageList().
void wxTreeListMainWindow::AssignStateImageList | ( | wxImageList * | imageList | ) |
Definition at line 3832 of file treelistctrl.cpp.
References m_ownsImageListState, and SetStateImageList().
|
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().
|
protected |
Definition at line 3757 of file treelistctrl.cpp.
References m_imageListButtons, m_imageListNormal, m_lineHeight, m_linespacing, and m_normalFont.
Referenced by SetButtonsImageList(), SetFont(), SetImageList(), and SetLineSpacing().
|
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().
|
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().
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().
void wxTreeListMainWindow::CollapseAndReset | ( | const wxTreeItemId & | item | ) |
Definition at line 3294 of file treelistctrl.cpp.
References _T, Collapse(), and DeleteChildren().
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().
void wxTreeListMainWindow::Delete | ( | const wxTreeItemId & | item | ) |
Definition at line 3078 of file treelistctrl.cpp.
References _T, DoDeleteItem(), wxTreeListItem::GetItemParent(), and m_rootItem.
void wxTreeListMainWindow::DeleteChildren | ( | const wxTreeItemId & | item | ) |
Definition at line 3112 of file treelistctrl.cpp.
References DoDeleteItem(), and wxTreeListItem::GetChildren().
Referenced by CollapseAndReset(), and 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().
|
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().
|
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().
void wxTreeListMainWindow::EditLabel | ( | const wxTreeItemId & | item, |
int | column | ||
) |
Definition at line 4717 of file treelistctrl.cpp.
References CalculatePositions(), wxEditTextCtrl::EndEdit(), wxTreeListHeaderWindow::GetColumnAlignment(), GetColumnCount(), wxTreeListHeaderWindow::GetColumnWidth(), wxTreeListCtrl::GetHeaderWindow(), wxTreeListItem::GetHeight(), GetMainColumn(), wxTreeListItem::GetText(), wxTreeListItem::GetTextX(), wxTreeListItem::GetWidth(), wxTreeListItem::GetY(), wxTreeListHeaderWindow::IsColumnShown(), m_dirty, m_editAccept, m_editCol, m_editControl, m_editItem, m_editRes, m_owner, SendEvent(), and wxEditTextCtrl.
Referenced by OnRenameTimer().
void wxTreeListMainWindow::EndEdit | ( | bool | isCancelled | ) |
Definition at line 4825 of file treelistctrl.cpp.
References wxEditTextCtrl::EndEdit(), and m_editControl.
Referenced by wxTreeListHeaderWindow::OnMouse().
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().
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().
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().
|
protected |
Definition at line 3525 of file treelistctrl.cpp.
References FillArray(), wxTreeListItem::GetChildren(), wxTreeListItem::HasChildren(), and wxTreeListItem::IsSelected().
Referenced by FillArray(), and GetSelections().
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().
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().
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().
|
inline |
Definition at line 352 of file treelistctrl.cpp.
size_t wxTreeListMainWindow::GetChildrenCount | ( | const wxTreeItemId & | item, |
bool | recursively = true |
||
) |
Definition at line 2396 of file treelistctrl.cpp.
References _T.
|
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().
size_t wxTreeListMainWindow::GetCount | ( | ) | const |
Definition at line 2378 of file treelistctrl.cpp.
References wxTreeListItem::GetChildrenCount(), and m_rootItem.
|
inline |
Definition at line 687 of file treelistctrl.cpp.
Referenced by OnMouse(), and OnRenameTimer().
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().
wxTreeItemId wxTreeListMainWindow::GetFirstExpandedItem | ( | ) | const |
Definition at line 2893 of file treelistctrl.cpp.
References GetNextExpanded(), and GetRootItem().
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().
|
inline |
Definition at line 344 of file treelistctrl.cpp.
Referenced by wxTreeListHeaderWindow::OnPaint().
|
inline |
Definition at line 319 of file treelistctrl.cpp.
Referenced by GetItemWidth().
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().
wxColour wxTreeListMainWindow::GetItemBackgroundColour | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2514 of file treelistctrl.cpp.
References _T, wxTreeListItem::GetAttributes(), and GetItemBackgroundColour().
bool wxTreeListMainWindow::GetItemBold | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2460 of file treelistctrl.cpp.
References _T.
bool wxTreeListMainWindow::GetItemBold | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2465 of file treelistctrl.cpp.
References _T.
wxTreeItemData * wxTreeListMainWindow::GetItemData | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2449 of file treelistctrl.cpp.
References _T.
wxTreeItemData * wxTreeListMainWindow::GetItemData | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2454 of file treelistctrl.cpp.
References _T.
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().
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.
int wxTreeListMainWindow::GetItemImage | ( | const wxTreeItemId & | item, |
int | column, | ||
wxTreeItemIcon | which = wxTreeItemIcon_Normal |
||
) | const |
Definition at line 2443 of file treelistctrl.cpp.
References _T.
|
inline |
Definition at line 379 of file treelistctrl.cpp.
wxTreeItemId wxTreeListMainWindow::GetItemParent | ( | const wxTreeItemId & | item | ) | const |
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().
wxString wxTreeListMainWindow::GetItemText | ( | wxTreeItemData * | item, |
int | column | ||
) | const |
Definition at line 5414 of file treelistctrl.cpp.
References _T, IsVirtual(), m_owner, and wxTreeListCtrl::OnGetItemText().
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().
wxColour wxTreeListMainWindow::GetItemTextColour | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2485 of file treelistctrl.cpp.
References _T, wxTreeListItem::GetAttributes(), and GetItemTextColour().
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().
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().
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().
|
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().
|
inline |
Definition at line 326 of file treelistctrl.cpp.
|
inline |
Definition at line 683 of file treelistctrl.cpp.
Referenced by CalculatePositions(), EditLabel(), GetItemWidth(), wxTreeListItem::HitTest(), OnPaint(), PaintItem(), and wxTreeListCtrl::SetColumnShown().
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().
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().
wxTreeItemId wxTreeListMainWindow::GetNextExpanded | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2898 of file treelistctrl.cpp.
Referenced by FindItem(), and GetFirstExpandedItem().
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().
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().
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().
wxTreeItemId wxTreeListMainWindow::GetPrevChild | ( | const wxTreeItemId & | item, |
long & | cookie | ||
) | const |
Definition at line 2785 of file treelistctrl.cpp.
References _T, and GetPrevChild().
Referenced by GetPrevChild().
wxTreeItemId wxTreeListMainWindow::GetPrevExpanded | ( | const wxTreeItemId & | item | ) | const |
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().
wxTreeItemId wxTreeListMainWindow::GetPrevVisible | ( | const wxTreeItemId & | item, |
bool | fullRow, | ||
bool | within | ||
) | const |
Definition at line 2946 of file treelistctrl.cpp.
References _T, GetPrev(), and IsVisible().
|
inline |
Definition at line 481 of file treelistctrl.cpp.
Referenced by FindItem(), GetBestColumnWidth(), GetFirstExpandedItem(), GetFirstVisible(), GetItemWidth(), GetLastVisible(), GetSelections(), OnChar(), SelectAll(), TagNextChildren(), and UnselectAll().
|
inline |
Definition at line 487 of file treelistctrl.cpp.
size_t wxTreeListMainWindow::GetSelections | ( | wxArrayTreeItemIds & | array | ) | const |
Definition at line 3538 of file treelistctrl.cpp.
References FillArray(), and GetRootItem().
|
inline |
Definition at line 348 of file treelistctrl.cpp.
|
inlineprotected |
Definition at line 769 of file treelistctrl.cpp.
Referenced by CalculateLevel(), GetItemWidth(), wxTreeListItem::HitTest(), OnPaint(), PaintItem(), and PaintLevel().
bool wxTreeListMainWindow::HasChildren | ( | const wxTreeItemId & | item | ) | const |
|
inline |
Definition at line 612 of file treelistctrl.cpp.
|
inline |
Definition at line 618 of file treelistctrl.cpp.
wxTreeItemId wxTreeListMainWindow::HitTest | ( | const wxPoint & | point, |
int & | flags, | ||
int & | column | ||
) |
Definition at line 4663 of file treelistctrl.cpp.
References wxTreeListItem::HitTest(), and m_rootItem.
|
protected |
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().
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().
bool wxTreeListMainWindow::IsBold | ( | const wxTreeItemId & | item | ) | const |
bool wxTreeListMainWindow::IsBold | ( | const wxTreeItemId & | item, |
int | column | ||
) | const |
Definition at line 2737 of file treelistctrl.cpp.
References _T.
bool wxTreeListMainWindow::IsExpanded | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2725 of file treelistctrl.cpp.
References _T.
Referenced by ExpandAll(), OnChar(), and Toggle().
bool wxTreeListMainWindow::IsSelected | ( | const wxTreeItemId & | item | ) | const |
Definition at line 2731 of file treelistctrl.cpp.
References _T.
|
inline |
Definition at line 308 of file treelistctrl.cpp.
References wxTR_VIRTUAL.
Referenced by GetItemText().
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().
|
inline |
Definition at line 670 of file treelistctrl.cpp.
void wxTreeListMainWindow::OnChar | ( | wxKeyEvent & | event | ) |
Definition at line 4373 of file treelistctrl.cpp.
References Collapse(), EnsureVisible(), Expand(), ExpandAll(), FIND_TIMER_TICKS, FindItem(), GetFirstChild(), GetFirstVisible(), wxTreeListItem::GetHeight(), GetItemParent(), GetLastChild(), GetLastVisible(), GetNextSibling(), GetPrevSibling(), GetRootItem(), HasChildren(), wxTreeListItem::HasPlus(), wxTreeListItem::HitTest(), IsExpanded(), m_curColumn, m_curItem, m_findStr, m_findTimer, m_rootItem, m_shiftItem, RefreshLine(), SelectItem(), SendEvent(), SetCurrentItem(), Toggle(), wxTL_MODE_FIND_NOCASE, wxTL_MODE_FIND_PARTIAL, and wxTL_MODE_NAV_EXPANDED.
|
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().
|
inline |
Definition at line 663 of file treelistctrl.cpp.
void wxTreeListMainWindow::OnIdle | ( | wxIdleEvent & | event | ) |
Definition at line 5179 of file treelistctrl.cpp.
References AdjustMyScrollbars(), CalculatePositions(), and m_dirty.
void wxTreeListMainWindow::OnKillFocus | ( | wxFocusEvent & | event | ) |
Definition at line 4365 of file treelistctrl.cpp.
References m_curItem, m_hasFocus, RefreshLine(), and RefreshSelected().
void wxTreeListMainWindow::OnMouse | ( | wxMouseEvent & | event | ) |
Definition at line 4833 of file treelistctrl.cpp.
References date::abs(), EnsureVisible(), GetCurrentColumn(), wxTreeListCtrl::GetHeaderWindow(), wxTreeListItem::GetToolTip(), wxTreeListItem::HasPlus(), wxTreeListItem::HitTest(), wxTreeListHeaderWindow::IsColumnEditable(), wxTreeListItem::IsSelected(), m_curColumn, m_curItem, m_dragCol, m_dragItem, m_dragStartPos, m_editTimer, m_isDragging, m_isDragStarted, m_isItemToolTip, m_lastOnSame, m_owner, m_rootItem, m_shiftItem, m_toolTip, m_toolTipItem, RefreshSelected(), RENAME_TIMER_TICKS, SelectItem(), SendEvent(), SetCurrentItem(), SetFocus(), Toggle(), and wxTREE_HITTEST_ONITEMCOLUMN.
void wxTreeListMainWindow::OnPaint | ( | wxPaintEvent & | event | ) |
Definition at line 4298 of file treelistctrl.cpp.
References BTNHEIGHT, BTNWIDTH, GetColumnCount(), wxTreeListHeaderWindow::GetColumnWidth(), wxTreeListCtrl::GetHeaderWindow(), GetMainColumn(), HasButtons(), wxTreeListHeaderWindow::IsColumnShown(), LINEATROOT, m_btnHeight, m_btnHeight2, m_btnWidth, m_btnWidth2, m_dottedPen, m_imageListButtons, m_imageListNormal, m_imgHeight, m_imgHeight2, m_imgWidth, m_imgWidth2, m_indent, m_normalFont, m_owner, m_rootItem, MARGIN, MININDENT, and PaintLevel().
|
protected |
Definition at line 4812 of file treelistctrl.cpp.
References m_editCol, m_editItem, m_editRes, SendEvent(), and SetItemText().
|
protected |
Definition at line 4807 of file treelistctrl.cpp.
References EditLabel(), GetCurrentColumn(), and m_curItem.
void wxTreeListMainWindow::OnScroll | ( | wxScrollWinEvent & | event | ) |
Definition at line 5193 of file treelistctrl.cpp.
References wxTreeListCtrl::GetHeaderWindow(), and m_owner.
void wxTreeListMainWindow::OnSetFocus | ( | wxFocusEvent & | event | ) |
Definition at line 4357 of file treelistctrl.cpp.
References m_curItem, m_hasFocus, RefreshLine(), and RefreshSelected().
|
protected |
Definition at line 3883 of file treelistctrl.cpp.
References _T, wxTreeListColumnInfo::GetAlignment(), wxTreeListHeaderWindow::GetColumn(), GetColumnCount(), wxTreeListHeaderWindow::GetColumnWidth(), wxTreeListItem::GetCurrentImage(), wxTreeListCtrl::GetHeaderWindow(), wxTreeListItem::GetImage(), GetItemBackgroundColour(), GetItemFont(), GetItemTextColour(), GetLineHeight(), GetMainColumn(), wxTreeListItem::GetText(), wxTreeListHeaderWindow::GetWidth(), wxTreeListItem::GetX(), wxTreeListItem::GetY(), HasButtons(), wxTreeListHeaderWindow::IsColumnShown(), wxTreeListItem::IsSelected(), LINEATROOT, m_btnWidth, m_btnWidth2, m_curColumn, m_curItem, m_hasFocus, m_hilightBrush, m_hilightUnfocusedBrush, m_imageListNormal, m_imgHeight, m_imgWidth, m_indent, m_isDragging, m_normalFont, m_owner, MARGIN, NO_IMAGE, wxTreeListItem::SetTextX(), and wxTR_COLUMN_LINES.
Referenced by PaintLevel().
|
protected |
Definition at line 4075 of file treelistctrl.cpp.
References wxTreeListItem::GetChildren(), wxTreeListCtrl::GetHeaderWindow(), GetLineHeight(), wxTreeListHeaderWindow::GetWidth(), wxTreeListItem::GetX(), HasButtons(), wxTreeListItem::HasPlus(), wxTreeListItem::IsExpanded(), wxTreeListItem::IsSelected(), LINEATROOT, m_btnHeight, m_btnHeight2, m_btnWidth, m_btnWidth2, m_dottedPen, m_hilightBrush, m_imageListButtons, m_imgHeight2, m_imgWidth, m_indent, m_main_column, m_owner, MARGIN, PaintItem(), PaintLevel(), wxTreeListItem::SetX(), and wxTreeListItem::SetY().
Referenced by OnPaint(), and PaintLevel().
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().
|
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().
|
protected |
Definition at line 5352 of file treelistctrl.cpp.
References m_rootItem, and RefreshSelectedUnder().
Referenced by OnKillFocus(), OnMouse(), and OnSetFocus().
|
protected |
Definition at line 5360 of file treelistctrl.cpp.
References wxTreeListItem::GetChildren(), wxTreeListItem::IsSelected(), RefreshLine(), and RefreshSelectedUnder().
Referenced by RefreshSelected(), and RefreshSelectedUnder().
|
protected |
Definition at line 5311 of file treelistctrl.cpp.
References AdjustMyScrollbars(), wxTreeListItem::GetY(), and m_dirty.
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().
void wxTreeListMainWindow::SelectAll | ( | ) |
Definition at line 3492 of file treelistctrl.cpp.
References _T, GetFirstChild(), GetLastChild(), GetRootItem(), m_curItem, m_rootItem, SendEvent(), TagAllChildrenUntilLast(), and TagNextChildren().
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().
|
protected |
Definition at line 5501 of file treelistctrl.cpp.
References m_curColumn, and m_owner.
Referenced by Collapse(), DeleteRoot(), DoDeleteItem(), EditLabel(), Expand(), OnChar(), OnMouse(), OnRenameAccept(), SelectAll(), and SelectItem().
|
virtual |
Definition at line 5379 of file treelistctrl.cpp.
Referenced by Create().
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().
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().
|
protected |
Definition at line 3218 of file treelistctrl.cpp.
References m_curItem, and RefreshLine().
void wxTreeListMainWindow::SetDragItem | ( | const wxTreeItemId & | item = (wxTreeItemId*)NULL | ) |
Definition at line 3749 of file treelistctrl.cpp.
References if(), m_dragItem, and RefreshLine().
void wxTreeListMainWindow::SetFocus | ( | ) |
Definition at line 5420 of file treelistctrl.cpp.
Referenced by OnMouse(), and wxTreeListHeaderWindow::OnSetFocus().
|
virtual |
Definition at line 2666 of file treelistctrl.cpp.
References CalculateLineHeight(), m_boldFont, and m_normalFont.
|
virtual |
Definition at line 5387 of file treelistctrl.cpp.
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().
void wxTreeListMainWindow::SetIndent | ( | unsigned int | indent | ) |
Definition at line 2383 of file treelistctrl.cpp.
void wxTreeListMainWindow::SetItemBackgroundColour | ( | const wxTreeItemId & | item, |
const wxColour & | colour | ||
) |
Definition at line 2635 of file treelistctrl.cpp.
References _T, wxTreeListItem::Attr(), and RefreshLine().
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().
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().
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().
void wxTreeListMainWindow::SetItemData | ( | const wxTreeItemId & | item, |
int | column, | ||
wxTreeItemData * | data | ||
) |
Definition at line 2594 of file treelistctrl.cpp.
References _T.
void wxTreeListMainWindow::SetItemData | ( | const wxTreeItemId & | item, |
wxTreeItemData * | data | ||
) |
Definition at line 2589 of file treelistctrl.cpp.
References _T.
void wxTreeListMainWindow::SetItemFont | ( | const wxTreeItemId & | item, |
const wxFont & | font | ||
) |
Definition at line 2650 of file treelistctrl.cpp.
References _T, wxTreeListItem::Attr(), and RefreshLine().
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().
void wxTreeListMainWindow::SetItemHasChildren | ( | const wxTreeItemId & | item, |
bool | has = true |
||
) |
Definition at line 2571 of file treelistctrl.cpp.
References _T, RefreshLine(), and wxTreeListItem::SetHasPlus().
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().
|
inline |
Definition at line 416 of file treelistctrl.cpp.
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().
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().
void wxTreeListMainWindow::SetItemTextColour | ( | const wxTreeItemId & | item, |
const wxColour & | colour | ||
) |
Definition at line 2620 of file treelistctrl.cpp.
References _T, wxTreeListItem::Attr(), and RefreshLine().
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().
void wxTreeListMainWindow::SetItemToolTip | ( | const wxTreeItemId & | item, |
const wxString & | tip | ||
) |
Definition at line 2430 of file treelistctrl.cpp.
References _T, m_isItemToolTip, and m_toolTipItem.
void wxTreeListMainWindow::SetLineSpacing | ( | unsigned int | spacing | ) |
Definition at line 2389 of file treelistctrl.cpp.
References CalculateLineHeight(), m_dirty, and m_linespacing.
|
inline |
Definition at line 678 of file treelistctrl.cpp.
void wxTreeListMainWindow::SetStateImageList | ( | wxImageList * | imageList | ) |
Definition at line 3810 of file treelistctrl.cpp.
References m_imageListState, and m_ownsImageListState.
Referenced by AssignStateImageList().
void wxTreeListMainWindow::SetToolTip | ( | const wxString & | tip | ) |
Definition at line 2417 of file treelistctrl.cpp.
References m_isItemToolTip, m_toolTip, and m_toolTipItem.
void wxTreeListMainWindow::SetToolTip | ( | wxToolTip * | tip | ) |
Definition at line 2423 of file treelistctrl.cpp.
References m_isItemToolTip, m_toolTip, and m_toolTipItem.
void wxTreeListMainWindow::SetWindowStyle | ( | const long | styles | ) |
Definition at line 2403 of file treelistctrl.cpp.
References m_dirty, and UnselectAll().
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().
|
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().
|
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().
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().
void wxTreeListMainWindow::Unselect | ( | ) |
Definition at line 3316 of file treelistctrl.cpp.
References m_selectItem, RefreshLine(), and wxTreeListItem::SetHilight().
Referenced by SelectItem().
void wxTreeListMainWindow::UnselectAll | ( | ) |
Definition at line 3348 of file treelistctrl.cpp.
References GetRootItem(), and UnselectAllChildren().
Referenced by SelectItem(), and SetWindowStyle().
|
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().
|
friend |
Definition at line 274 of file treelistctrl.cpp.
Referenced by EditLabel().
|
friend |
Definition at line 272 of file treelistctrl.cpp.
Referenced by AddRoot(), and DoInsertItem().
|
friend |
Definition at line 273 of file treelistctrl.cpp.
|
protected |
Definition at line 701 of file treelistctrl.cpp.
Referenced by GetItemFont(), and SetFont().
|
protected |
Definition at line 714 of file treelistctrl.cpp.
Referenced by wxTreeListItem::HitTest(), OnPaint(), and PaintLevel().
|
protected |
Definition at line 714 of file treelistctrl.cpp.
Referenced by wxTreeListItem::HitTest(), OnPaint(), and PaintLevel().
|
protected |
Definition at line 713 of file treelistctrl.cpp.
Referenced by CalculateLevel(), GetItemWidth(), wxTreeListItem::HitTest(), OnPaint(), PaintItem(), and PaintLevel().
|
protected |
Definition at line 713 of file treelistctrl.cpp.
Referenced by CalculateLevel(), wxTreeListItem::HitTest(), OnPaint(), PaintItem(), and PaintLevel().
|
protected |
Definition at line 709 of file treelistctrl.cpp.
Referenced by Collapse(), Expand(), OnChar(), OnMouse(), PaintItem(), SelectItem(), and SendEvent().
|
protected |
Definition at line 704 of file treelistctrl.cpp.
Referenced by DoDeleteItem(), OnChar(), OnKillFocus(), OnMouse(), OnRenameTimer(), OnSetFocus(), PaintItem(), SelectAll(), SelectItem(), SetCurrentItem(), and UnselectAllChildren().
bool wxTreeListMainWindow::m_dirty |
Definition at line 725 of file treelistctrl.cpp.
Referenced by wxTreeListHeaderWindow::AddColumn(), AddRoot(), Collapse(), DoDeleteItem(), DoInsertItem(), EditLabel(), Expand(), wxTreeListHeaderWindow::InsertColumn(), OnIdle(), RefreshLine(), RefreshSubtree(), wxTreeListHeaderWindow::RemoveColumn(), ScrollTo(), SelectItem(), SetButtonsImageList(), wxTreeListHeaderWindow::SetColumn(), wxTreeListHeaderWindow::SetColumnWidth(), SetImageList(), SetIndent(), SetItemParent(), SetLineSpacing(), SetWindowStyle(), and SortChildren().
|
protected |
Definition at line 720 of file treelistctrl.cpp.
Referenced by CalculatePositions(), Create(), OnPaint(), and PaintLevel().
|
protected |
Definition at line 741 of file treelistctrl.cpp.
Referenced by OnMouse().
|
protected |
Definition at line 740 of file treelistctrl.cpp.
Referenced by DoDeleteItem(), OnMouse(), and SetDragItem().
|
protected |
Definition at line 739 of file treelistctrl.cpp.
Referenced by OnMouse().
|
protected |
Definition at line 745 of file treelistctrl.cpp.
Referenced by EditLabel().
|
protected |
Definition at line 747 of file treelistctrl.cpp.
Referenced by EditLabel(), and OnRenameAccept().
|
protected |
Definition at line 748 of file treelistctrl.cpp.
Referenced by DoDeleteItem(), EditLabel(), EndEdit(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 743 of file treelistctrl.cpp.
Referenced by EditLabel(), and OnRenameAccept().
|
protected |
Definition at line 746 of file treelistctrl.cpp.
Referenced by EditLabel(), and OnRenameAccept().
|
protected |
Definition at line 744 of file treelistctrl.cpp.
Referenced by OnMouse(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 752 of file treelistctrl.cpp.
Referenced by OnChar().
|
protected |
Definition at line 751 of file treelistctrl.cpp.
Referenced by OnChar(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 723 of file treelistctrl.cpp.
Referenced by OnKillFocus(), OnSetFocus(), and PaintItem().
|
protected |
Definition at line 721 of file treelistctrl.cpp.
Referenced by PaintItem(), PaintLevel(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 722 of file treelistctrl.cpp.
Referenced by PaintItem(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 735 of file treelistctrl.cpp.
Referenced by CalculateLineHeight(), OnPaint(), PaintLevel(), SetButtonsImageList(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 733 of file treelistctrl.cpp.
Referenced by CalculateLineHeight(), OnPaint(), PaintItem(), SetImageList(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 734 of file treelistctrl.cpp.
Referenced by SetStateImageList(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 716 of file treelistctrl.cpp.
Referenced by CalculateSize(), wxTreeListItem::HitTest(), OnPaint(), and PaintItem().
|
protected |
Definition at line 716 of file treelistctrl.cpp.
Referenced by wxTreeListItem::HitTest(), OnPaint(), and PaintLevel().
|
protected |
Definition at line 715 of file treelistctrl.cpp.
Referenced by CalculateSize(), GetItemWidth(), wxTreeListItem::HitTest(), OnPaint(), PaintItem(), and PaintLevel().
|
protected |
Definition at line 715 of file treelistctrl.cpp.
Referenced by OnPaint().
|
protected |
Definition at line 717 of file treelistctrl.cpp.
Referenced by CalculateLevel(), OnPaint(), PaintItem(), PaintLevel(), and SetIndent().
|
protected |
Definition at line 738 of file treelistctrl.cpp.
Referenced by DoDeleteItem(), OnMouse(), and PaintItem().
|
protected |
Definition at line 737 of file treelistctrl.cpp.
Referenced by DoDeleteItem(), and OnMouse().
|
protected |
Definition at line 754 of file treelistctrl.cpp.
Referenced by OnMouse(), SetItemToolTip(), and SetToolTip().
|
protected |
Definition at line 730 of file treelistctrl.cpp.
Referenced by OnMouse(), and UnselectAllChildren().
|
protected |
Definition at line 731 of file treelistctrl.cpp.
|
protected |
Definition at line 718 of file treelistctrl.cpp.
Referenced by AdjustMyScrollbars(), CalculateLineHeight(), CalculateSize(), and GetLineHeight().
|
protected |
Definition at line 719 of file treelistctrl.cpp.
Referenced by CalculateLineHeight(), and SetLineSpacing().
|
protected |
Definition at line 708 of file treelistctrl.cpp.
Referenced by AddRoot(), CalculateSize(), Create(), DoInsertItem(), and PaintLevel().
|
protected |
Definition at line 700 of file treelistctrl.cpp.
Referenced by CalculateLineHeight(), CalculatePositions(), CalculateSize(), GetItemFont(), OnPaint(), PaintItem(), and SetFont().
|
protected |
Definition at line 698 of file treelistctrl.cpp.
Referenced by AdjustMyScrollbars(), CalculatePositions(), Create(), EditLabel(), GetItemText(), wxTreeListItem::HitTest(), OnCompareItems(), OnMouse(), OnPaint(), OnScroll(), PaintItem(), PaintLevel(), ScrollTo(), and SendEvent().
|
protected |
Definition at line 729 of file treelistctrl.cpp.
Referenced by AssignButtonsImageList(), SetButtonsImageList(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 727 of file treelistctrl.cpp.
Referenced by AssignImageList(), SetImageList(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 728 of file treelistctrl.cpp.
Referenced by AssignStateImageList(), SetStateImageList(), and ~wxTreeListMainWindow().
|
protected |
Definition at line 711 of file treelistctrl.cpp.
Referenced by OnCompareItems(), and SortChildren().
|
protected |
Definition at line 703 of file treelistctrl.cpp.
Referenced by AddRoot(), AdjustMyScrollbars(), CalculatePositions(), Delete(), DeleteRoot(), GetCount(), HitTest(), IsVisible(), OnChar(), OnMouse(), OnPaint(), RefreshSelected(), ScrollTo(), SelectAll(), and SetItemParent().
|
protected |
Definition at line 706 of file treelistctrl.cpp.
Referenced by DeleteRoot(), DoDeleteItem(), SelectItem(), Unselect(), and UnselectAllChildren().
|
protected |
Definition at line 705 of file treelistctrl.cpp.
Referenced by DeleteRoot(), DoDeleteItem(), OnChar(), and OnMouse().
|
protected |
Definition at line 710 of file treelistctrl.cpp.
Referenced by OnCompareItems(), and SortChildren().
|
protected |
Definition at line 755 of file treelistctrl.cpp.
Referenced by OnMouse(), and SetToolTip().
|
protected |
Definition at line 756 of file treelistctrl.cpp.
Referenced by OnMouse(), SetItemToolTip(), and SetToolTip().