• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

palapeli/libpala

  • Pala
  • SimpleGridPropertySet
Public Member Functions | List of all members
Pala::SimpleGridPropertySet Class Reference

#include <Pala/SlicerPropertySet>

Inheritance diagram for Pala::SimpleGridPropertySet:
Inheritance graph
[legend]

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:
  • slicerpropertyset.h
  • slicerpropertyset.cpp
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

KDE's Doxygen guidelines are available online.

palapeli/libpala

Skip menu "palapeli/libpala"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal