|
enum class | PercentageBar : std::uint8_t { Invalid
, Regular
, Symmetric
} |
|
|
| BaseNumberWidget (QWidget *parent=nullptr) |
|
| BaseNumberWidget (const NumberWidgetConfig &config, QWidget *parent=nullptr) |
|
| BaseNumberWidget (const BaseNumberWidget &)=delete |
|
| BaseNumberWidget (BaseNumberWidget &&)=delete |
|
BaseNumberWidget & | operator= (const BaseNumberWidget &)=delete |
|
BaseNumberWidget & | operator= (BaseNumberWidget &&)=delete |
|
virtual QSize | sizeHint () const override |
|
virtual QSize | minimumSizeHint () const override |
|
void | setPrefix (std::string_view prefix) |
|
const QString & | getPrefix () const |
|
void | setPostfix (std::string_view postfix) |
|
const QString & | getPostfix () const |
|
void | setWrapping (bool wrapping) |
|
bool | getWrapping () const |
|
void | setPercentageBarVisibility (bool visible) |
|
bool | getPercentageBarVisibility () const |
|
void | setInteractionMode (NumberWidgetConfig::Interaction mode) |
|
NumberWidgetConfig::Interaction | getInteractionMode () const |
|
void | updateText () |
|
virtual bool | event (QEvent *event) override |
|
|
virtual void | mousePressEvent (QMouseEvent *event) override |
|
virtual void | mouseReleaseEvent (QMouseEvent *event) override |
|
virtual void | mouseMoveEvent (QMouseEvent *event) override |
|
virtual void | paintEvent (QPaintEvent *event) override |
|
virtual void | changeEvent (QEvent *event) override |
|
virtual bool | incrementValue ()=0 |
|
virtual bool | decrementValue ()=0 |
|
virtual bool | applyDragDelta (double deltaSteps)=0 |
|
virtual void | initDragValue ()=0 |
|
virtual bool | valueFromTextValid (const QString &str)=0 |
|
virtual bool | updateValueFromText (const QString &str)=0 |
|
virtual QString | getTextFromValue (bool precise) const =0 |
|
virtual std::tuple< std::optional< double >, PercentageBar > | getPercentageBar () const =0 |
|
The documentation for this class was generated from the following file: