Mapper  0.9.0
API documentation
Functions
OpenOrienteering::Util::Headline Namespace Reference

Functions

QLabelcreate (const QString &text)
 Creates a QLabel which is styled as a headline. More...
 
QLabelcreate (const char *text_utf8)
 Creates a QLabel which is styled as a headline. More...
 

Function Documentation

◆ create() [1/2]

QLabel * OpenOrienteering::Util::Headline::create ( const QString unit)

Creates a QLabel which is styled as a headline.

This headline is intended for use in dialogs.

Deprecated:
Transitional method.

Creates and initializes a QDoubleSpinBox.

This method allows to initialize the most frequent options of QDoubleSpinBox in a single call, determining the actual properties via InputProperties<T>.

The unit of measurement is taken from the actual parameter. This is meant to support the transition from code where the translation of units still exists in the context of the client code, instead of in the context UnitOfMeasurement.

◆ create() [2/2]

QLabel * OpenOrienteering::Util::Headline::create ( const char *  text_utf8)

Creates a QLabel which is styled as a headline.

This headline is intended for use in dialogs.