48class CustomAnimationList;
49class CustomAnimationListEntryItem;
70 std::unique_ptr<weld::Label> xLabel,
71 std::unique_ptr<weld::Widget> xScrolledWindow);
113 mxTreeView->set_size_request(nWidth, nHeight);
130 std::vector<std::unique_ptr<CustomAnimationListEntryItem>>
mxEntries;
CustomAnimationListDropTarget(CustomAnimationList &rTreeView)
virtual sal_Int8 AcceptDrop(const AcceptDropEvent &rEvt) override
virtual sal_Int8 ExecuteDrop(const ExecuteDropEvent &rEvt) override
CustomAnimationList & m_rTreeView
virtual void notify_change() override
void onSelectionChanged(const css::uno::Any &rSelection)
std::vector< std::unique_ptr< weld::TreeIter > > lastSelectedEntries
DECL_LINK(PostCollapseHdl, void *, void)
void select(const CustomAnimationEffectPtr &pEffect)
selects or deselects the given effect.
std::vector< std::unique_ptr< weld::TreeIter > > mDndEffectsSelected
void ExecuteContextMenuAction(const OUString &rSelectedPopupEntry)
DECL_LINK(CollapseHdl, const weld::TreeIter &, bool)
bool isVisible(const CustomAnimationEffectPtr &pEffect) const
void set_size_request(int nWidth, int nHeight)
DECL_LINK(DoubleClickHdl, weld::TreeView &, bool)
std::unique_ptr< weld::Label > mxEmptyLabel
DECL_LINK(CommandHdl, const CommandEvent &, bool)
sal_Int8 AcceptDrop(const AcceptDropEvent &rEvt)
std::unique_ptr< weld::TreeView > mxTreeView
DECL_LINK(DragBeginHdl, bool &, bool)
DECL_STATIC_LINK(CustomAnimationList, CustomGetSizeHdl, weld::TreeView::get_size_args, Size)
ImplSVEvent * mnPostExpandEvent
std::vector< std::unique_ptr< CustomAnimationListEntryItem > > mxEntries
ImplSVEvent * mnPostCollapseEvent
CustomAnimationListDropTarget maDropTargetHelper
CustomAnimationList(std::unique_ptr< weld::TreeView > xTreeView, std::unique_ptr< weld::Label > xLabel, std::unique_ptr< weld::Widget > xScrolledWindow)
DECL_LINK(KeyInputHdl, const KeyEvent &, bool)
bool isExpanded(const CustomAnimationEffectPtr &pEffect) const
std::unique_ptr< weld::TreeIter > mxLastParentEntry
virtual ~CustomAnimationList()
DECL_LINK(SelectHdl, weld::TreeView &, void)
DECL_LINK(ExpandHdl, const weld::TreeIter &, bool)
int get_height_rows(int nRows)
MainSequencePtr mpMainSequence
void append(CustomAnimationEffectPtr pEffect)
appends the given effect to the list
DECL_STATIC_LINK(CustomAnimationList, CustomRenderHdl, weld::TreeView::render_args, void)
sal_Int8 ExecuteDrop(const ExecuteDropEvent &rEvt)
EffectSequence getSelection() const
std::unique_ptr< weld::TreeIter > mxDndEffectDragging
ICustomAnimationListController * mpController
void setController(ICustomAnimationListController *pController)
weld::TreeView & get_widget()
DECL_LINK(PostExpandHdl, void *, void)
css::uno::Reference< css::drawing::XShape > mxLastTargetShape
void set_sensitive(bool bSensitive)
std::unique_ptr< weld::Widget > mxEmptyLabelParent
int get_approximate_digit_width() const
virtual void onContextMenu(const OUString &rIdent)=0
virtual void onDoubleClick()=0
virtual void onSelect()=0
virtual void onDragNDropComplete(std::vector< CustomAnimationEffectPtr > pEffectsDragged, CustomAnimationEffectPtr pEffectInsertBefore)=0
virtual ~ICustomAnimationListController()
this listener is implemented by UI components to track changes in the animation core
std::tuple< vcl::RenderContext &, const tools::Rectangle &, bool, const OUString & > render_args
std::pair< vcl::RenderContext &, const OUString & > get_size_args
std::list< CustomAnimationEffectPtr > EffectSequence
std::shared_ptr< MainSequence > MainSequencePtr
OUString getShapeDescription(const Reference< XShape > &xShape, bool bWithText)
OUString getPropertyName(sal_Int32 nPropertyType)
std::shared_ptr< CustomAnimationEffect > CustomAnimationEffectPtr