palapeli/libpala
slicerpropertyset.cpp
Go to the documentation of this file.
57 void Pala::SlicerPropertySet::addPropertyToSlicer(const QByteArray& key, Pala::SlicerProperty* property)
void setDefaultValue(const QVariant &value)
Sets the default value of this property.
Definition: slicerproperty.cpp:113
QSize pieceCount(Pala::SlicerJob *job) const
Definition: slicerpropertyset.cpp:87
void setRange(int min, int max)
Limits the user input to the selection of a number inside the given range (including the bounds)...
Definition: slicerproperty.cpp:167
QVariant argument(const QByteArray &key) const
Returns an argument of this job, i.e. the value that the user has chosen for the slicing algorithm's ...
Definition: slicerjob.cpp:54
Representation of a set of configurable parameters of a slicing algorithm.
Definition: slicerpropertyset.h:49
int toInt(bool *ok) const
int width() const
Definition: slicerproperty.h:106
void addPropertyToSlicer(const QByteArray &key, Pala::SlicerProperty *property)
A synonym for Pala::Slicer::addProperty (because the latter is "protected"; this abstract base class ...
Definition: slicerpropertyset.cpp:57
SlicerPropertySet(Pala::Slicer *slicer)
Definition: slicerpropertyset.cpp:41
void setRepresentation(Representation representation)
Decides how the property is represented in the user interface of Palapeli.
Definition: slicerproperty.cpp:173
SimpleGridPropertySet(Pala::Slicer *slicer)
Definition: slicerpropertyset.cpp:66
~SimpleGridPropertySet()
Definition: slicerpropertyset.cpp:82
int height() const
Representation of a single configurable parameter of a slicing algorithm.
Definition: slicerproperty.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.