Mapper  0.9.0
API documentation
Public Types | Static Public Member Functions | List of all members
OpenOrienteering::Util::InputProperties< RealMeters > Struct Template Reference

Provides information about the type double representing real meters for the purpose of customizing input widgets. More...

#include <util_gui.h>

Public Types

typedef double basetype
 The underlying fundamental type. More...
 

Static Public Member Functions

static constexpr double min () noexcept
 The minimum input value. More...
 
static constexpr double max () noexcept
 The maximum input value. More...
 
static constexpr double step () noexcept
 The spinbox step width. More...
 
static constexpr int decimals () noexcept
 The number of decimals. More...
 
static constexpr bool wrapping () noexcept
 If true, spin box fields are meant to wrap at boundaries. More...
 
static QString unit ()
 The unit of measurement, translated in context UnitOfMeasurement. More...
 

Detailed Description

template<>
struct OpenOrienteering::Util::InputProperties< RealMeters >

Provides information about the type double representing real meters for the purpose of customizing input widgets.

Member Typedef Documentation

◆ basetype

The underlying fundamental type.

Member Function Documentation

◆ decimals()

static constexpr int OpenOrienteering::Util::InputProperties< RealMeters >::decimals ( )
inlinestaticnoexcept

The number of decimals.

◆ max()

static constexpr double OpenOrienteering::Util::InputProperties< RealMeters >::max ( )
inlinestaticnoexcept

The maximum input value.

◆ min()

static constexpr double OpenOrienteering::Util::InputProperties< RealMeters >::min ( )
inlinestaticnoexcept

The minimum input value.

◆ step()

static constexpr double OpenOrienteering::Util::InputProperties< RealMeters >::step ( )
inlinestaticnoexcept

The spinbox step width.

◆ unit()

The unit of measurement, translated in context UnitOfMeasurement.

◆ wrapping()

static constexpr bool OpenOrienteering::Util::InputProperties< RealMeters >::wrapping ( )
inlinestaticnoexcept

If true, spin box fields are meant to wrap at boundaries.


The documentation for this struct was generated from the following files: