Lines Matching defs:ScalarUnit
25 ScalarUnit::ScalarUnit(Glib::ustring const &label, Glib::ustring const &tooltip,
44 .connect_notify(sigc::mem_fun(*this, &ScalarUnit::on_unit_changed));
51 ScalarUnit::ScalarUnit(Glib::ustring const &label, Glib::ustring const &tooltip,
52 ScalarUnit &take_unitmenu,
63 .connect_notify(sigc::mem_fun(*this, &ScalarUnit::on_unit_changed));
71 void ScalarUnit::initScalar(double min_value, double max_value)
80 bool ScalarUnit::setUnit(Glib::ustring const &unit)
91 void ScalarUnit::setUnitType(UnitType unit_type)
98 void ScalarUnit::resetUnitType(UnitType unit_type)
105 Unit const * ScalarUnit::getUnit() const
111 UnitType ScalarUnit::getUnitType() const
117 void ScalarUnit::setValue(double number, Glib::ustring const &units)
124 void ScalarUnit::setValueKeepUnit(double number, Glib::ustring const &units)
136 void ScalarUnit::setValue(double number)
141 double ScalarUnit::getValue(Glib::ustring const &unit_name) const
153 void ScalarUnit::grabFocusAndSelectEntry()
160 void ScalarUnit::setHundredPercent(double number)
165 void ScalarUnit::setAbsoluteIsIncrement(bool value)
170 void ScalarUnit::setPercentageIsIncrement(bool value)
175 double ScalarUnit::PercentageToAbsolute(double value)
189 double ScalarUnit::AbsoluteToPercentage(double value)
210 double ScalarUnit::getAsPercentage()
217 void ScalarUnit::setFromPercentage(double value)
224 void ScalarUnit::on_unit_changed()