summaryrefslogtreecommitdiff
path: root/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/sidebar/ChartErrorBarPanel.hxx')
-rw-r--r--chart2/source/controller/sidebar/ChartErrorBarPanel.hxx22
1 files changed, 9 insertions, 13 deletions
diff --git a/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx b/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx
index c6e20976f9ae..01125ba0c532 100644
--- a/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx
+++ b/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx
@@ -20,10 +20,6 @@
namespace com { namespace sun { namespace star { namespace util { class XModifyListener; } } } }
-class ListBox;
-class NumericField;
-class Edit;
-
namespace chart {
class ChartController;
@@ -68,14 +64,14 @@ public:
private:
//ui controls
- VclPtr<RadioButton> mpRBPosAndNeg;
- VclPtr<RadioButton> mpRBPos;
- VclPtr<RadioButton> mpRBNeg;
+ std::unique_ptr<weld::RadioButton> mxRBPosAndNeg;
+ std::unique_ptr<weld::RadioButton> mxRBPos;
+ std::unique_ptr<weld::RadioButton> mxRBNeg;
- VclPtr<ListBox> mpLBType;
+ std::unique_ptr<weld::ComboBox> mxLBType;
- VclPtr<NumericField> mpMFPos;
- VclPtr<NumericField> mpMFNeg;
+ std::unique_ptr<weld::SpinButton> mxMFPos;
+ std::unique_ptr<weld::SpinButton> mxMFNeg;
css::uno::Reference<css::frame::XModel> mxModel;
css::uno::Reference<css::util::XModifyListener> mxListener;
@@ -84,9 +80,9 @@ private:
void Initialize();
- DECL_LINK(RadioBtnHdl, RadioButton&, void);
- DECL_LINK(ListBoxHdl, ListBox&, void);
- DECL_LINK(NumericFieldHdl, Edit&, void);
+ DECL_LINK(RadioBtnHdl, weld::ToggleButton&, void);
+ DECL_LINK(ListBoxHdl, weld::ComboBox&, void);
+ DECL_LINK(NumericFieldHdl, weld::SpinButton&, void);
};
} } // end of namespace ::chart::sidebar