1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #ifndef INCLUDED_VCL_UITEST_METRICFIELDUIOBJECT_HXX
11 #define INCLUDED_VCL_UITEST_METRICFIELDUIOBJECT_HXX
13 #include <vcl/uitest/uiobject.hxx>
17 class MetricFieldUIObject final
: public SpinFieldUIObject
19 VclPtr
<MetricField
> mxMetricField
;
22 MetricFieldUIObject(const VclPtr
<MetricField
>& xEdit
);
23 virtual ~MetricFieldUIObject() override
;
25 virtual void execute(const OUString
& rAction
, const StringMap
& rParameters
) override
;
27 virtual StringMap
get_state() override
;
29 static std::unique_ptr
<UIObject
> create(vcl::Window
* pWindow
);
32 virtual OUString
get_name() const override
;
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */