diff options
author | Olivier Hallot <olivier.hallot@edx.srv.br> | 2013-09-11 21:34:32 -0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-12 15:51:39 +0000 |
commit | 9e5afc4e1be0ae76af3b66bc981d63b1a93c0a70 (patch) | |
tree | dfabea4efd22065425158a6c77625200779644ac /include/svx/connctrl.hxx | |
parent | 6056965245915d3aeb84e8ccd065133bdf21d806 (diff) |
Convert connector tab page to widget UI
Also:
* Rename dimensionline.ui to dimensionlinetabpage for naming consistency
* Fix connector and measure dialogs for connectors and dimension lines
Change-Id: I921890b33a5f9807a6e12341ef7f374312abfc8b
Reviewed-on: https://gerrit.libreoffice.org/5920
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx/connctrl.hxx')
-rw-r--r-- | include/svx/connctrl.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/svx/connctrl.hxx b/include/svx/connctrl.hxx index a559f615c14c..945746d28a7f 100644 --- a/include/svx/connctrl.hxx +++ b/include/svx/connctrl.hxx @@ -37,22 +37,23 @@ class SVX_DLLPUBLIC SvxXConnectionPreview : public Control friend class SvxConnectionPage; private: - const SfxItemSet& rAttrs; SdrEdgeObj* pEdgeObj; SdrObjList* pObjList; const SdrView* pView; SVX_DLLPRIVATE void SetStyles(); + SVX_DLLPRIVATE void AdaptSize(); public: - SvxXConnectionPreview( Window* pParent, const ResId& rResId, - const SfxItemSet& rInAttrs ); - ~SvxXConnectionPreview(); + SvxXConnectionPreview( Window* pParent, WinBits nStyle); + virtual ~SvxXConnectionPreview(); virtual void Paint( const Rectangle& rRect ); + virtual void Resize(); + virtual Size GetOptimalSize() const; virtual void MouseButtonDown( const MouseEvent& rMEvt ); void SetAttributes( const SfxItemSet& rInAttrs ); - sal_uInt16 GetLineDeltaAnz(); + sal_uInt16 GetLineDeltaAnz(); void Construct(); void SetView( const SdrView* pSdrView ) { pView = pSdrView; } |