Krita Source Code Documentation
Loading...
Searching...
No Matches
KisShapePropertySlider Class Reference

#include <KisSelectionPropertySlider.h>

+ Inheritance diagram for KisShapePropertySlider:

Public Member Functions

 KisShapePropertySlider (QWidget *parent=nullptr)
 
- Public Member Functions inherited from KisSelectionPropertySlider< KoShape * >
 KisSelectionPropertySlider (QWidget *parent=0)
 
QList< KoShape * > selection () const
 
void setSelection (QList< KoShape * > newSelection)
 
void setValueGetter (qreal(*getter)(KoShape *))
 
- Public Member Functions inherited from KisSelectionPropertySliderBase
 KisSelectionPropertySliderBase (QWidget *parent=0)
 
void setPrefix (const QString &)=delete
 
void setSuffix (const QString &)=delete
 
void setTextTemplates (const QString &normalTemplate, const QString &mixedTemplate)
 
 ~KisSelectionPropertySliderBase () override
 
- Public Member Functions inherited from KisDoubleSliderSpinBox
qreal fastSliderStep () const
 
bool isDragging () const
 
 KisDoubleSliderSpinBox (QWidget *parent=nullptr)
 
QSize minimumSizeHint () const override
 
void setBlockUpdateSignalOnDrag (bool newBlockUpdateSignalOnDrag)
 
void setExponentRatio (qreal newExponentRatio)
 
void setFastSliderStep (qreal newFastSliderStep)
 
void setMaximum (qreal newMaximum, bool computeNewFastSliderStep=true)
 
void setMinimum (qreal newMinimum, bool computeNewFastSliderStep=true)
 
void setRange (qreal newMinimum, qreal newMaximum, int newNumberOfDecimals=0, bool computeNewFastSliderStep=true)
 Set the minimum and the maximum values of the range.
 
void setSoftMaximum (qreal newSoftMaximum)
 
void setSoftMinimum (qreal newSoftMinimum)
 
void setSoftRange (qreal newSoftMinimum, qreal newSoftMaximum)
 
void setValue (qreal newValue)
 
QSize sizeHint () const override
 
qreal softMaximum () const
 
qreal softMinimum () const
 
 ~KisDoubleSliderSpinBox () override
 
- Public Member Functions inherited from KisDoubleParseSpinBox
bool isLastValid () const
 Get if the last expression entered is a valid one.
 
 KisDoubleParseSpinBox (QWidget *parent=0)
 
void setValue (double value, bool overwriteExpression=false)
 Set the value of the spinbox.
 
void stepBy (int steps) override
 This is a reimplementation of QDoubleSpinBox::stepBy that uses setValue.
 
virtual QString veryCleanText () const
 This virtual function is similar to cleanText(). But child classes may reimplement it to further process ("clean up") the expression.
 
 ~KisDoubleParseSpinBox () override
 

Additional Inherited Members

- Signals inherited from KisDoubleSliderSpinBox
void draggingFinished ()
 
- Signals inherited from KisDoubleParseSpinBox
void errorWhileParsing (const QString &expr) const
 signal emitted when the last parsed expression is not valid.
 
void noMoreParsingError () const
 signal emitted when the last parsed expression is valid and the expression before was not valid.
 
- Protected Member Functions inherited from KisSelectionPropertySlider< KoShape * >
qreal getCommonValue () const override
 
bool hasSelection () const override
 
- Protected Member Functions inherited from KisSelectionPropertySliderBase
void setInternalValue (qreal value, bool blockUpdateSignal) override
 
void setSelectionValue (qreal commonValue, bool mixed)
 
- Protected Member Functions inherited from KisDoubleSliderSpinBox
void setPrivateValue (qreal newValue)
 
- Protected Member Functions inherited from KisDoubleParseSpinBox
QString textFromValue (double value) const override
 
QValidator::State validate (QString &input, int &pos) const override
 
double valueFromText (const QString &text) const override
 

Detailed Description

Definition at line 137 of file KisSelectionPropertySlider.h.

Constructor & Destructor Documentation

◆ KisShapePropertySlider()

KisShapePropertySlider::KisShapePropertySlider ( QWidget * parent = nullptr)

The documentation for this class was generated from the following files: