42 template <
typename EditorW
idget>
47 iEditorWidget{
std::make_shared<EditorWidget>(aParent) } {
init(); }
55 return *iEditorWidget;
59 return *iEditorWidget;
69 std::shared_ptr<i_widget> iEditorWidget;
81 return static_cast<neogfx::text_edit&
>(*iEditorWidget);
const line_edit & text_box() const
virtual bool has_text_edit() const =0
virtual const i_widget & as_widget() const =0
virtual ~i_item_editor()=default
virtual i_widget & as_widget()=0
virtual text_edit & text_edit() const =0
item_editor(EditorWidget &aEditorWidget)
neogfx::text_edit & text_edit() const override
bool has_text_edit() const override
i_widget & as_widget() override
item_editor(item_view &aParent)
const i_widget & as_widget() const override
item_editor(std::shared_ptr< EditorWidget > aEditorWidget)