Skip To Content ArcGIS for Developers Sign In Dashboard

PopupFieldFormat Class

(Esri::ArcGISRuntime::PopupFieldFormat)

The formatting of a field when used in a Popup. More...

Header: #include <PopupFieldFormat>
Since: Esri::ArcGISRuntime 100.0
Inherits: Object

Public Functions

PopupFieldFormat(QObject *parent = nullptr)
~PopupFieldFormat()
int decimalPlaces() const
bool isUseThousandsSeparator() const
PopupDateFormat popupDateFormat() const
void setDecimalPlaces(int decimalPlaces)
void setPopupDateFormat(PopupDateFormat popupDateFormat)
void setUseThousandsSeparator(bool useThousandsSeparator)
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

The formatting of a field when used in a Popup.

Applies only to fields of type date or number (float, double, integer). Use the PopupManager::fieldType method to determine the field type.

Member Function Documentation

PopupFieldFormat::PopupFieldFormat(QObject *parent = nullptr)

Default constructor that takes an optional parent.

PopupFieldFormat::~PopupFieldFormat()

Destructor.

int PopupFieldFormat::decimalPlaces() const

Returns the number of decimal places that should appear for displaying a numerical field in a Popup.

See also setDecimalPlaces().

bool PopupFieldFormat::isUseThousandsSeparator() const

Returns whether a numerical field will use the thousands (or digit) separator when the field is displayed in a Popup.

PopupDateFormat PopupFieldFormat::popupDateFormat() const

Returns the format used to display a date field in a Popup.

See also setPopupDateFormat().

void PopupFieldFormat::setDecimalPlaces(int decimalPlaces)

Sets the number of supported decimalPlaces that should appear for displaying a numerical field in a Popup.

See also decimalPlaces().

void PopupFieldFormat::setPopupDateFormat(PopupDateFormat popupDateFormat)

Sets the popupDateFormat used to display a date field in a Popup.

See also popupDateFormat().

void PopupFieldFormat::setUseThousandsSeparator(bool useThousandsSeparator)

Sets whether a numerical field may useThousandsSeparator when the field is displayed in a Popup.

See also isUseThousandsSeparator().


Feedback on this topic?