Perceptual Color
multispinbox.h
202 Q_PROPERTY(QList<double> sectionValues READ sectionValues WRITE setSectionValues NOTIFY sectionValuesChanged USER true)
211 [[nodiscard]] Q_INVOKABLE QList<PerceptualColor::MultiSpinBoxSection> sectionConfigurations() const;
215 Q_INVOKABLE void setSectionConfigurations(const QList<PerceptualColor::MultiSpinBoxSection> &newSectionConfigurations);
The configuration of a single section within a MultiSpinBox.
Definition multispinboxsection.h:38
virtual QSize minimumSizeHint() const override
The recommended minimum size for the widget.
Definition multispinbox.cpp:78
void addActionButton(QAction *action, QLineEdit::ActionPosition position)
Adds to the widget a button associated with the given action.
Definition multispinbox.cpp:284
virtual bool focusNextPrevChild(bool next) override
Focus handling for Tab respectively Shift+Tab.
Definition multispinbox.cpp:644
virtual void focusInEvent(QFocusEvent *event) override
Handles a QEvent::FocusIn.
Definition multispinbox.cpp:711
virtual QAbstractSpinBox::StepEnabled stepEnabled() const override
Virtual function that determines whether stepping up and down is legal at any given time.
Definition multispinbox.cpp:433
void setSectionValues(const QList< double > &newSectionValues)
Setter for sectionValues property.
Definition multispinbox.cpp:605
Q_INVOKABLE QList< PerceptualColor::MultiSpinBoxSection > sectionConfigurations() const
Returns the configuration of all sections.
Definition multispinbox.cpp:502
virtual QSize sizeHint() const override
The recommended size for the widget.
Definition multispinbox.cpp:157
virtual void focusOutEvent(QFocusEvent *event) override
Handles a QEvent::FocusOut.
Definition multispinbox.cpp:679
Q_INVOKABLE void setSectionConfigurations(const QList< PerceptualColor::MultiSpinBoxSection > &newSectionConfigurations)
Sets the configuration for the sections.
Definition multispinbox.cpp:469
virtual void stepBy(int steps) override
Increase or decrease the current section’s value.
Definition multispinbox.cpp:753
void sectionValuesChanged(const QList< double > &newSectionValues)
Notify signal for property sectionValues.
virtual void changeEvent(QEvent *event) override
Handle state changes.
Definition multispinbox.cpp:248
QList< double > sectionValues
A list containing the values of all sections.
Definition multispinbox.h:202
This file provides support for C++ symbol import and export.
#define PERCEPTUALCOLOR_IMPORTEXPORT
A macro that either exports dynamic library symbols or imports dynamic library symbols or does nothin...
Definition importexport.h:154
QAbstractSpinBox(QWidget *parent)
typedef StepEnabled
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:46:43 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:46:43 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.