summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/res_BarGeometry.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/res_BarGeometry.hxx')
-rw-r--r--chart2/source/controller/dialogs/res_BarGeometry.hxx21
1 files changed, 9 insertions, 12 deletions
diff --git a/chart2/source/controller/dialogs/res_BarGeometry.hxx b/chart2/source/controller/dialogs/res_BarGeometry.hxx
index 1edf1a5d1472..e63bf9160ee2 100644
--- a/chart2/source/controller/dialogs/res_BarGeometry.hxx
+++ b/chart2/source/controller/dialogs/res_BarGeometry.hxx
@@ -19,9 +19,7 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_RES_BARGEOMETRY_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_RES_BARGEOMETRY_HXX
-#include <vcl/builder.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/lstbox.hxx>
+#include <vcl/weld.hxx>
namespace chart
{
@@ -29,20 +27,19 @@ namespace chart
class BarGeometryResources
{
public:
- explicit BarGeometryResources(VclBuilderContainer* pParent);
+ explicit BarGeometryResources(weld::Builder* pParent);
- void Show( bool bShow );
- void Enable( bool bEnable );
+ void show( bool bShow );
+ void set_sensitive( bool bEnable );
- sal_Int32 GetSelectedEntryCount() const;
- sal_Int32 GetSelectedEntryPos() const;
- void SelectEntryPos(sal_Int32 nPos);
+ sal_Int32 get_selected_index() const;
+ void select(sal_Int32 nPos);
- void SetSelectHdl( const Link<ListBox&,void>& rLink );
+ void connect_changed(const Link<weld::TreeView&,void>& rLink);
private:
- VclPtr<FixedText> m_pFT_Geometry;
- VclPtr<ListBox> m_pLB_Geometry;
+ std::unique_ptr<weld::Label> m_xFT_Geometry;
+ std::unique_ptr<weld::TreeView> m_xLB_Geometry;
};
} //namespace chart