summaryrefslogtreecommitdiff
path: root/include/vcl/layout.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-30 12:12:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-30 12:12:36 +0100
commit5718ffbf0e3e68e43f87541ce0368a15de8ec90e (patch)
tree1ca1b8ae7723d80373c2fa25c3d40056256bb619 /include/vcl/layout.hxx
parent83195e2821f24c182098740fb506db215185917f (diff)
Resolves: fdo#67378 merge the label into the disclosure button
Change-Id: I43df94c16a178c90da9c006565390a81c2fda29b
Diffstat (limited to 'include/vcl/layout.hxx')
-rw-r--r--include/vcl/layout.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index bdcbedf48e3d..9c46acd375e3 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -525,6 +525,14 @@ public:
{
m_aDisclosureButton.Check(bExpanded);
}
+ void set_label(const OUString& rLabel)
+ {
+ m_aDisclosureButton.SetText(rLabel);
+ }
+ OUString get_label() const
+ {
+ return m_aDisclosureButton.GetText();
+ }
virtual void StateChanged(StateChangedType nType);
void SetExpandedHdl( const Link& rLink ) { maExpandedHdl = rLink; }
const Link& GetExpandedHdl() const { return maExpandedHdl; }