42 virtual void dispose()
override;
53 ,
m_xWidget(m_xBuilder->weld_label(
"label"))
62 return ChildKeyInput(rKEvt);
74 const Reference<XComponentContext>& rxContext,
const Reference<XFrame>& rFrame,
102 const css::frame::ControlCommand& rControlCommand)
106 if (rControlCommand.Command !=
"SetText")
109 for (
const NamedValue& rArg : rControlCommand.Arguments)
111 if (rArg.Name ==
"Text")
114 rArg.Value >>= aText;
virtual void dispose() override
void InitControlBase(weld::Widget *pWidget)
static VclPtr< reference_type > Create(Arg &&... arg)
void set_label(const OUString &rLabel)
virtual void dispose() override
DECL_LINK(KeyInputHdl, const ::KeyEvent &, bool)
OUString get_label() const
std::unique_ptr< weld::Label > m_xWidget
FixedTextControl(vcl::Window *pParent)
virtual ~FixedTextControl() override
virtual void SAL_CALL dispose() override
VclPtr< FixedTextControl > m_pFixedTextControl
virtual css::uno::Sequence< css::beans::PropertyValue > getExecuteArgs(sal_Int16 KeyModifier) const override
FixedTextToolbarController(const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &rFrame, ToolBox *pToolBar, ToolBoxItemId nID, const OUString &aCommand)
virtual void executeControlCommand(const css::frame::ControlCommand &rControlCommand) override
#define LINK(Instance, Class, Member)
css::beans::PropertyValue makePropertyValue(const OUString &rName, T &&rValue)
IMPL_LINK(WindowCommandDispatch, impl_notifyCommand, VclWindowEvent &, rEvent, void)