LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
weld::TreeView Class Referenceabstract

#include <weld.hxx>

Inheritance diagram for weld::TreeView:
[legend]
Collaboration diagram for weld::TreeView:
[legend]

Public Member Functions

virtual void insert (const TreeIter *pParent, int pos, const OUString *pStr, const OUString *pId, const OUString *pIconName, VirtualDevice *pImageSurface, const OUString *pExpanderName, bool bChildrenOnDemand, TreeIter *pRet)=0
 
void insert (int nRow, TreeIter *pRet=nullptr)
 
void append (TreeIter *pRet=nullptr)
 
void insert (int pos, const OUString &rStr, const OUString *pId, const OUString *pIconName, VirtualDevice *pImageSurface)
 
void insert_text (int pos, const OUString &rStr)
 
void append_text (const OUString &rStr)
 
void append (const OUString &rId, const OUString &rStr)
 
void append (const OUString &rId, const OUString &rStr, const OUString &rImage)
 
void append (const TreeIter *pParent, const OUString &rId, const OUString &rStr, const OUString &rImage)
 
void append (const TreeIter *pParent, const OUString &rStr)
 
void append (const OUString &rId, const OUString &rStr, VirtualDevice &rImage)
 
void connect_changed (const Link< TreeView &, void > &rLink)
 
void connect_row_activated (const Link< TreeView &, void > &rLink)
 
void connect_toggled (const Link< const std::pair< int, int > &, void > &rLink)
 
void connect_column_clicked (const Link< int, void > &rLink)
 
void connect_model_changed (const Link< TreeView &, void > &rLink)
 
virtual OUString get_selected_text () const =0
 
virtual OUString get_selected_id () const =0
 
virtual int get_selected_index () const =0
 
virtual void select (int pos)=0
 
virtual void unselect (int pos)=0
 
virtual void remove (int pos)=0
 
virtual OUString get_text (int row, int col=-1) const =0
 
virtual void set_text (int row, const OUString &rText, int col=-1)=0
 
virtual void set_sensitive (int row, bool bSensitive, int col=-1)=0
 
virtual void set_id (int row, const OUString &rId)=0
 
virtual void set_toggle (int row, TriState eState, int col)=0
 
virtual TriState get_toggle (int row, int col) const =0
 
virtual void set_image (int row, const OUString &rImage, int col=-1)=0
 
virtual void set_image (int row, VirtualDevice &rImage, int col=-1)=0
 
virtual void set_image (int row, const css::uno::Reference< css::graphic::XGraphic > &rImage, int col=-1)=0
 
virtual void set_text_emphasis (int row, bool bOn, int col)=0
 
virtual bool get_text_emphasis (int row, int col) const =0
 
virtual void set_top_entry (int pos)=0
 
virtual void swap (int pos1, int pos2)=0
 
virtual std::vector< intget_selected_rows () const =0
 
virtual void set_font_color (int pos, const Color &rColor) const =0
 
virtual void scroll_to_row (int pos)=0
 
virtual int get_cursor_index () const =0
 
virtual void set_cursor (int pos)=0
 
virtual int find_text (const OUString &rText) const =0
 
void select_text (const OUString &rText)
 
void remove_text (const OUString &rText)
 
std::vector< OUString > get_selected_rows_text () const
 
virtual OUString get_id (int pos) const =0
 
virtual int find_id (const OUString &rId) const =0
 
void select_id (const OUString &rId)
 
void remove_id (const OUString &rText)
 
virtual std::unique_ptr< TreeItermake_iterator (const TreeIter *pOrig=nullptr) const =0
 
virtual void copy_iterator (const TreeIter &rSource, TreeIter &rDest) const =0
 
virtual bool get_selected (TreeIter *pIter) const =0
 
virtual bool get_cursor (TreeIter *pIter) const =0
 
virtual void set_cursor (const TreeIter &rIter)=0
 
virtual bool get_iter_first (TreeIter &rIter) const =0
 
virtual bool iter_next_sibling (TreeIter &rIter) const =0
 
virtual bool iter_next (TreeIter &rIter) const =0
 
virtual bool iter_children (TreeIter &rIter) const =0
 
bool iter_nth_sibling (TreeIter &rIter, int nChild) const
 
bool iter_nth_child (TreeIter &rIter, int nChild) const
 
virtual bool iter_parent (TreeIter &rIter) const =0
 
virtual int get_iter_depth (const TreeIter &rIter) const =0
 
virtual int get_iter_index_in_parent (const TreeIter &rIter) const =0
 
virtual int iter_compare (const TreeIter &a, const TreeIter &b) const =0
 
virtual bool iter_has_child (const TreeIter &rIter) const =0
 
virtual void remove (const TreeIter &rIter)=0
 
virtual void select (const TreeIter &rIter)=0
 
virtual void unselect (const TreeIter &rIter)=0
 
virtual bool get_row_expanded (const TreeIter &rIter) const =0
 
virtual void expand_row (const TreeIter &rIter)=0
 
virtual void collapse_row (const TreeIter &rIter)=0
 
virtual void set_text (const TreeIter &rIter, const OUString &rStr, int col=-1)=0
 
virtual void set_sensitive (const TreeIter &rIter, bool bSensitive, int col=-1)=0
 
virtual void set_image (const TreeIter &rIter, const OUString &rImage, int col=-1)=0
 
virtual void set_text_emphasis (const TreeIter &rIter, bool bOn, int col)=0
 
virtual bool get_text_emphasis (const TreeIter &rIter, int col) const =0
 
virtual void set_toggle (const TreeIter &rIter, TriState bOn, int col)=0
 
virtual TriState get_toggle (const TreeIter &rIter, int col) const =0
 
virtual OUString get_text (const TreeIter &rIter, int col=-1) const =0
 
virtual void set_id (const TreeIter &rIter, const OUString &rId)=0
 
virtual OUString get_id (const TreeIter &rIter) const =0
 
virtual void set_image (const TreeIter &rIter, const css::uno::Reference< css::graphic::XGraphic > &rImage, int col)=0
 
virtual void set_font_color (const TreeIter &rIter, const Color &rColor) const =0
 
virtual void scroll_to_row (const TreeIter &rIter)=0
 
virtual bool is_selected (const TreeIter &rIter) const =0
 
virtual void move_subtree (TreeIter &rNode, const TreeIter *pNewParent, int nIndexInNewParent)=0
 
virtual void all_foreach (const std::function< bool(TreeIter &)> &func)=0
 
virtual void selected_foreach (const std::function< bool(TreeIter &)> &func)=0
 
virtual void visible_foreach (const std::function< bool(TreeIter &)> &func)=0
 
virtual void bulk_insert_for_each (int nSourceCount, const std::function< void(TreeIter &, int nSourceIndex)> &func, const std::vector< int > *pFixedWidths=nullptr)=0
 
void connect_expanding (const Link< const TreeIter &, bool > &rLink)
 
virtual void connect_editing_started (const Link< const TreeIter &, bool > &rLink)
 
virtual void connect_editing_done (const Link< const std::pair< const TreeIter &, OUString > &, bool > &rLink)
 
virtual void connect_visible_range_changed (const Link< TreeView &, void > &rLink)
 
virtual void connect_popup_menu (const Link< const CommandEvent &, bool > &rLink)
 
void select_all ()
 
void unselect_all ()
 
virtual int n_children () const =0
 
virtual void make_sorted ()=0
 
virtual void make_unsorted ()=0
 
virtual bool get_sort_order () const =0
 
virtual void set_sort_order (bool bAscending)=0
 
virtual void set_sort_indicator (TriState eState, int nColumn=-1)=0
 
virtual TriState get_sort_indicator (int nColumn=-1) const =0
 
virtual int get_sort_column () const =0
 
virtual void set_sort_column (int nColumn)=0
 
virtual void set_sort_func (const std::function< int(const weld::TreeIter &, const weld::TreeIter &)> &func)
 
virtual void clear ()=0
 
virtual int get_height_rows (int nRows) const =0
 
virtual void columns_autosize ()=0
 
virtual void set_column_fixed_widths (const std::vector< int > &rWidths)=0
 
virtual int get_column_width (int nCol) const =0
 
virtual void set_centered_column (int nCol)=0
 
virtual OUString get_column_title (int nColumn) const =0
 
virtual void set_column_title (int nColumn, const OUString &rTitle)=0
 
int get_checkbox_column_width () const
 
virtual void set_selection_mode (SelectionMode eMode)=0
 
virtual int count_selected_rows () const =0
 
virtual void remove_selection ()=0
 
void set_toggle_columns_as_radio (const std::vector< int > &rCols)
 
void save_value ()
 
OUString const & get_saved_value () const
 
bool get_value_changed_from_saved () const
 
virtual bool get_dest_row_at_pos (const Point &rPos, weld::TreeIter *pResult)=0
 
virtual TreeViewget_drag_source () const =0
 
- Public Member Functions inherited from weld::Container
virtual void move (weld::Widget *pWidget, weld::Container *pNewParent)=0
 
- Public Member Functions inherited from weld::Widget
virtual void set_sensitive (bool sensitive)=0
 
virtual bool get_sensitive () const =0
 
virtual void show ()=0
 
virtual void hide ()=0
 
virtual void set_visible (bool visible)
 
virtual bool get_visible () const =0
 
virtual bool is_visible () const =0
 
virtual void set_can_focus (bool bCanFocus)=0
 
virtual void grab_focus ()=0
 
virtual bool has_focus () const =0
 
virtual void set_has_default (bool has_default)=0
 
virtual bool get_has_default () const =0
 
virtual void set_size_request (int nWidth, int nHeight)=0
 
virtual Size get_size_request () const =0
 
virtual Size get_preferred_size () const =0
 
virtual float get_approximate_digit_width () const =0
 
virtual int get_text_height () const =0
 
virtual Size get_pixel_size (const OUString &rText) const =0
 
virtual OString get_buildable_name () const =0
 
virtual void set_help_id (const OString &rName)=0
 
virtual OString get_help_id () const =0
 
virtual void set_grid_left_attach (int nAttach)=0
 
virtual int get_grid_left_attach () const =0
 
virtual void set_grid_width (int nCols)=0
 
virtual void set_grid_top_attach (int nAttach)=0
 
virtual int get_grid_top_attach () const =0
 
virtual void set_hexpand (bool bExpand)=0
 
virtual bool get_hexpand () const =0
 
virtual void set_vexpand (bool bExpand)=0
 
virtual bool get_vexpand () const =0
 
virtual void set_secondary (bool bSecondary)=0
 
virtual void set_margin_top (int nMargin)=0
 
virtual void set_margin_bottom (int nMargin)=0
 
virtual bool get_extents_relative_to (Widget &rRelative, int &x, int &y, int &width, int &height)=0
 
virtual void set_accessible_name (const OUString &rName)=0
 
virtual OUString get_accessible_name () const =0
 
virtual OUString get_accessible_description () const =0
 
virtual void set_accessible_relation_labeled_by (weld::Widget *pLabel)=0
 
virtual void set_accessible_relation_label_for (weld::Widget *pLabeled)=0
 
virtual void add_extra_accessible_relation (const css::accessibility::AccessibleRelation &rRelation)=0
 
virtual void clear_extra_accessible_relations ()=0
 
virtual void set_tooltip_text (const OUString &rTip)=0
 
virtual OUString get_tooltip_text () const =0
 
virtual void connect_focus_in (const Link< Widget &, void > &rLink)
 
virtual void connect_focus_out (const Link< Widget &, void > &rLink)
 
virtual void connect_mnemonic_activate (const Link< Widget &, bool > &rLink)
 
virtual void connect_size_allocate (const Link< const Size &, void > &rLink)
 
virtual void connect_key_press (const Link< const KeyEvent &, bool > &rLink)
 
virtual void connect_key_release (const Link< const KeyEvent &, bool > &rLink)
 
virtual void connect_mouse_press (const Link< const MouseEvent &, bool > &rLink)
 
virtual void connect_mouse_move (const Link< const MouseEvent &, bool > &rLink)
 
virtual void connect_mouse_release (const Link< const MouseEvent &, bool > &rLink)
 
virtual void grab_add ()=0
 
virtual bool has_grab () const =0
 
virtual void grab_remove ()=0
 
virtual vcl::Font get_font ()=0
 
virtual bool get_direction () const =0
 
virtual void set_direction (bool bRTL)=0
 
virtual void freeze ()=0
 
virtual void thaw ()=0
 
virtual std::unique_ptr< Containerweld_parent () const =0
 
virtual void help_hierarchy_foreach (const std::function< bool(const OString &)> &func)=0
 
virtual OUString strip_mnemonic (const OUString &rLabel) const =0
 
virtual VclPtr< VirtualDevicecreate_virtual_device () const =0
 
virtual void set_stack_background ()=0
 
virtual void set_highlight_background ()=0
 
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > get_drop_target ()=0
 
virtual ~Widget ()
 

Protected Member Functions

void signal_changed ()
 
void signal_row_activated ()
 
void signal_column_clicked (int nColumn)
 
bool signal_expanding (const TreeIter &rIter)
 
void signal_visible_range_changed ()
 
void signal_model_changed ()
 
void signal_toggled (const std::pair< int, int > &rRowCol)
 
bool signal_editing_started (const TreeIter &rIter)
 
bool signal_editing_done (const std::pair< const TreeIter &, OUString > &rIterText)
 

Protected Attributes

Link< TreeView &, voidm_aChangeHdl
 
Link< TreeView &, voidm_aRowActivatedHdl
 
Link< int, voidm_aColumnClickedHdl
 
Link< const std::pair< int, int > &, voidm_aRadioToggleHdl
 
Link< const TreeIter &, bool > m_aEditingStartedHdl
 
Link< const std::pair< const TreeIter &, OUString > &, bool > m_aEditingDoneHdl
 
Link< const TreeIter &, bool > m_aExpandingHdl
 
Link< TreeView &, voidm_aVisibleRangeChangedHdl
 
Link< TreeView &, voidm_aModelChangedHdl
 
Link< const CommandEvent &, bool > m_aPopupMenuHdl
 
std::function< int(const weld::TreeIter &, const weld::TreeIter &)> m_aCustomSort
 
std::vector< intm_aRadioIndexes
 
- Protected Attributes inherited from weld::Widget
Link< Widget &, voidm_aFocusInHdl
 
Link< Widget &, voidm_aFocusOutHdl
 
Link< Widget &, bool > m_aMnemonicActivateHdl
 
Link< const Size &, voidm_aSizeAllocateHdl
 
Link< const KeyEvent &, bool > m_aKeyPressHdl
 
Link< const KeyEvent &, bool > m_aKeyReleaseHdl
 
Link< const MouseEvent &, bool > m_aMousePressHdl
 
Link< const MouseEvent &, bool > m_aMouseMotionHdl
 
Link< const MouseEvent &, bool > m_aMouseReleaseHdl
 

Private Attributes

OUString m_sSavedValue
 

Detailed Description

Definition at line 596 of file weld.hxx.

Member Function Documentation

virtual void weld::TreeView::all_foreach ( const std::function< bool(TreeIter &)> &  func)
pure virtual

Implemented in SalInstanceTreeView.

void weld::TreeView::append ( TreeIter pRet = nullptr)
inline

Definition at line 648 of file weld.hxx.

void weld::TreeView::append ( const OUString &  rId,
const OUString &  rStr 
)
inline

Definition at line 663 of file weld.hxx.

void weld::TreeView::append ( const OUString &  rId,
const OUString &  rStr,
const OUString &  rImage 
)
inline

Definition at line 667 of file weld.hxx.

void weld::TreeView::append ( const TreeIter pParent,
const OUString &  rId,
const OUString &  rStr,
const OUString &  rImage 
)
inline

Definition at line 671 of file weld.hxx.

void weld::TreeView::append ( const TreeIter pParent,
const OUString &  rStr 
)
inline

Definition at line 676 of file weld.hxx.

void weld::TreeView::append ( const OUString &  rId,
const OUString &  rStr,
VirtualDevice rImage 
)
inline

Definition at line 680 of file weld.hxx.

void weld::TreeView::append_text ( const OUString &  rStr)
inline

Definition at line 659 of file weld.hxx.

virtual void weld::TreeView::bulk_insert_for_each ( int  nSourceCount,
const std::function< void(TreeIter &, int nSourceIndex)> &  func,
const std::vector< int > *  pFixedWidths = nullptr 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::clear ( )
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::collapse_row ( const TreeIter rIter)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::columns_autosize ( )
pure virtual

Implemented in SalInstanceTreeView.

void weld::TreeView::connect_changed ( const Link< TreeView &, void > &  rLink)
inline

Definition at line 685 of file weld.hxx.

void weld::TreeView::connect_column_clicked ( const Link< int, void > &  rLink)
inline

Definition at line 695 of file weld.hxx.

virtual void weld::TreeView::connect_editing_done ( const Link< const std::pair< const TreeIter &, OUString > &, bool > &  rLink)
inlinevirtual

Reimplemented in SalInstanceTreeView.

Definition at line 837 of file weld.hxx.

Referenced by SalInstanceTreeView::connect_editing_done().

virtual void weld::TreeView::connect_editing_started ( const Link< const TreeIter &, bool > &  rLink)
inlinevirtual

Reimplemented in SalInstanceTreeView.

Definition at line 831 of file weld.hxx.

Referenced by SalInstanceTreeView::connect_editing_started().

void weld::TreeView::connect_expanding ( const Link< const TreeIter &, bool > &  rLink)
inline

Definition at line 828 of file weld.hxx.

void weld::TreeView::connect_model_changed ( const Link< TreeView &, void > &  rLink)
inline

Definition at line 696 of file weld.hxx.

virtual void weld::TreeView::connect_popup_menu ( const Link< const CommandEvent &, bool > &  rLink)
inlinevirtual

Definition at line 848 of file weld.hxx.

void weld::TreeView::connect_row_activated ( const Link< TreeView &, void > &  rLink)
inline

Definition at line 686 of file weld.hxx.

void weld::TreeView::connect_toggled ( const Link< const std::pair< int, int > &, void > &  rLink)
inline

Definition at line 690 of file weld.hxx.

virtual void weld::TreeView::connect_visible_range_changed ( const Link< TreeView &, void > &  rLink)
inlinevirtual

Reimplemented in SalInstanceTreeView.

Definition at line 842 of file weld.hxx.

References Link< class, class >::IsSet().

Referenced by SalInstanceTreeView::connect_visible_range_changed().

virtual void weld::TreeView::copy_iterator ( const TreeIter rSource,
TreeIter rDest 
) const
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::count_selected_rows ( ) const
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::expand_row ( const TreeIter rIter)
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::find_id ( const OUString &  rId) const
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::find_text ( const OUString &  rText) const
pure virtual

Implemented in SalInstanceTreeView.

int weld::TreeView::get_checkbox_column_width ( ) const
inline

Definition at line 888 of file weld.hxx.

virtual OUString weld::TreeView::get_column_title ( int  nColumn) const
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::get_column_width ( int  nCol) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::get_cursor ( TreeIter pIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::get_cursor_index ( ) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::get_dest_row_at_pos ( const Point rPos,
weld::TreeIter pResult 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual TreeView* weld::TreeView::get_drag_source ( ) const
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::get_height_rows ( int  nRows) const
pure virtual

Implemented in SalInstanceTreeView.

virtual OUString weld::TreeView::get_id ( int  pos) const
pure virtual

Implemented in SalInstanceTreeView.

virtual OUString weld::TreeView::get_id ( const TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::get_iter_depth ( const TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::get_iter_first ( TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::get_iter_index_in_parent ( const TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::get_row_expanded ( const TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

OUString const& weld::TreeView::get_saved_value ( ) const
inline

Definition at line 898 of file weld.hxx.

virtual bool weld::TreeView::get_selected ( TreeIter pIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual OUString weld::TreeView::get_selected_id ( ) const
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::get_selected_index ( ) const
pure virtual

Implemented in SalInstanceTreeView.

virtual std::vector<int> weld::TreeView::get_selected_rows ( ) const
pure virtual

Implemented in SalInstanceTreeView.

std::vector<OUString> weld::TreeView::get_selected_rows_text ( ) const
inline

Definition at line 731 of file weld.hxx.

virtual OUString weld::TreeView::get_selected_text ( ) const
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::get_sort_column ( ) const
pure virtual

Implemented in SalInstanceTreeView.

virtual TriState weld::TreeView::get_sort_indicator ( int  nColumn = -1) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::get_sort_order ( ) const
pure virtual

Implemented in SalInstanceTreeView.

virtual OUString weld::TreeView::get_text ( int  row,
int  col = -1 
) const
pure virtual

Implemented in SalInstanceTreeView.

virtual OUString weld::TreeView::get_text ( const TreeIter rIter,
int  col = -1 
) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::get_text_emphasis ( int  row,
int  col 
) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::get_text_emphasis ( const TreeIter rIter,
int  col 
) const
pure virtual

Implemented in SalInstanceTreeView.

virtual TriState weld::TreeView::get_toggle ( int  row,
int  col 
) const
pure virtual

Implemented in SalInstanceTreeView.

virtual TriState weld::TreeView::get_toggle ( const TreeIter rIter,
int  col 
) const
pure virtual

Implemented in SalInstanceTreeView.

bool weld::TreeView::get_value_changed_from_saved ( ) const
inline

Definition at line 899 of file weld.hxx.

virtual void weld::TreeView::insert ( const TreeIter pParent,
int  pos,
const OUString *  pStr,
const OUString *  pId,
const OUString *  pIconName,
VirtualDevice pImageSurface,
const OUString *  pExpanderName,
bool  bChildrenOnDemand,
TreeIter pRet 
)
pure virtual

Implemented in SalInstanceTreeView.

void weld::TreeView::insert ( int  nRow,
TreeIter pRet = nullptr 
)
inline

Definition at line 643 of file weld.hxx.

void weld::TreeView::insert ( int  pos,
const OUString &  rStr,
const OUString *  pId,
const OUString *  pIconName,
VirtualDevice pImageSurface 
)
inline

Definition at line 650 of file weld.hxx.

void weld::TreeView::insert_text ( int  pos,
const OUString &  rStr 
)
inline

Definition at line 655 of file weld.hxx.

virtual bool weld::TreeView::is_selected ( const TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::iter_children ( TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::iter_compare ( const TreeIter a,
const TreeIter b 
) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::iter_has_child ( const TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::iter_next ( TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual bool weld::TreeView::iter_next_sibling ( TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

bool weld::TreeView::iter_nth_child ( TreeIter rIter,
int  nChild 
) const
inline

Definition at line 766 of file weld.hxx.

bool weld::TreeView::iter_nth_sibling ( TreeIter rIter,
int  nChild 
) const
inline

Definition at line 759 of file weld.hxx.

References i.

virtual bool weld::TreeView::iter_parent ( TreeIter rIter) const
pure virtual

Implemented in SalInstanceTreeView.

virtual std::unique_ptr<TreeIter> weld::TreeView::make_iterator ( const TreeIter pOrig = nullptr) const
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::make_sorted ( )
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::make_unsorted ( )
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::move_subtree ( TreeIter rNode,
const TreeIter pNewParent,
int  nIndexInNewParent 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual int weld::TreeView::n_children ( ) const
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::remove ( int  pos)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::remove ( const TreeIter rIter)
pure virtual

Implemented in SalInstanceTreeView.

void weld::TreeView::remove_id ( const OUString &  rText)
inline

Definition at line 745 of file weld.hxx.

virtual void weld::TreeView::remove_selection ( )
pure virtual

Implemented in SalInstanceTreeView.

void weld::TreeView::remove_text ( const OUString &  rText)
inline

Definition at line 730 of file weld.hxx.

void weld::TreeView::save_value ( )
inline

Definition at line 897 of file weld.hxx.

virtual void weld::TreeView::scroll_to_row ( int  pos)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::scroll_to_row ( const TreeIter rIter)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::select ( int  pos)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::select ( const TreeIter rIter)
pure virtual

Implemented in SalInstanceTreeView.

void weld::TreeView::select_all ( )
inline

Definition at line 854 of file weld.hxx.

void weld::TreeView::select_id ( const OUString &  rId)
inline

Definition at line 744 of file weld.hxx.

void weld::TreeView::select_text ( const OUString &  rText)
inline

Definition at line 729 of file weld.hxx.

virtual void weld::TreeView::selected_foreach ( const std::function< bool(TreeIter &)> &  func)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_centered_column ( int  nCol)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_column_fixed_widths ( const std::vector< int > &  rWidths)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_column_title ( int  nColumn,
const OUString &  rTitle 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_cursor ( int  pos)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_cursor ( const TreeIter rIter)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_font_color ( int  pos,
const Color rColor 
) const
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_font_color ( const TreeIter rIter,
const Color rColor 
) const
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_id ( int  row,
const OUString &  rId 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_id ( const TreeIter rIter,
const OUString &  rId 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_image ( int  row,
const OUString &  rImage,
int  col = -1 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_image ( int  row,
VirtualDevice rImage,
int  col = -1 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_image ( int  row,
const css::uno::Reference< css::graphic::XGraphic > &  rImage,
int  col = -1 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_image ( const TreeIter rIter,
const OUString &  rImage,
int  col = -1 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_image ( const TreeIter rIter,
const css::uno::Reference< css::graphic::XGraphic > &  rImage,
int  col 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_selection_mode ( SelectionMode  eMode)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_sensitive ( int  row,
bool  bSensitive,
int  col = -1 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_sensitive ( const TreeIter rIter,
bool  bSensitive,
int  col = -1 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_sort_column ( int  nColumn)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_sort_func ( const std::function< int(const weld::TreeIter &, const weld::TreeIter &)> &  func)
inlinevirtual

Definition at line 873 of file weld.hxx.

Referenced by SalInstanceTreeView::set_sort_func().

virtual void weld::TreeView::set_sort_indicator ( TriState  eState,
int  nColumn = -1 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_sort_order ( bool  bAscending)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_text ( int  row,
const OUString &  rText,
int  col = -1 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_text ( const TreeIter rIter,
const OUString &  rStr,
int  col = -1 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_text_emphasis ( int  row,
bool  bOn,
int  col 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_text_emphasis ( const TreeIter rIter,
bool  bOn,
int  col 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_toggle ( int  row,
TriState  eState,
int  col 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::set_toggle ( const TreeIter rIter,
TriState  bOn,
int  col 
)
pure virtual

Implemented in SalInstanceTreeView.

void weld::TreeView::set_toggle_columns_as_radio ( const std::vector< int > &  rCols)
inline

Definition at line 895 of file weld.hxx.

virtual void weld::TreeView::set_top_entry ( int  pos)
pure virtual

Implemented in SalInstanceTreeView.

void weld::TreeView::signal_changed ( )
inlineprotected

Definition at line 617 of file weld.hxx.

References Link< class, class >::Call().

void weld::TreeView::signal_column_clicked ( int  nColumn)
inlineprotected

Definition at line 619 of file weld.hxx.

References Link< class, class >::Call().

bool weld::TreeView::signal_editing_done ( const std::pair< const TreeIter &, OUString > &  rIterText)
inlineprotected

Definition at line 632 of file weld.hxx.

References Link< class, class >::Call().

bool weld::TreeView::signal_editing_started ( const TreeIter rIter)
inlineprotected

Definition at line 630 of file weld.hxx.

References Link< class, class >::Call().

bool weld::TreeView::signal_expanding ( const TreeIter rIter)
inlineprotected
void weld::TreeView::signal_model_changed ( )
inlineprotected

Definition at line 625 of file weld.hxx.

References Link< class, class >::Call().

void weld::TreeView::signal_row_activated ( )
inlineprotected

Definition at line 618 of file weld.hxx.

References Link< class, class >::Call().

void weld::TreeView::signal_toggled ( const std::pair< int, int > &  rRowCol)
inlineprotected

Definition at line 628 of file weld.hxx.

References Link< class, class >::Call().

void weld::TreeView::signal_visible_range_changed ( )
inlineprotected

Definition at line 624 of file weld.hxx.

References Link< class, class >::Call().

virtual void weld::TreeView::swap ( int  pos1,
int  pos2 
)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::unselect ( int  pos)
pure virtual

Implemented in SalInstanceTreeView.

virtual void weld::TreeView::unselect ( const TreeIter rIter)
pure virtual

Implemented in SalInstanceTreeView.

void weld::TreeView::unselect_all ( )
inline

Definition at line 855 of file weld.hxx.

virtual void weld::TreeView::visible_foreach ( const std::function< bool(TreeIter &)> &  func)
pure virtual

Implemented in SalInstanceTreeView.

Member Data Documentation

Link<TreeView&, void> weld::TreeView::m_aChangeHdl
protected

Definition at line 602 of file weld.hxx.

Link<int, void> weld::TreeView::m_aColumnClickedHdl
protected

Definition at line 604 of file weld.hxx.

std::function<int(const weld::TreeIter&, const weld::TreeIter&)> weld::TreeView::m_aCustomSort
protected

Definition at line 613 of file weld.hxx.

Link<const std::pair<const TreeIter&, OUString>&, bool> weld::TreeView::m_aEditingDoneHdl
protected

Definition at line 607 of file weld.hxx.

Link<const TreeIter&, bool> weld::TreeView::m_aEditingStartedHdl
protected

Definition at line 606 of file weld.hxx.

Link<const TreeIter&, bool> weld::TreeView::m_aExpandingHdl
protected

Definition at line 609 of file weld.hxx.

Link<TreeView&, void> weld::TreeView::m_aModelChangedHdl
protected

Definition at line 611 of file weld.hxx.

Link<const CommandEvent&, bool> weld::TreeView::m_aPopupMenuHdl
protected

Definition at line 612 of file weld.hxx.

std::vector<int> weld::TreeView::m_aRadioIndexes
protected

Definition at line 615 of file weld.hxx.

Referenced by SalInstanceTreeView::set_toggle().

Link<const std::pair<int, int>&, void> weld::TreeView::m_aRadioToggleHdl
protected

Definition at line 605 of file weld.hxx.

Link<TreeView&, void> weld::TreeView::m_aRowActivatedHdl
protected

Definition at line 603 of file weld.hxx.

Link<TreeView&, void> weld::TreeView::m_aVisibleRangeChangedHdl
protected

Definition at line 610 of file weld.hxx.

OUString weld::TreeView::m_sSavedValue
private

Definition at line 599 of file weld.hxx.


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