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

palapeli/libpala

  • sources
  • kde-4.14
  • kdegames
  • palapeli
  • libpala
slicerpropertyset.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright 2009 Stefan Majewsky <majewsky@gmx.net>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  ***************************************************************************/
18 
19 #ifndef LIBPALA_SLICERPROPERTYSET_H
20 #define LIBPALA_SLICERPROPERTYSET_H
21 
22 #if defined(MAKE_LIBPALA) || defined(USE_LOCAL_LIBPALA)
23 # include "libpalamacros.h"
24 #else
25 # include <libpala/libpalamacros.h>
26 #endif
27 
28 class QByteArray;
29 #include <QtCore/QSize>
30 
31 namespace Pala
32 {
33  class Slicer;
34  class SlicerJob;
35  class SlicerProperty;
36 
49  class LIBPALA_EXPORT SlicerPropertySet
50  {
51  public:
52  Pala::Slicer* slicer() const;
53  protected:
54  SlicerPropertySet(Pala::Slicer* slicer);
55  ~SlicerPropertySet();
57  void addPropertyToSlicer(const QByteArray& key, Pala::SlicerProperty* property);
58  private:
59  class Private;
60  Private* const p;
61  };
62 
70  class LIBPALA_EXPORT SimpleGridPropertySet : public Pala::SlicerPropertySet
71  {
72  public:
73  SimpleGridPropertySet(Pala::Slicer* slicer);
74  ~SimpleGridPropertySet();
75 
76  QSize pieceCount(Pala::SlicerJob* job) const;
77  private:
78  class Private;
79  Private* const p;
80  };
81 }
82 
83 #endif // LIBPALA_SLICERPROPERTYSET_H
QByteArray
Pala::SlicerJob
Representation of a single run of a slicing algorithm.
Definition: slicerjob.h:46
Pala::SlicerPropertySet
Representation of a set of configurable parameters of a slicing algorithm.
Definition: slicerpropertyset.h:49
QSize
Pala::Slicer
Representation of a slicing algorithm.
Definition: slicer.h:58
LIBPALA_EXPORT
#define LIBPALA_EXPORT
Definition: libpalamacros.h:28
libpalamacros.h
Pala::SlicerProperty
Representation of a single configurable parameter of a slicing algorithm.
Definition: slicerproperty.h:44
Pala::SimpleGridPropertySet
This property set can be used for slicers that create pieces which are aligned on a rectangular grid...
Definition: slicerpropertyset.h:70
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