palapeli/libpala
Pala::SimpleGridPropertySet Class Reference
#include <Pala/SlicerPropertySet>
Inheritance diagram for Pala::SimpleGridPropertySet:

Public Member Functions | |
| SimpleGridPropertySet (Pala::Slicer *slicer) | |
| ~SimpleGridPropertySet () | |
| QSize | pieceCount (Pala::SlicerJob *job) const |
Public Member Functions inherited from Pala::SlicerPropertySet | |
| Pala::Slicer * | slicer () const |
Additional Inherited Members | |
Protected Member Functions inherited from Pala::SlicerPropertySet | |
| SlicerPropertySet (Pala::Slicer *slicer) | |
| ~SlicerPropertySet () | |
| void | addPropertyToSlicer (const QByteArray &key, Pala::SlicerProperty *property) |
Detailed Description
This property set can be used for slicers that create pieces which are aligned on a rectangular grid.
The property set gives a piece count in horizontal direction, and one in vertical direction. The total piece count is the product of both one-dimensional piece counts.
- Note
- The user interface of this property set does not use the one-dimensional piece counts. It asks for a total piece count and an aspect (which can be anything from tall to square to wide), and calculates the one-dimensional piece counts from this input.
Definition at line 70 of file slicerpropertyset.h.
Constructor & Destructor Documentation
| Pala::SimpleGridPropertySet::SimpleGridPropertySet | ( | Pala::Slicer * | slicer | ) |
Definition at line 66 of file slicerpropertyset.cpp.
| Pala::SimpleGridPropertySet::~SimpleGridPropertySet | ( | ) |
Definition at line 82 of file slicerpropertyset.cpp.
Member Function Documentation
| QSize Pala::SimpleGridPropertySet::pieceCount | ( | Pala::SlicerJob * | job | ) | const |
Definition at line 87 of file slicerpropertyset.cpp.
The documentation for this class was generated from the following files:
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.
KDE API Reference
Public Member Functions inherited from