diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-17 11:18:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-17 11:44:14 +0000 |
commit | 151cc93f7363d2dd939be790fad7a5a32748eb30 (patch) | |
tree | ad21953d39ee6af04b70797f51d3225afd9be13f /vcl/inc | |
parent | ffe1f48310f9a1dd4b64315bb16c312482b3f287 (diff) |
split out document info page and convert to .ui
move svt::SelectableFixedText to vcl and implement
"selectable" GtkLabels by mapping to that vs
FixedText for standard GtkLabels
Change-Id: Ic114991cd2c2eb6673bcef634fa286dd7c67056f
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/vcl/fixed.hxx | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/vcl/inc/vcl/fixed.hxx b/vcl/inc/vcl/fixed.hxx index c36b63d73ec9..3c2e45ca2e2b 100644 --- a/vcl/inc/vcl/fixed.hxx +++ b/vcl/inc/vcl/fixed.hxx @@ -23,8 +23,9 @@ #include <tools/solar.h> #include <vcl/dllapi.h> #include <vcl/bitmap.hxx> -#include <vcl/image.hxx> #include <vcl/ctrl.hxx> +#include <vcl/edit.hxx> +#include <vcl/image.hxx> class UserDrawEvent; @@ -76,6 +77,18 @@ public: virtual bool set_property(const rtl::OString &rKey, const rtl::OString &rValue); }; +class VCL_DLLPUBLIC SelectableFixedText : public Edit +{ +private: + void Init(); + +public: + SelectableFixedText( Window* pParent, WinBits nStyle = 0 ); + SelectableFixedText( Window* pParent, const ResId& rResId ); + + virtual void LoseFocus(); +}; + // ------------- // - FixedLine - // ------------- |