Base abstract class for editor of quantities, works in coordination with QuantityEditorManager.
More...
#include <qttools/gui/abstract_qantity_editor.h>
Base abstract class for editor of quantities, works in coordination with QuantityEditorManager.
qtgui::AbstractQuantityEditor::AbstractQuantityEditor |
( |
| ) |
|
Construct and auto-attach this editor with QuantityEditorManager::attach()
qtgui::AbstractQuantityEditor::~AbstractQuantityEditor |
( |
| ) |
|
|
virtual |
Destroy and auto-detach this editor with QuantityEditorManager::detach()
QLocale::MeasurementSystem qtgui::AbstractQuantityEditor::measurementSystem |
( |
| ) |
const |
|
protected |
virtual double qtgui::AbstractQuantityEditor::qtyValue |
( |
| ) |
const |
|
pure virtual |
virtual void qtgui::AbstractQuantityEditor::setQtyValue |
( |
double |
v | ) |
|
|
pure virtual |
void qtgui::AbstractQuantityEditor::updateEditor |
( |
QLocale::MeasurementSystem |
newSys | ) |
|
|
virtual |
Called by QuantityEditorManager when the current measurement system was switched to another one
Does nothing by default
The documentation for this class was generated from the following files: