summaryrefslogtreecommitdiff
path: root/cui/source/inc/measure.hxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@edx.srv.br>2013-09-08 23:42:24 -0300
committerCaolán McNamara <caolanm@redhat.com>2013-09-09 10:36:32 +0000
commita8dd49b9fc59371ff8edb31082bbd4f1b6179b1c (patch)
tree1179f5a4ca575a4b988eb353fd8d8930a8534e78 /cui/source/inc/measure.hxx
parent8c204276a438c718bd2eed6c59189dcfb24032be (diff)
Convert dimension lines tab page to widget UI
Change-Id: I1d5176609e2acd0d70991a541196e2b9857576f8 Reviewed-on: https://gerrit.libreoffice.org/5879 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc/measure.hxx')
-rw-r--r--cui/source/inc/measure.hxx47
1 files changed, 19 insertions, 28 deletions
diff --git a/cui/source/inc/measure.hxx b/cui/source/inc/measure.hxx
index a05cab446c1a..5a15a6595574 100644
--- a/cui/source/inc/measure.hxx
+++ b/cui/source/inc/measure.hxx
@@ -32,40 +32,30 @@ class SvxMeasurePage : public SvxTabPage
{
private:
- FixedLine aFlLine;
- FixedText aFtLineDist;
- MetricField aMtrFldLineDist;
- FixedText aFtHelplineOverhang;
- MetricField aMtrFldHelplineOverhang;
- FixedText aFtHelplineDist;
- MetricField aMtrFldHelplineDist;
- FixedText aFtHelpline1Len;
- MetricField aMtrFldHelpline1Len;
- FixedText aFtHelpline2Len;
- MetricField aMtrFldHelpline2Len;
- TriStateBox aTsbBelowRefEdge;
- FixedText aFtDecimalPlaces;
- MetricField aMtrFldDecimalPlaces;
-
- FixedLine aFlLabel;
- FixedText aFtPosition;
- SvxRectCtl aCtlPosition;
- TriStateBox aTsbAutoPosV;
- TriStateBox aTsbAutoPosH;
- TriStateBox aTsbShowUnit;
- ListBox aLbUnit;
- TriStateBox aTsbParallel;
-
- SvxXMeasurePreview aCtlPreview;
-
- FixedLine aFlVert;
+ MetricField* m_pMtrFldLineDist;
+ MetricField* m_pMtrFldHelplineOverhang;
+ MetricField* m_pMtrFldHelplineDist;
+ MetricField* m_pMtrFldHelpline1Len;
+ MetricField* m_pMtrFldHelpline2Len;
+ TriStateBox* m_pTsbBelowRefEdge;
+ MetricField* m_pMtrFldDecimalPlaces;
+
+ SvxRectCtl* m_pCtlPosition;
+ TriStateBox* m_pTsbAutoPosV;
+ TriStateBox* m_pTsbAutoPosH;
+ TriStateBox* m_pTsbShowUnit;
+ ListBox* m_pLbUnit;
+ TriStateBox* m_pTsbParallel;
+ FixedText* m_pFtAutomatic;
+
+ SvxXMeasurePreview* m_pCtlPreview;
const SfxItemSet& rOutAttrs;
SfxItemSet aAttrSet;
const SdrView* pView;
SfxMapUnit eUnit;
- sal_Bool bPositionModified;
+ sal_Bool bPositionModified;
void FillUnitLB();
@@ -88,6 +78,7 @@ public:
void Construct();
void SetView( const SdrView* pSdrView ) { pView = pSdrView; }
virtual void PageCreated (SfxAllItemSet aSet);
+
};
/* Derived from SfxNoLayoutSingleTabDialog, in order to be able to be