| 69 | } |
| 70 | |
| 71 | std::string Slider::convertValueToText(int value) const |
| 72 | { |
| 73 | if (m_delegate) |
| 74 | return m_delegate->onGetTextFromValue(value); |
| 75 | else { |
| 76 | return std::to_string(value); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | int Slider::convertTextToValue(const std::string& text) const |
| 81 | { |
no test coverage detected