diff options
author | Manal Alhassoun <malhassoun@kacst.edu.sa> | 2013-06-17 07:38:40 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-19 09:23:28 +0100 |
commit | 0900438214c7f3eeb81a6f5e00978357847bbaef (patch) | |
tree | 210c322365bcd3c9cea20a639680e2e2b95c0e30 /starmath/inc | |
parent | 02da9f7a917ffc68dfe7a44c8d03b272cb5bfc18 (diff) |
fontsizedialog.ui widget
Change-Id: I1c91b4c621c5a2da11cebdd8e58a5e5d0d86bf6c
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/dialog.hxx | 27 | ||||
-rw-r--r-- | starmath/inc/starmath.hrc | 1 |
2 files changed, 9 insertions, 19 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index 6c3586e84521..8c1f74d2db1a 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -121,29 +121,20 @@ public: class SmFontSizeDialog : public ModalDialog { - FixedText aFixedText1; - MetricField aBaseSize; - FixedText aFixedText4; - MetricField aTextSize; - FixedText aFixedText5; - MetricField aIndexSize; - FixedText aFixedText6; - MetricField aFunctionSize; - FixedText aFixedText7; - MetricField aOperatorSize; - FixedText aFixedText8; - MetricField aBorderSize; - FixedLine aFixedLine1; - OKButton aOKButton1; - HelpButton aHelpButton1; - CancelButton aCancelButton1; - PushButton aDefaultButton; + MetricField* m_pBaseSize; + MetricField* m_pTextSize; + MetricField* m_pIndexSize; + MetricField* m_pFunctionSize; + MetricField* m_pOperatorSize; + MetricField* m_pBorderSize; + HelpButton* m_pHelpButton1; + PushButton* m_pDefaultButton; DECL_LINK(DefaultButtonClickHdl, Button *); DECL_LINK(HelpButtonClickHdl, Button *); public: - SmFontSizeDialog(Window *pParent, bool bFreeRes = true); + SmFontSizeDialog(Window *pParent); void ReadFrom(const SmFormat &rFormat); void WriteTo (SmFormat &rFormat) const; diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc index dedc3f3fd547..74aebf6d8852 100644 --- a/starmath/inc/starmath.hrc +++ b/starmath/inc/starmath.hrc @@ -77,7 +77,6 @@ #define RID_FONTDIALOG (RID_APP_START + 2) -#define RID_FONTSIZEDIALOG (RID_APP_START + 3) #define RID_FONTTYPEDIALOG (RID_APP_START + 4) #define RID_SYMDEFINEDIALOG (RID_APP_START + 9) #define RID_PRINTUIOPTIONS (RID_APP_START + 11) |