10#ifndef INCLUDED_VCL_WELD_HXX
11#define INCLUDED_VCL_WELD_HXX
14#include <rtl/ustring.hxx>
28#include <com/sun/star/accessibility/XAccessibleRelationSet.hpp>
29#include <com/sun/star/accessibility/XAccessible.hpp>
51typedef css::uno::Reference<css::accessibility::XAccessible>
a11yref;
52typedef css::uno::Reference<css::accessibility::XAccessibleRelationSet>
a11yrelationset;
67class ILibreOfficeKitNotifier;
80class DialogController;
84 friend class ::LOKTrigger;
209 int& height)
const = 0;
228 assert(!m_aFocusInHdl.
IsSet() || !rLink.
IsSet());
229 m_aFocusInHdl = rLink;
234 assert(!m_aFocusOutHdl.
IsSet() || !rLink.
IsSet());
235 m_aFocusOutHdl = rLink;
243 assert(!m_aMnemonicActivateHdl.
IsSet() || !rLink.
IsSet());
244 m_aMnemonicActivateHdl = rLink;
249 assert(!m_aSizeAllocateHdl.
IsSet() || !rLink.
IsSet());
250 m_aSizeAllocateHdl = rLink;
255 assert(!m_aKeyPressHdl.
IsSet() || !rLink.
IsSet());
256 m_aKeyPressHdl = rLink;
261 assert(!m_aKeyReleaseHdl.
IsSet() || !rLink.
IsSet());
262 m_aKeyReleaseHdl = rLink;
267 assert(!m_aMousePressHdl.
IsSet() || !rLink.
IsSet());
268 m_aMousePressHdl = rLink;
273 assert(!m_aMouseMotionHdl.
IsSet() || !rLink.
IsSet());
274 m_aMouseMotionHdl = rLink;
279 assert(!m_aMouseReleaseHdl.
IsSet() || !rLink.
IsSet());
280 m_aMouseReleaseHdl = rLink;
285 assert(!m_aStyleUpdatedHdl.
IsSet() || !rLink.
IsSet());
286 m_aStyleUpdatedHdl = rLink;
351 virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget>
get_drop_target() = 0;
352 virtual css::uno::Reference<css::datatransfer::clipboard::XClipboard>
get_clipboard()
const = 0;
381 m_aContainerFocusChangedHdl = rLink;
407 friend class ::LOKTrigger;
418 int page_increment,
int page_size)
432 m_aHChangeHdl = rLink;
436 int page_increment,
int page_size)
452 m_aVChangeHdl = rLink;
459 const Color& rFaceColor)
475 friend class ::LOKTrigger;
489 virtual void insert_page(
const OUString& rIdent,
const OUString& rLabel,
int nPos) = 0;
492 insert_page(rIdent, rLabel, -1);
508 : msHelpId(
std::move(aHelpId))
509 , maB2IRange(rB2IRange)
564 virtual css::uno::Reference<css::awt::XWindow>
GetXWindow() = 0;
606 virtual bool runAsync(std::shared_ptr<DialogController>,
607 const std::function<
void(sal_Int32)>& func)
614 virtual bool runAsync(std::shared_ptr<Dialog>
const& rxSelf,
615 const std::function<
void(sal_Int32)>& func)
618 virtual void add_button(
const OUString& rText,
int response,
const OUString& rHelpId = {}) = 0;
670inline OUString
toId(
const void* pValue)
672 return OUString::number(
reinterpret_cast<sal_uIntPtr
>(pValue));
675template <
typename T> T
fromId(
const OUString& rValue)
677 return reinterpret_cast<T
>(rValue.toUInt64());
686 : sString(
std::move(_aString))
690 : sString(
std::move(_aString))
695 : sString(
std::move(_aString))
697 , sImage(
std::move(_aImage))
720 typedef std::tuple<vcl::RenderContext&, const tools::Rectangle&, bool, const OUString&>
729 friend class ::LOKTrigger;
737 bool bSelected,
const OUString& rId)
746 virtual void insert(
int pos,
const OUString& rStr,
const OUString* pId,
749 virtual void insert_vector(
const std::vector<weld::ComboBoxEntry>& rItems,
bool bKeepExisting)
754 rItem.
sImage.isEmpty() ?
nullptr : &rItem.
sImage,
nullptr);
758 insert(
pos, rStr,
nullptr,
nullptr,
nullptr);
761 void append_text(
const OUString& rStr) { insert(-1, rStr,
nullptr,
nullptr,
nullptr); }
762 void append(
const OUString& rId,
const OUString& rStr)
764 insert(-1, rStr, &rId,
nullptr,
nullptr);
766 void append(
const OUString& rId,
const OUString& rStr,
const OUString& rImage)
768 insert(-1, rStr, &rId, &rImage,
nullptr);
772 insert(-1, rStr, &rId,
nullptr, &rImage);
774 void append(
int pos,
const OUString& rId,
const OUString& rStr)
776 insert(
pos, rStr, &rId,
nullptr,
nullptr);
800 virtual OUString
get_id(
int pos)
const = 0;
801 virtual void set_id(
int row,
const OUString& rId) = 0;
802 virtual int find_id(
const OUString& rId)
const = 0;
818 m_aPopupToggledHdl = rLink;
847 m_aEntryInsertTextHdl = rLink;
857 m_aSavedValues.push_back(get_text(find_id(rId)));
865 return !m_aSavedValues.empty()
866 && std::find(m_aSavedValues.begin(), m_aSavedValues.end(), get_active_text())
867 == m_aSavedValues.end();
875 m_aGetSizeHdl = rLink;
919 friend class ::LOKTrigger;
926 typedef std::tuple<vcl::RenderContext&, const tools::Rectangle&, bool, const OUString&>
958 return !m_aExpandingHdl.
IsSet() || m_aExpandingHdl.
Call(rIter);
962 return !m_aCollapsingHdl.
IsSet() || m_aCollapsingHdl.
Call(rIter);
973 return m_aEditingDoneHdl.
Call(rIterText);
981 bool bSelected,
const OUString& rId)
995 assert(!m_aQueryTooltipHdl.
IsSet() || !rLink.
IsSet());
996 m_aQueryTooltipHdl = rLink;
1000 virtual void insert(
const TreeIter* pParent,
int pos,
const OUString* pStr,
const OUString* pId,
1002 bool bChildrenOnDemand,
TreeIter* pRet)
1007 insert(
nullptr, nRow,
nullptr,
nullptr,
nullptr,
nullptr,
false, pRet);
1012 void insert(
int pos,
const OUString& rStr,
const OUString* pId,
const OUString* pIconName,
1015 insert(
nullptr,
pos, &rStr, pId, pIconName, pImageSurface,
false,
nullptr);
1019 insert(
nullptr,
pos, &rStr,
nullptr,
nullptr,
nullptr,
false,
nullptr);
1023 insert(
nullptr, -1, &rStr,
nullptr,
nullptr,
nullptr,
false,
nullptr);
1025 void append(
const OUString& rId,
const OUString& rStr)
1027 insert(
nullptr, -1, &rStr, &rId,
nullptr,
nullptr,
false,
nullptr);
1029 void append(
const OUString& rId,
const OUString& rStr,
const OUString& rImage)
1031 insert(
nullptr, -1, &rStr, &rId, &rImage,
nullptr,
false,
nullptr);
1035 insert(pParent, -1, &rStr,
nullptr,
nullptr,
nullptr,
false,
nullptr);
1074 virtual OUString
get_text(
int row,
int col = -1)
const = 0;
1076 virtual void set_text(
int row,
const OUString& rText,
int col = -1) = 0;
1080 virtual void set_id(
int row,
const OUString& rId) = 0;
1086 virtual void set_image(
int row,
const OUString& rImage,
int col = -1) = 0;
1090 virtual void set_image(
int row,
const css::uno::Reference<css::graphic::XGraphic>& rImage,
1096 virtual void swap(
int pos1,
int pos2) = 0;
1113 std::vector<int> aRows(get_selected_rows());
1114 std::vector<OUString> aRet;
1115 aRet.reserve(aRows.size());
1116 for (
auto a : aRows)
1117 aRet.push_back(get_text(
a));
1123 virtual int find_id(
const OUString& rId)
const = 0;
1125 void select_id(
const OUString& rId) { select(find_id(rId)); }
1148 for (
int i = 0;
i < nChild && bRet; ++
i)
1149 bRet = iter_next_sibling(rIter);
1154 if (!iter_children(rIter))
1156 return iter_nth_sibling(rIter, nChild);
1197 const css::uno::Reference<css::graphic::XGraphic>& rImage,
int col = -1)
1226 const std::function<
void(
TreeIter&,
int nSourceIndex)>& func,
1228 const std::vector<int>* pFixedWidths =
nullptr)
1275 assert(rStartLink.
IsSet() == rEndLink.
IsSet() &&
"should be both on or both off");
1276 m_aEditingStartedHdl = rStartLink;
1277 m_aEditingDoneHdl = rEndLink;
1285 assert(!m_aVisibleRangeChangedHdl.
IsSet() || !rLink.
IsSet());
1286 m_aVisibleRangeChangedHdl = rLink;
1291 m_aPopupMenuHdl = rLink;
1323 m_aCustomSort = func;
1374 bool bAutoScroll =
true)
1389 friend class ::LOKTrigger;
1405 return m_aQueryTooltipHdl.
Call(rIter);
1412 virtual void insert(
int pos,
const OUString* pStr,
const OUString* pId,
1413 const OUString* pIconName,
TreeIter* pRet)
1416 virtual void insert(
int pos,
const OUString* pStr,
const OUString* pId,
1422 void append(
const OUString& rId,
const OUString& rStr,
const OUString& rImage)
1424 insert(-1, &rStr, &rId, &rImage,
nullptr);
1429 insert(-1, &rStr, &rId, pImage,
nullptr);
1436 m_aSelectionChangeHdl = rLink;
1451 m_aQueryTooltipHdl = rLink;
1457 m_aGetPropertyTreeElemHdl = rLink;
1499 friend class ::LOKTrigger;
1510 virtual void set_image(
const css::uno::Reference<css::graphic::XGraphic>& rImage) = 0;
1533 friend class ::LOKTrigger;
1550 if (get_inconsistent())
1552 else if (get_active())
1562 set_inconsistent(
true);
1565 set_inconsistent(
false);
1569 set_inconsistent(
false);
1584 friend class ::LOKTrigger;
1593 , bTriStateEnabled(true)
1601 friend class ::LOKTrigger;
1611 virtual void insert_item(
int pos,
const OUString& rId,
const OUString& rStr,
1621 insert_item(-1, rId, rStr,
nullptr,
nullptr,
TRISTATE_TRUE);
1627 void append_item(
const OUString& rId,
const OUString& rStr,
const OUString& rImage)
1728 friend class ::LOKTrigger;
1775 m_aCursorPositionHdl = rLink;
1791 friend class ::LOKTrigger;
1802 if (!m_aOutputHdl.
IsSet())
1804 m_aOutputHdl.
Call(*
this);
1810 if (!m_aInputHdl.
IsSet())
1819 virtual void get_range(sal_Int64& min, sal_Int64& max)
const = 0;
1822 sal_Int64 dummy,
max;
1823 get_range(dummy,
max);
1828 sal_Int64
min, dummy;
1829 get_range(
min, dummy);
1834 sal_Int64
min, dummy;
1835 get_range(
min, dummy);
1840 sal_Int64 dummy,
max;
1841 get_range(dummy,
max);
1856 sal_Int64 denormalize(sal_Int64 nValue)
const;
1858 static unsigned int Power10(
unsigned int n);
1861class EntryFormatter;
1867 friend class ::LOKTrigger;
1882 m_aValueChangedHdl = rLink;
1897 virtual void set_image(
const css::uno::Reference<css::graphic::XGraphic>& rImage) = 0;
1902 friend class ::LOKTrigger;
1934 EntryTreeView(std::unique_ptr<Entry> xEntry, std::unique_ptr<TreeView> xTreeView);
1937 bool bKeepExisting)
override
1939 m_xTreeView->freeze();
1941 m_xTreeView->clear();
1942 for (
const auto& rItem : rItems)
1944 m_xTreeView->thaw();
1947 virtual void insert(
int pos,
const OUString& rStr,
const OUString* pId,
1948 const OUString* pIconName,
VirtualDevice* pImageSurface)
override
1950 m_xTreeView->insert(
pos, rStr, pId, pIconName, pImageSurface);
1953 virtual int get_count()
const override {
return m_xTreeView->n_children(); }
1954 virtual void clear()
override { m_xTreeView->clear(); }
1957 virtual int get_active()
const override {
return m_xTreeView->get_selected_index(); }
1960 m_xTreeView->set_cursor(
pos);
1961 m_xTreeView->select(
pos);
1962 m_xEntry->set_text(m_xTreeView->get_selected_text());
1964 virtual void remove(
int pos)
override { m_xTreeView->remove(
pos); }
1968 virtual OUString
get_text(
int pos)
const override {
return m_xTreeView->get_text(
pos); }
1971 return m_xTreeView->find_text(rStr);
1975 virtual OUString
get_active_id()
const override {
return m_xTreeView->get_selected_id(); }
1978 m_xTreeView->select_id(rStr);
1979 m_xEntry->set_text(m_xTreeView->get_selected_text());
1981 virtual OUString
get_id(
int pos)
const override {
return m_xTreeView->get_id(
pos); }
1982 virtual void set_id(
int pos,
const OUString& rId)
override { m_xTreeView->set_id(
pos, rId); }
1983 virtual int find_id(
const OUString& rId)
const override {
return m_xTreeView->find_id(rId); }
1989 m_xEntry->set_message_type(
eType);
1991 virtual void set_entry_text(
const OUString& rStr)
override { m_xEntry->set_text(rStr); }
1996 m_xEntry->select_region(nStartPos, nEndPos);
2002 return m_xEntry->get_selection_bounds(rStartPos, rEndPos);
2006 m_xTreeView->connect_row_activated(rLink);
2011 void set_height_request_by_rows(
int nRows);
2027 OUString format_number(sal_Int64 nValue)
const;
2028 void update_width_chars();
2032 : m_eSrcUnit(eSrcUnit)
2033 , m_xSpinButton(
std::move(pSpinButton))
2035 update_width_chars();
2038 m_xSpinButton->connect_value_changed(
2040 spin_button_output(*m_xSpinButton);
2043 static OUString MetricToString(
FieldUnit rUnit);
2061 m_xSpinButton->set_value(convert_value_from(
nValue, eValueUnit));
2066 return convert_value_to(m_xSpinButton->get_value(), eDestUnit);
2072 void reformat() { spin_button_output(*m_xSpinButton); }
2076 min = convert_value_from(
min, eValueUnit);
2077 max = convert_value_from(
max, eValueUnit);
2078 m_xSpinButton->set_range(
min,
max);
2079 update_width_chars();
2084 m_xSpinButton->get_range(
min,
max);
2085 min = convert_value_to(
min, eDestUnit);
2086 max = convert_value_to(
max, eDestUnit);
2091 sal_Int64 dummy,
max;
2092 get_range(dummy,
max, eValueUnit);
2093 set_range(
min,
max, eValueUnit);
2098 sal_Int64
min, dummy;
2099 get_range(
min, dummy, eValueUnit);
2100 set_range(
min,
max, eValueUnit);
2105 sal_Int64
min, dummy;
2106 get_range(
min, dummy, eValueUnit);
2112 sal_Int64 dummy,
max;
2113 get_range(dummy,
max, eValueUnit);
2119 step = convert_value_from(step, eValueUnit);
2120 page = convert_value_from(page, eValueUnit);
2121 m_xSpinButton->set_increments(step, page);
2126 m_xSpinButton->get_increments(step, page);
2127 step = convert_value_to(step, eDestUnit);
2128 page = convert_value_to(page, eDestUnit);
2133 m_aValueChangedHdl = rLink;
2142 bool has_focus()
const {
return m_xSpinButton->has_focus(); }
2143 void show() { m_xSpinButton->show(); }
2145 void hide() { m_xSpinButton->hide(); }
2146 void set_digits(
unsigned int digits);
2148 unsigned int get_digits()
const {
return m_xSpinButton->get_digits(); }
2152 return m_xSpinButton->get_value_changed_from_saved();
2154 void set_text(
const OUString& rText) { m_xSpinButton->set_text(rText); }
2155 OUString
get_text()
const {
return m_xSpinButton->get_text(); }
2158 m_xSpinButton->set_size_request(nWidth, nHeight);
2164 m_xSpinButton->connect_focus_in(rLink);
2168 m_xSpinButton->connect_focus_out(rLink);
2171 void set_help_id(
const OUString& rName) { m_xSpinButton->set_help_id(rName); }
2172 void set_position(
int nCursorPos) { m_xSpinButton->set_position(nCursorPos); }
2207 friend class ::LOKTrigger;
2237 return get_text_height() * nRows;
2255 m_aCursorPositionHdl = rLink;
2301 typedef std::pair<vcl::RenderContext&, const tools::Rectangle&>
draw_args;
2317 return m_aQueryTooltipHdl.
Call(rHelpArea);
2322 if (!m_aGetSurroundingHdl.
IsSet())
2324 return m_aGetSurroundingHdl.
Call(rSurroundingText);
2329 return m_aDeleteSurroundingHdl.
Call(rRange);
2337 m_aGetFocusRectHdl = rLink;
2341 m_aQueryTooltipHdl = rLink;
2346 m_aGetSurroundingHdl = rLink;
2350 m_aDeleteSurroundingHdl = rLink;
2365 int nExtTextInputWidth)
2376 friend class ::LOKTrigger;
2411 virtual void set_label(
const OUString& rIdent,
const OUString& rLabel) = 0;
2412 virtual OUString
get_label(
const OUString& rIdent)
const = 0;
2413 virtual void set_active(
const OUString& rIdent,
bool bActive) = 0;
2417 virtual void insert(
int pos,
const OUString& rId,
const OUString& rStr,
2419 const css::uno::Reference<css::graphic::XGraphic>& rImage,
2424 virtual void remove(
const OUString& rId) = 0;
2431 void append(
const OUString& rId,
const OUString& rStr)
2433 insert(-1, rId, rStr,
nullptr,
nullptr,
nullptr,
TRISTATE_INDET);
2437 insert(-1, rId, rStr,
nullptr,
nullptr,
nullptr,
TRISTATE_TRUE);
2441 insert(-1, rId, rStr,
nullptr,
nullptr,
nullptr,
TRISTATE_FALSE);
2443 void append(
const OUString& rId,
const OUString& rStr,
const OUString& rImage)
2445 insert(-1, rId, rStr, &rImage,
nullptr,
nullptr,
TRISTATE_INDET);
2449 insert(-1, rId, rStr,
nullptr, &rImage,
nullptr,
TRISTATE_INDET);
2462 friend class ::LOKTrigger;
2487 friend class ::LOKTrigger;
2511 const css::uno::Reference<css::graphic::XGraphic>& rIcon)
2524 const css::uno::Reference<css::graphic::XGraphic>& rIcon)
2541 m_aToggleMenuHdl = rLink;
2554 int page_increment,
int page_size)
2594 virtual std::unique_ptr<Box>
weld_box(
const OUString&
id) = 0;
2595 virtual std::unique_ptr<Paned>
weld_paned(
const OUString&
id) = 0;
2599 virtual std::unique_ptr<Frame>
weld_frame(
const OUString&
id) = 0;
2604 bool bUserManagedScrolling =
false)
2619 virtual std::unique_ptr<Label>
weld_label(
const OUString&
id) = 0;
2622 virtual std::unique_ptr<Entry>
weld_entry(
const OUString&
id) = 0;
2623 virtual std::unique_ptr<Scale>
weld_scale(
const OUString&
id) = 0;
2626 virtual std::unique_ptr<Image>
weld_image(
const OUString&
id) = 0;
2628 virtual std::unique_ptr<DrawingArea>
2630 FactoryFunction pUITestFactoryFunction =
nullptr,
void* pUserData =
nullptr)
2633 const OUString& entryid,
2634 const OUString& treeviewid)
2636 virtual std::unique_ptr<Menu>
weld_menu(
const OUString&
id) = 0;
2659 virtual short run() {
return getDialog()->run(); }
2660 static bool runAsync(
const std::shared_ptr<DialogController>& rController,
2661 const std::function<
void(sal_Int32)>&);
2662 void set_title(
const OUString& rTitle) { getDialog()->set_title(rTitle); }
2663 OUString
get_title()
const {
return getConstDialog()->get_title(); }
2664 void set_help_id(
const OUString& rHelpId) { getDialog()->set_help_id(rHelpId); }
2665 OUString
get_help_id()
const {
return getConstDialog()->get_help_id(); }
2666 void response(
int nResponse) { getDialog()->response(nResponse); }
2678 const OUString& rDialogId,
bool bMobile =
false);
2679 virtual Dialog* getDialog()
override;
2704 const OUString& rDialogId,
const OUString& rRelocateId = {});
2705 virtual Dialog* getDialog()
override;
2722 virtual Dialog* getDialog()
override;
Reference< XExecutableDialog > m_xDialog
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
std::unique_ptr< weld::Assistant > m_xAssistant
std::unique_ptr< weld::Builder > m_xBuilder
virtual void set_current_page(const OUString &rIdent)=0
virtual weld::Container * append_page(const OUString &rIdent)=0
virtual int get_current_page() const =0
virtual OUString get_page_ident(int nPage) const =0
virtual void set_current_page(int nPage)=0
virtual int get_n_pages() const =0
virtual OUString get_page_title(const OUString &rIdent) const =0
Link< const OUString &, bool > m_aJumpPageHdl
virtual void set_page_side_image(const OUString &rImage)=0
virtual void set_page_index(const OUString &rIdent, int nIndex)=0
void connect_jump_page(const Link< const OUString &, bool > &rLink)
bool signal_jump_page(const OUString &rIdent)
virtual OUString get_current_page_ident() const =0
virtual void set_page_side_help_id(const OUString &rHelpId)=0
virtual void set_page_title(const OUString &rIdent, const OUString &rTitle)=0
virtual void set_page_sensitive(const OUString &rIdent, bool bSensitive)=0
virtual void reorder_child(weld::Widget *pWidget, int position)=0
virtual void sort_native_button_order()=0
virtual std::unique_ptr< Assistant > weld_assistant(const OUString &id)=0
virtual std::unique_ptr< ScrolledWindow > weld_scrolled_window(const OUString &id, bool bUserManagedScrolling=false)=0
virtual std::unique_ptr< Image > weld_image(const OUString &id)=0
virtual std::unique_ptr< Box > weld_box(const OUString &id)=0
virtual std::unique_ptr< MessageDialog > weld_message_dialog(const OUString &id)=0
virtual std::unique_ptr< Container > weld_container(const OUString &id)=0
virtual std::unique_ptr< MetricSpinButton > weld_metric_spin_button(const OUString &id, FieldUnit eUnit)=0
virtual std::unique_ptr< DrawingArea > weld_drawing_area(const OUString &id, const a11yref &rA11yImpl=nullptr, FactoryFunction pUITestFactoryFunction=nullptr, void *pUserData=nullptr)=0
virtual std::unique_ptr< Label > weld_label(const OUString &id)=0
virtual std::unique_ptr< ToggleButton > weld_toggle_button(const OUString &id)=0
virtual std::unique_ptr< IconView > weld_icon_view(const OUString &id)=0
virtual std::unique_ptr< SizeGroup > create_size_group()=0
virtual std::unique_ptr< Scale > weld_scale(const OUString &id)=0
virtual std::unique_ptr< Entry > weld_entry(const OUString &id)=0
virtual std::unique_ptr< RadioButton > weld_radio_button(const OUString &id)=0
virtual std::unique_ptr< SpinButton > weld_spin_button(const OUString &id)=0
virtual std::unique_ptr< Paned > weld_paned(const OUString &id)=0
virtual std::unique_ptr< Expander > weld_expander(const OUString &id)=0
virtual std::unique_ptr< CheckButton > weld_check_button(const OUString &id)=0
virtual std::unique_ptr< Notebook > weld_notebook(const OUString &id)=0
virtual std::unique_ptr< ProgressBar > weld_progress_bar(const OUString &id)=0
virtual std::unique_ptr< Widget > weld_widget(const OUString &id)=0
virtual std::unique_ptr< Calendar > weld_calendar(const OUString &id)=0
virtual std::unique_ptr< Toolbar > weld_toolbar(const OUString &id)=0
virtual std::unique_ptr< TreeView > weld_tree_view(const OUString &id)=0
virtual std::unique_ptr< Frame > weld_frame(const OUString &id)=0
virtual std::unique_ptr< MenuToggleButton > weld_menu_toggle_button(const OUString &id)=0
virtual std::unique_ptr< LinkButton > weld_link_button(const OUString &id)=0
virtual std::unique_ptr< FormattedSpinButton > weld_formatted_spin_button(const OUString &id)=0
virtual std::unique_ptr< TextView > weld_text_view(const OUString &id)=0
virtual std::unique_ptr< EntryTreeView > weld_entry_tree_view(const OUString &containerid, const OUString &entryid, const OUString &treeviewid)=0
virtual std::unique_ptr< MenuButton > weld_menu_button(const OUString &id)=0
virtual std::unique_ptr< Dialog > weld_dialog(const OUString &id)=0
virtual std::unique_ptr< Popover > weld_popover(const OUString &id)=0
virtual std::unique_ptr< ComboBox > weld_combo_box(const OUString &id)=0
virtual std::unique_ptr< Menu > weld_menu(const OUString &id)=0
virtual std::unique_ptr< Window > create_screenshot_window()=0
virtual std::unique_ptr< Button > weld_button(const OUString &id)=0
virtual std::unique_ptr< Spinner > weld_spinner(const OUString &id)=0
virtual std::unique_ptr< Scrollbar > weld_scrollbar(const OUString &id)=0
virtual Date get_date() const =0
Link< Calendar &, void > m_aActivatedHdl
Link< Calendar &, void > m_aSelectedHdl
void connect_selected(const Link< Calendar &, void > &rLink)
void connect_activated(const Link< Calendar &, void > &rLink)
virtual void set_date(const Date &rDate)=0
A widget used to choose from a list of items.
void append(const OUString &rId, const OUString &rStr)
void connect_custom_render(const Link< render_args, void > &rLink)
virtual bool has_entry() const =0
bool get_value_changed_from_saved() const
void save_values_by_id(const OUString &rId)
Link< vcl::RenderContext &, Size > m_aGetSizeHdl
virtual VclPtr< VirtualDevice > create_render_virtual_device() const =0
Link< ComboBox &, void > m_aChangeHdl
Link< ComboBox &, bool > m_aEntryActivateHdl
virtual void set_custom_renderer(bool bOn)=0
virtual vcl::Font get_entry_font()=0
virtual int find_text(const OUString &rStr) const =0
virtual OUString get_active_id() const =0
virtual void copy_entry_clipboard()=0
virtual OUString get_active_text() const =0
void append(int pos, const OUString &rId, const OUString &rStr)
virtual void insert(int pos, const OUString &rStr, const OUString *pId, const OUString *pIconName, VirtualDevice *pImageSurface)=0
virtual void select_entry_region(int nStartPos, int nEndPos)=0
Link< ComboBox &, void > m_aPopupToggledHdl
virtual void insert_separator(int pos, const OUString &rId)=0
virtual void set_entry_message_type(EntryMessageType eType)=0
virtual void set_entry_editable(bool bEditable)=0
Link< OUString &, bool > m_aEntryInsertTextHdl
virtual OUString get_id(int pos) const =0
void connect_custom_get_size(const Link< vcl::RenderContext &, Size > &rLink)
virtual int find_id(const OUString &rId) const =0
virtual void set_font(const vcl::Font &rFont)=0
virtual void set_id(int row, const OUString &rId)=0
void connect_entry_insert_text(const Link< OUString &, bool > &rLink)
void append(const OUString &rId, const OUString &rStr, VirtualDevice &rImage)
virtual void insert_vector(const std::vector< weld::ComboBoxEntry > &rItems, bool bKeepExisting)=0
void connect_entry_activate(const Link< ComboBox &, bool > &rLink)
Link< render_args, void > m_aRenderHdl
void remove_text(const OUString &rText)
virtual void set_max_mru_count(int nCount)=0
virtual void set_entry_placeholder_text(const OUString &rText)=0
virtual void set_entry_font(const vcl::Font &rFont)=0
OUString const & get_saved_value() const
void append(const OUString &rId, const OUString &rStr, const OUString &rImage)
virtual void set_active_id(const OUString &rStr)=0
void signal_custom_render(vcl::RenderContext &rDevice, const tools::Rectangle &rRect, bool bSelected, const OUString &rId)
virtual void connect_popup_toggled(const Link< ComboBox &, void > &rLink)
virtual void set_entry_max_length(int nChars)=0
virtual void set_entry_text(const OUString &rStr)=0
virtual void set_entry_completion(bool bEnable, bool bCaseSensitive=false)=0
void append(const weld::ComboBoxEntry &rItem)
virtual void set_item_menu(const OUString &rIdent, weld::Menu *pMenu)=0
virtual bool get_popup_shown() const =0
virtual void set_active(int pos)=0
void append_separator(const OUString &rId)
virtual void set_entry_width_chars(int nChars)=0
std::vector< OUString > m_aSavedValues
virtual void signal_popup_toggled()
virtual OUString get_mru_entries() const =0
virtual OUString get_text(int pos) const =0
virtual void cut_entry_clipboard()=0
void append_text(const OUString &rStr)
virtual int get_max_mru_count() const =0
virtual bool changed_by_direct_pick() const =0
void insert_text(int pos, const OUString &rStr)
virtual void remove(int pos)=0
std::tuple< vcl::RenderContext &, const tools::Rectangle &, bool, const OUString & > render_args
virtual void set_mru_entries(const OUString &rEntries)=0
virtual int get_menu_button_width() const =0
virtual int get_active() const =0
virtual int get_count() const =0
Size signal_custom_get_size(vcl::RenderContext &rDevice)
void remove_id(const OUString &rId)
void insert(int pos, const weld::ComboBoxEntry &rItem)
virtual void paste_entry_clipboard()=0
void set_active_text(const OUString &rStr)
virtual void make_sorted()=0
void connect_changed(const Link< ComboBox &, void > &rLink)
bool get_values_changed_from_saved() const
OUString const & get_saved_values(int pos) const
virtual bool get_entry_selection_bounds(int &rStartPos, int &rEndPos)=0
virtual css::uno::Reference< css::awt::XWindow > CreateChildFrame()=0
virtual void connect_container_focus_changed(const Link< Container &, void > &rLink)
Link< Container &, void > m_aContainerFocusChangedHdl
virtual void move(weld::Widget *pWidget, weld::Container *pNewParent)=0
void signal_container_focus_changed()
virtual void child_grab_focus()=0
void response(int nResponse)
virtual Dialog * getDialog()=0
const Dialog * getConstDialog() const
void set_title(const OUString &rTitle)
OUString get_title() const
void set_help_id(const OUString &rHelpId)
OUString get_help_id() const
virtual Button * weld_widget_for_response(int response)=0
virtual void response(int response)=0
virtual void SetInstallLOKNotifierHdl(const Link< void *, vcl::ILibreOfficeKitNotifier * > &rLink)=0
virtual bool runAsync(std::shared_ptr< DialogController >, const std::function< void(sal_Int32)> &func)=0
virtual void collapse(weld::Widget *pEdit, weld::Widget *pButton)=0
virtual void set_default_response(int response)=0
virtual void undo_collapse()=0
virtual bool runAsync(std::shared_ptr< Dialog > const &rxSelf, const std::function< void(sal_Int32)> &func)=0
virtual Container * weld_content_area()=0
virtual void add_button(const OUString &rText, int response, const OUString &rHelpId={})=0
void connect_command(const Link< const CommandEvent &, bool > &rLink)
Link< OUString &, int > m_aGetSurroundingHdl
int signal_im_context_get_surrounding(OUString &rSurroundingText)
Link< const Selection &, bool > m_aDeleteSurroundingHdl
virtual OutputDevice & get_ref_device()=0
void connect_im_context_get_surrounding(const Link< OUString &, int > &rLink)
Link< const CommandEvent &, bool > m_aCommandHdl
virtual void click(const Point &)=0
virtual void im_context_set_cursor_location(const tools::Rectangle &rCursorRect, int nExtTextInputWidth)=0
bool signal_im_context_delete_surrounding(const Selection &rRange)
virtual a11yrelationset get_accessible_relation_set()=0
virtual Point get_pointer_position() const =0
void connect_focus_rect(const Link< Widget &, tools::Rectangle > &rLink)
Link< tools::Rectangle &, OUString > m_aQueryTooltipHdl
std::pair< vcl::RenderContext &, const tools::Rectangle & > draw_args
virtual a11yref get_accessible_parent()=0
void connect_query_tooltip(const Link< tools::Rectangle &, OUString > &rLink)
void connect_draw(const Link< draw_args, void > &rLink)
virtual void mouse_down(const Point &)
virtual void queue_draw_area(int x, int y, int width, int height)=0
void connect_im_context_delete_surrounding(const Link< const Selection &, bool > &rLink)
Link< Widget &, tools::Rectangle > m_aGetFocusRectHdl
virtual void mouse_move(const Point &)
Link< draw_args, void > m_aDrawHdl
virtual Point get_accessible_location_on_screen()=0
virtual void set_cursor(PointerStyle ePointerStyle)=0
OUString signal_query_tooltip(tools::Rectangle &rHelpArea)
virtual void dblclick(const Point &)
Link< DrawingArea &, bool > m_aDragBeginHdl
virtual void enable_drag_source(rtl::Reference< TransferDataContainer > &rTransferable, sal_uInt8 eDNDConstants)=0
virtual void mouse_up(const Point &)
void connect_drag_begin(const Link< DrawingArea &, bool > &rLink)
virtual void set_input_context(const InputContext &rInputContext)=0
virtual void queue_draw()=0
DECL_DLLPRIVATE_LINK(ClickHdl, weld::TreeView &, void)
std::unique_ptr< Entry > m_xEntry
virtual bool get_popup_shown() const override
virtual void select_entry_region(int nStartPos, int nEndPos) override
virtual void remove(int pos) override
virtual void set_active_id(const OUString &rStr) override
DECL_DLLPRIVATE_LINK(ModifyHdl, weld::Entry &, void)
virtual OUString get_active_id() const override
virtual void set_entry_max_length(int nChars) override
virtual OUString get_id(int pos) const override
virtual void set_entry_width_chars(int nChars) override
virtual void clear() override
virtual void insert(int pos, const OUString &rStr, const OUString *pId, const OUString *pIconName, VirtualDevice *pImageSurface) override
void EntryModifyHdl(const weld::Entry &rEntry)
virtual void set_id(int pos, const OUString &rId) override
virtual void set_entry_text(const OUString &rStr) override
virtual int get_active() const override
virtual void set_active(int pos) override
virtual void set_entry_message_type(EntryMessageType eType) override
virtual int find_id(const OUString &rId) const override
virtual OUString get_active_text() const override
std::unique_ptr< TreeView > m_xTreeView
virtual void insert_vector(const std::vector< weld::ComboBoxEntry > &rItems, bool bKeepExisting) override
virtual bool get_entry_selection_bounds(int &rStartPos, int &rEndPos) override
void connect_row_activated(const Link< TreeView &, bool > &rLink)
virtual OUString get_text(int pos) const override
virtual bool has_entry() const override
virtual int get_count() const override
virtual int find_text(const OUString &rStr) const override
virtual void set_font(const vcl::Font &rFont)=0
Link< Entry &, void > m_aCursorPositionHdl
virtual bool get_editable() const =0
virtual void set_placeholder_text(const OUString &rText)=0
void connect_insert_text(const Link< OUString &, bool > &rLink)
virtual void cut_clipboard()=0
virtual void set_max_length(int nChars)=0
void connect_activate(const Link< Entry &, bool > &rLink)
virtual void select_region(int nStartPos, int nEndPos)=0
virtual void connect_cursor_position(const Link< Entry &, void > &rLink)
virtual void set_text(const OUString &rText)=0
virtual void set_font_color(const Color &rColor)=0
virtual void set_position(int nCursorPos)=0
virtual void set_message_type(EntryMessageType eType)=0
virtual void connect_changed(const Link< Entry &, void > &rLink)
virtual int get_position() const =0
virtual void set_alignment(TxtAlign eXAlign)=0
OUString const & get_saved_value() const
virtual bool get_selection_bounds(int &rStartPos, int &rEndPos)=0
Link< OUString &, bool > m_aInsertTextHdl
virtual bool get_overwrite_mode() const =0
virtual void copy_clipboard()=0
virtual void set_editable(bool bEditable)=0
virtual void replace_selection(const OUString &rText)=0
virtual void set_overwrite_mode(bool bOn)=0
Link< Entry &, void > m_aChangeHdl
virtual void paste_clipboard()=0
Link< Entry &, bool > m_aActivateHdl
virtual OUString get_text() const =0
virtual int get_width_chars() const =0
void signal_cursor_position()
virtual void set_width_chars(int nChars)=0
bool get_value_changed_from_saved() const
Link< Expander &, void > m_aExpandedHdl
virtual OUString get_label() const =0
void connect_expanded(const Link< Expander &, void > &rLink)
virtual bool get_expanded() const =0
virtual void set_expanded(bool bExpand)=0
virtual void set_label(const OUString &rText)=0
virtual void set_label(const OUString &rText)=0
virtual std::unique_ptr< Label > weld_label_widget() const =0
virtual OUString get_label() const =0
std::shared_ptr< weld::Dialog > m_xDialog
std::unique_ptr< weld::Builder > m_xBuilder
virtual void insert(int pos, const OUString *pStr, const OUString *pId, const OUString *pIconName, TreeIter *pRet)=0
virtual void insert(int pos, const OUString *pStr, const OUString *pId, const VirtualDevice *pIcon, TreeIter *pRet)=0
virtual int count_selected_items() const =0
Link< IconView &, void > m_aSelectionChangeHdl
void connect_selection_changed(const Link< IconView &, void > &rLink)
Link< const TreeIter &, OUString > m_aQueryTooltipHdl
virtual int n_children() const =0
virtual void insert_separator(int pos, const OUString *pId)=0
virtual OUString get_text(const TreeIter &rIter) const =0
virtual bool get_iter_first(TreeIter &rIter) const =0
OUString const & get_saved_value() const
virtual OUString get_selected_text() const =0
Link< const json_prop_query &, bool > m_aGetPropertyTreeElemHdl
virtual void selected_foreach(const std::function< bool(TreeIter &)> &func)=0
void append(const OUString &rId, const OUString &rStr, const VirtualDevice *pImage)
bool get_value_changed_from_saved() const
Link< const CommandEvent &, bool > m_aCommandHdl
virtual OUString get_selected_id() const =0
void append_separator(const OUString &rId)
virtual bool get_selected(TreeIter *pIter) const =0
virtual void set_item_width(int width)=0
virtual int get_item_width() const =0
virtual std::unique_ptr< TreeIter > make_iterator(const TreeIter *pOrig=nullptr) const =0
Link< IconView &, bool > m_aItemActivatedHdl
virtual OUString get_id(const TreeIter &rIter) const =0
virtual void unselect(int pos)=0
void append(const OUString &rId, const OUString &rStr, const OUString &rImage)
virtual void select(int pos)=0
virtual void set_cursor(const TreeIter &rIter)=0
void signal_selection_changed()
virtual void connect_query_tooltip(const Link< const TreeIter &, OUString > &rLink)
bool signal_item_activated()
void connect_item_activated(const Link< IconView &, bool > &rLink)
OUString signal_query_tooltip(const TreeIter &rIter) const
virtual void scroll_to_item(const TreeIter &rIter)=0
virtual bool get_cursor(TreeIter *pIter) const =0
virtual void connect_get_property_tree_elem(const Link< const json_prop_query &, bool > &rLink)
void connect_command(const Link< const CommandEvent &, bool > &rLink)
virtual void set_image(const css::uno::Reference< css::graphic::XGraphic > &rImage)=0
virtual void set_image(VirtualDevice *pDevice)=0
virtual void set_from_icon_name(const OUString &rIconName)=0
virtual void set_mnemonic_widget(Widget *pTarget)=0
virtual void set_font(const vcl::Font &rFont)=0
virtual void set_label(const OUString &rText)=0
virtual void set_label_type(LabelType eType)=0
virtual OUString get_label() const =0
virtual void set_font_color(const Color &rColor)=0
OUString get_secondary_text() const
std::unique_ptr< weld::Container > m_xContentArea
OUString get_primary_text() const
std::unique_ptr< weld::Widget > m_xRelocate
void set_default_response(int nResponse)
void set_primary_text(const OUString &rText)
std::unique_ptr< weld::Builder > m_xBuilder
void set_secondary_text(const OUString &rText)
std::unique_ptr< weld::MessageDialog > m_xDialog
std::unique_ptr< weld::Container > m_xOrigParent
virtual void set_primary_text(const OUString &rText)=0
virtual OUString get_primary_text() const =0
virtual void set_secondary_text(const OUString &rText)=0
virtual OUString get_secondary_text() const =0
virtual Container * weld_message_area()=0
void connect_leave_page(const Link< const OUString &, bool > &rLink)
virtual void insert_page(const OUString &rIdent, const OUString &rLabel, int nPos)=0
void append_page(const OUString &rIdent, const OUString &rLabel)
virtual void set_tab_label_text(const OUString &rIdent, const OUString &rLabel)=0
virtual OUString get_current_page_ident() const =0
void connect_enter_page(const Link< const OUString &, void > &rLink)
virtual int get_n_pages() const =0
virtual OUString get_page_ident(int nPage) const =0
virtual int get_page_index(const OUString &rIdent) const =0
Link< const OUString &, bool > m_aLeavePageHdl
virtual weld::Container * get_page(const OUString &rIdent) const =0
virtual void set_current_page(int nPage)=0
virtual void set_current_page(const OUString &rIdent)=0
virtual void set_show_tabs(bool bShow)=0
virtual OUString get_tab_label_text(const OUString &rIdent) const =0
virtual void remove_page(const OUString &rIdent)=0
virtual int get_current_page() const =0
Link< const OUString &, void > m_aEnterPageHdl
virtual void set_position(int nPos)=0
virtual int get_position() const =0
Link< weld::Popover &, void > m_aCloseHdl
virtual void resize_to_request()=0
void connect_closed(const Link< weld::Popover &, void > &rLink)
virtual void popup_at_rect(weld::Widget *pParent, const tools::Rectangle &rRect, Placement ePlace=Placement::Under)=0
virtual void set_text(const OUString &rText)=0
virtual void set_percentage(int value)=0
virtual OUString get_text() const =0
virtual void set_range(int min, int max)=0
void connect_value_changed(const Link< Scale &, void > &rLink)
virtual void set_increments(int step, int page)=0
virtual int get_value() const =0
virtual void get_increments(int &step, int &page) const =0
Link< Scale &, void > m_aValueChangedHdl
virtual void set_value(int value)=0
void signal_value_changed()
const OUString & GetHelpId() const
const basegfx::B2IRange & getB2IRange() const
basegfx::B2IRange maB2IRange
ScreenShotEntry(OUString aHelpId, const basegfx::B2IRange &rB2IRange)
virtual void set_mode(VclSizeGroupMode eMode)=0
virtual void add_widget(weld::Widget *pWidget)=0
virtual void set_editable(bool bEditable)=0
virtual void set_text(const OUString &rText)=0
Link< TextView &, void > m_aVChangeHdl
virtual void set_font(const vcl::Font &rFont)=0
virtual void copy_clipboard()=0
virtual int vadjustment_get_lower() const =0
virtual void paste_clipboard()=0
void signal_vadjustment_changed()
virtual bool can_move_cursor_with_up() const =0
virtual int vadjustment_get_value() const =0
virtual void connect_cursor_position(const Link< TextView &, void > &rLink)
virtual bool get_editable() const =0
virtual void set_monospace(bool bMonospace)=0
virtual void set_max_length(int nChars)=0
int get_height_rows(int nRows) const
virtual int vadjustment_get_page_size() const =0
virtual void replace_selection(const OUString &rText)=0
virtual int vadjustment_get_upper() const =0
void signal_cursor_position()
void connect_vadjustment_changed(const Link< TextView &, void > &rLink)
bool get_value_changed_from_saved() const
Link< TextView &, void > m_aCursorPositionHdl
virtual bool get_selection_bounds(int &rStartPos, int &rEndPos)=0
virtual void cut_clipboard()=0
virtual void set_alignment(TxtAlign eXAlign)=0
virtual void vadjustment_set_value(int value)=0
virtual void set_font_color(const Color &rColor)=0
Link< TextView &, void > m_aChangeHdl
virtual void select_region(int nStartPos, int nEndPos)=0
virtual OUString get_text() const =0
virtual bool can_move_cursor_with_down() const =0
void connect_changed(const Link< TextView &, void > &rLink)
virtual void connect_toggled(const Link< Toggleable &, void > &rLink)
virtual bool get_active() const =0
TriState get_saved_state() const
virtual bool get_inconsistent() const =0
virtual void set_inconsistent(bool inconsistent)=0
bool get_state_changed_from_saved() const
virtual void set_active(bool active)=0
Link< Toggleable &, void > m_aToggleHdl
TriState get_state() const
void set_state(TriState eState)
TreeIter(const TreeIter &)=delete
TreeIter & operator=(const TreeIter &)=delete
virtual bool equal(const TreeIter &rOther) const =0
virtual void scroll_to_row(int row)=0
virtual std::unique_ptr< TreeIter > make_iterator(const TreeIter *pOrig=nullptr) const =0
Link< bool &, bool > m_aDragBeginHdl
virtual OUString get_text(const TreeIter &rIter, int col=-1) const =0
virtual bool get_selected(TreeIter *pIter) const =0
virtual void connect_popup_menu(const Link< const CommandEvent &, bool > &rLink)
virtual void set_text_align(int row, double fAlign, int col)=0
virtual void set_text_align(const TreeIter &rIter, double fAlign, int col)=0
virtual bool get_text_emphasis(int row, int col) const =0
virtual void make_sorted()=0
virtual bool changed_by_hover() const =0
virtual void set_toggle(const TreeIter &rIter, TriState bOn, int col=-1)=0
virtual void set_font_color(int pos, const Color &rColor)=0
void insert(int pos, const OUString &rStr, const OUString *pId, const OUString *pIconName, VirtualDevice *pImageSurface)
void append(const TreeIter *pParent, const OUString &rStr)
virtual bool is_selected(const TreeIter &rIter) const =0
virtual TriState get_sort_indicator(int nColumn) const =0
virtual void set_children_on_demand(const TreeIter &rIter, bool bChildrenOnDemand)=0
virtual void expand_row(const TreeIter &rIter)=0
Link< TreeView &, bool > m_aRowActivatedHdl
virtual int get_iter_index_in_parent(const TreeIter &rIter) const =0
Link< const iter_string &, bool > m_aEditingDoneHdl
virtual void set_show_expanders(bool bShow)=0
void connect_row_activated(const Link< TreeView &, bool > &rLink)
void connect_collapsing(const Link< const TreeIter &, bool > &rLink)
virtual void swap(int pos1, int pos2)=0
virtual void set_cursor(const TreeIter &rIter)=0
virtual int vadjustment_get_value() const =0
Link< const CommandEvent &, bool > m_aPopupMenuHdl
virtual void end_editing()=0
OUString const & get_saved_value() const
void insert(int nRow, TreeIter *pRet=nullptr)
virtual void set_text(int row, const OUString &rText, int col=-1)=0
virtual bool get_row_expanded(const TreeIter &rIter) const =0
void append(const OUString &rId, const OUString &rStr, const OUString &rImage)
virtual void set_sort_indicator(TriState eState, int nColumn)=0
void connect_toggled(const Link< const iter_col &, void > &rLink)
virtual int find_text(const OUString &rText) const =0
bool get_value_changed_from_saved() const
virtual OUString get_text(int row, int col=-1) const =0
void append_text(const OUString &rStr)
std::tuple< vcl::RenderContext &, const tools::Rectangle &, bool, const OUString & > render_args
void remove_id(const OUString &rText)
Link< int, void > m_aColumnClickedHdl
virtual void visible_foreach(const std::function< bool(TreeIter &)> &func)=0
virtual void set_toggle(int row, TriState eState, int col=-1)=0
virtual void queue_draw()=0
Link< const TreeIter &, bool > m_aExpandingHdl
Link< const TreeIter &, bool > m_aEditingStartedHdl
void append(const OUString &rId, const OUString &rStr)
virtual bool iter_previous(TreeIter &rIter) const =0
virtual OUString get_selected_text() const =0
virtual void unselect(const TreeIter &rIter)=0
int get_checkbox_column_width() const
OUString signal_query_tooltip(const TreeIter &rIter)
bool signal_collapsing(const TreeIter &rIter)
virtual void set_clicks_to_toggle(int nToggleBehavior)=0
virtual int n_children() const =0
Link< TreeView &, void > m_aModelChangedHdl
virtual void select(const TreeIter &rIter)=0
virtual void set_selection_mode(SelectionMode eMode)=0
virtual void set_text_emphasis(int row, bool bOn, int col)=0
virtual void set_image(const TreeIter &rIter, const OUString &rImage, int col=-1)=0
virtual void set_image(int row, VirtualDevice &rImage, int col=-1)=0
virtual int get_sort_column() const =0
virtual void set_font_color(const TreeIter &rIter, const Color &rColor)=0
virtual void set_extra_row_indent(const TreeIter &rIter, int nIndentLevel)=0
virtual void insert(const TreeIter *pParent, int pos, const OUString *pStr, const OUString *pId, const OUString *pIconName, VirtualDevice *pImageSurface, bool bChildrenOnDemand, TreeIter *pRet)=0
bool signal_row_activated()
virtual bool get_text_emphasis(const TreeIter &rIter, int col) const =0
virtual void set_text_emphasis(const TreeIter &rIter, bool bOn, int col)=0
Link< const iter_col &, void > m_aRadioToggleHdl
virtual TreeView * get_drag_source() const =0
virtual void vadjustment_set_value(int value)=0
virtual int iter_n_children(const TreeIter &rIter) const =0
virtual void insert_separator(int pos, const OUString &rId)=0
virtual bool get_dest_row_at_pos(const Point &rPos, weld::TreeIter *pResult, bool bDnDMode, bool bAutoScroll=true)=0
virtual OUString get_column_title(int nColumn) const =0
virtual void selected_foreach(const std::function< bool(TreeIter &)> &func)=0
std::pair< const TreeIter &, int > iter_col
void connect_model_changed(const Link< TreeView &, void > &rLink)
void connect_changed(const Link< TreeView &, void > &rLink)
void connect_expanding(const Link< const TreeIter &, bool > &rLink)
std::function< int(const weld::TreeIter &, const weld::TreeIter &)> m_aCustomSort
bool signal_editing_done(const iter_string &rIterText)
virtual void set_column_title(int nColumn, const OUString &rTitle)=0
bool iter_nth_child(TreeIter &rIter, int nChild) const
void remove_text(const OUString &rText)
virtual void set_image(int row, const OUString &rImage, int col=-1)=0
virtual void connect_editing(const Link< const TreeIter &, bool > &rStartLink, const Link< const iter_string &, bool > &rEndLink)
Link< TreeView &, void > m_aChangeHdl
virtual void connect_visible_range_changed(const Link< TreeView &, void > &rLink)
void signal_model_changed()
virtual TriState get_toggle(const TreeIter &rIter, int col=-1) const =0
virtual bool get_iter_first(TreeIter &rIter) const =0
void append(TreeIter *pRet=nullptr)
virtual void remove(const TreeIter &rIter)=0
virtual bool is_selected(int pos) const =0
void insert_text(int pos, const OUString &rStr)
virtual void unset_drag_dest_row()=0
virtual void set_centered_column(int nCol)=0
virtual int get_height_rows(int nRows) const =0
virtual void copy_iterator(const TreeIter &rSource, TreeIter &rDest) const =0
virtual void start_editing(const weld::TreeIter &rEntry)=0
virtual void set_text(const TreeIter &rIter, const OUString &rStr, int col=-1)=0
std::pair< const TreeIter &, OUString > iter_string
virtual void remove(int pos)=0
virtual bool iter_next_sibling(TreeIter &rIter) const =0
bool iter_nth_sibling(TreeIter &rIter, int nChild) const
virtual bool get_sensitive(int row, int col) const =0
virtual void enable_toggle_buttons(ColumnToggleType eType)=0
virtual void select(int pos)=0
virtual int find_id(const OUString &rId) const =0
Link< get_size_args, Size > m_aGetSizeHdl
virtual bool iter_parent(TreeIter &rIter) const =0
virtual void set_sort_func(const std::function< int(const weld::TreeIter &, const weld::TreeIter &)> &func)
virtual void set_column_fixed_widths(const std::vector< int > &rWidths)=0
virtual void set_image(const TreeIter &rIter, const css::uno::Reference< css::graphic::XGraphic > &rImage, int col=-1)=0
virtual bool iter_next(TreeIter &rIter) const =0
virtual void set_image(const TreeIter &rIter, VirtualDevice &rImage, int col=-1)=0
virtual int iter_compare(const TreeIter &a, const TreeIter &b) const =0
virtual bool iter_previous_sibling(TreeIter &rIter) const =0
bool signal_editing_started(const TreeIter &rIter)
virtual void collapse_row(const TreeIter &rIter)=0
virtual bool iter_children(TreeIter &rIter) const =0
virtual tools::Rectangle get_row_area(const weld::TreeIter &rIter) const =0
void signal_toggled(const iter_col &rIterCol)
virtual void set_id(int row, const OUString &rId)=0
virtual bool get_children_on_demand(const TreeIter &rIter) const =0
Link< render_args, void > m_aRenderHdl
virtual void unselect(int pos)=0
virtual void set_column_custom_renderer(int nColumn, bool bEnable)=0
virtual OUString get_id(const TreeIter &rIter) const =0
virtual TriState get_toggle(int row, int col=-1) const =0
std::pair< vcl::RenderContext &, const OUString & > get_size_args
virtual bool iter_has_child(const TreeIter &rIter) const =0
Link< const TreeIter &, bool > m_aCollapsingHdl
virtual void bulk_insert_for_each(int nSourceCount, const std::function< void(TreeIter &, int nSourceIndex)> &func, const weld::TreeIter *pParent=nullptr, const std::vector< int > *pFixedWidths=nullptr)=0
virtual bool get_cursor(TreeIter *pIter) const =0
virtual bool get_sort_order() const =0
std::vector< OUString > get_selected_rows_text() const
virtual int get_column_width(int nCol) const =0
virtual void set_sort_column(int nColumn)=0
Link< TreeView &, void > m_aVisibleRangeChangedHdl
virtual void set_cursor(int pos)=0
bool signal_expanding(const TreeIter &rIter)
void connect_column_clicked(const Link< int, void > &rLink)
virtual void set_sort_order(bool bAscending)=0
void connect_drag_begin(const Link< bool &, bool > &rLink)
void signal_visible_range_changed()
Link< const TreeIter &, OUString > m_aQueryTooltipHdl
virtual int get_iter_depth(const TreeIter &rIter) const =0
virtual std::vector< int > get_selected_rows() const =0
virtual void set_column_editables(const std::vector< bool > &rEditables)=0
void select_id(const OUString &rId)
virtual void connect_query_tooltip(const Link< const TreeIter &, OUString > &rLink)
virtual void set_image(int row, const css::uno::Reference< css::graphic::XGraphic > &rImage, int col=-1)=0
virtual void scroll_to_row(const TreeIter &rIter)=0
virtual void set_sensitive(const TreeIter &rIter, bool bSensitive, int col=-1)=0
virtual void enable_drag_source(rtl::Reference< TransferDataContainer > &rTransferable, sal_uInt8 eDNDConstants)=0
void connect_custom_render(const Link< render_args, void > &rLink)
virtual void all_foreach(const std::function< bool(TreeIter &)> &func)=0
virtual void set_sensitive(int row, bool bSensitive, int col=-1)=0
virtual int get_cursor_index() const =0
virtual void make_unsorted()=0
void append_separator(const OUString &rId)
void signal_custom_render(vcl::RenderContext &rDevice, const tools::Rectangle &rRect, bool bSelected, const OUString &rId)
virtual void remove_selection()=0
virtual int get_selected_index() const =0
virtual void move_subtree(TreeIter &rNode, const TreeIter *pNewParent, int nIndexInNewParent)=0
void select_text(const OUString &rText)
virtual void set_id(const TreeIter &rIter, const OUString &rId)=0
virtual int count_selected_rows() const =0
void connect_custom_get_size(const Link< get_size_args, Size > &rLink)
virtual void columns_autosize()=0
Size signal_custom_get_size(vcl::RenderContext &rDevice, const OUString &rId)
virtual OUString get_selected_id() const =0
virtual OUString get_id(int pos) const =0
void signal_column_clicked(int nColumn)
virtual bool get_sensitive(const TreeIter &rIter, int col) const =0
WaitObject(weld::Widget *pWindow)
virtual bool has_toplevel_focus() const =0
virtual bool is_default_widget(const weld::Widget *pCandidate) const =0
virtual css::uno::Reference< css::awt::XWindow > GetXWindow()=0
virtual void set_centered_on_parent(bool bTrackGeometryRequests)=0
virtual Point get_position() const =0
virtual OUString get_window_state(vcl::WindowDataMask nMask) const =0
virtual tools::Rectangle get_monitor_workarea() const =0
virtual void set_title(const OUString &rTitle)=0
virtual bool get_resizable() const =0
virtual Size get_size() const =0
virtual bool get_modal() const =0
virtual void set_window_state(const OUString &rStr)=0
virtual ScreenShotCollection collect_screenshot_data()=0
virtual OUString get_title() const =0
virtual VclPtr< VirtualDevice > screenshot()=0
virtual void resize_to_request()=0
void connect_help(const Link< Widget &, bool > &rLink)
virtual const vcl::ILibreOfficeKitNotifier * GetLOKNotifier()=0
virtual SystemEnvData get_system_data() const =0
virtual void change_default_widget(weld::Widget *pOld, weld::Widget *pNew)=0
virtual void window_move(int x, int y)=0
virtual void set_modal(bool bModal)=0
Link< Widget &, bool > m_aHelpRequestHdl
std::function< std::unique_ptr< UIObject >(vcl::Window *)> FactoryFunction
#define LINK(Instance, Class, Member)
OUStringBuffer & remove(OUStringBuffer &rIn, sal_Unicode c)
static void append(std::bitset< N > &rSet, size_t const nOffset, sal_uInt32 const nValue)
OutputDevice RenderContext
sal_Int64 ConvertValue(sal_Int64 nValue, sal_Int64 mnBaseValue, sal_uInt16 nDecDigits, FieldUnit eInUnit, FieldUnit eOutUnit)
T fromId(const OUString &rValue)
std::tuple< tools::JsonWriter &, const TreeIter &, std::string_view > json_prop_query
OUString toId(const void *pValue)
std::vector< ScreenShotEntry > ScreenShotCollection
SwNodeOffset min(const SwNodeOffset &a, const SwNodeOffset &b)
const wchar_t *typedef int(__stdcall *DllNativeUnregProc)(int
ComboBoxEntry(OUString _aString, OUString _aId)
ComboBoxEntry(OUString _aString, OUString _aId, OUString _aImage)
ComboBoxEntry(OUString _aString)
css::uno::Reference< css::accessibility::XAccessibleRelationSet > a11yrelationset
css::uno::Reference< css::accessibility::XAccessible > a11yref