summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-06 17:32:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-07 18:17:44 +0200
commit0593afe5606b6388a705f3e8b19e427fcbf7555b (patch)
treea3e95f1bedb3fa25a6809da1e5f19203af43d5b8 /include
parentUpdate git submodules (diff)
downloadcore-0593afe5606b6388a705f3e8b19e427fcbf7555b.tar.gz
core-0593afe5606b6388a705f3e8b19e427fcbf7555b.zip
just edit Entry to readonly, instead of a shadow ro widget
Change-Id: I28d6d3cceec5224a6b38bd44ec380974cd3bae12 Reviewed-on: https://gerrit.libreoffice.org/60104 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/mgetempl.hxx3
-rw-r--r--include/vcl/weld.hxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/include/sfx2/mgetempl.hxx b/include/sfx2/mgetempl.hxx
index 238d662c33f5..d63b1a05ed0a 100644
--- a/include/sfx2/mgetempl.hxx
+++ b/include/sfx2/mgetempl.hxx
@@ -49,8 +49,7 @@ class SfxManageStyleSheetPage final : public SfxTabPage
OUString aParent;
SfxStyleSearchBits nFlags;
- std::unique_ptr<weld::TextView> m_xNameRo;
- std::unique_ptr<weld::Entry> m_xNameRw;
+ std::unique_ptr<weld::Entry> m_xName;
std::unique_ptr<weld::CheckButton> m_xAutoCB;
std::unique_ptr<weld::Label> m_xFollowFt;
std::unique_ptr<weld::ComboBoxText> m_xFollowLb;
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 89a4bed797de..6ea83851ef85 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -44,6 +44,7 @@ public:
virtual void set_visible(bool visible) = 0;
virtual bool get_visible() const = 0; //if this widget visibility is true
virtual bool is_visible() const = 0; //if this widget visibility and all parents is true
+ 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;
@@ -492,6 +493,7 @@ public:
virtual bool get_selection_bounds(int& rStartPos, int& rEndPos) = 0;
virtual void set_position(int nCursorPos) = 0;
virtual void set_editable(bool bEditable) = 0;
+ virtual bool get_editable() const = 0;
virtual vcl::Font get_font() = 0;
virtual void set_font(const vcl::Font& rFont) = 0;